when instant run apply i am getting 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
解决方法:
禁用即时运行.内部文件 – >设置 – >构建,执行,部署.这将允许您在Canary版本中运行您的应用程序.