在 android studio canary -2 中找不到版本代码

Ish*_*ani 3 android version manifest

当即时运行应用时,我在 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
Run Code Online (Sandbox Code Playgroud)

小智 5

禁用即时运行。里面File -> Settings -> Build, Execution, Deployment。这将允许您在 Canary 版本中运行您的应用程序。