Version code not found in android studio canary -2

when instant start is applied i get the following in android studio 3.0 canary-2

Error:E:\PublicServer_Share\Extra\app\build\intermediates\instant-run
support\debug\slice_2\AndroidManifest.xml:2 attribute 'android:versionCode' 
not found
Error:failed processing manifest
Error:E:\PublicServer_Share\Extra\app\build\intermediates\instant-run-
support\debug\slice_9\AndroidManifest.xml:2 attribute 'android:versionCode' 
not found
Error:failed processing manifest
Error:Execution failed for task 
':app:transformDexWithInstantRunSlicesApkForDebug'.
com.android.ide.common.process.ProcessException: Failed to execute aapt

      

+3


source to share


2 answers


Disable instant launch. Inside File -> Settings -> Build, Execution, Deployment

. This will allow you to run the application in the Canary version.



+3


source


Run Gradle -> Clean Up and Try Again



+1


source







All Articles