在Android Studio Canary出现了编辑bug - AndroidManifest.xml:2 attribute ‘android:versionCode’ not found
解决方案 -:
- Clean Project
- Build Project
- Reload Android Studio
解决方案二 : 关闭掉Install Run
- 打开settings
- 搜索run
- 将右边复选框取消
4. 点击 Apply
5. 点击 Ok
对于,方案一虽然会解决,但是以后还会复发。方案二最有效,可以保证以后不复发,但是每次都会编译项目,会导致运行时间过长。
希望Google尽快解决这个bug,好烦~~~~
本文提供两种解决Android Studio Canary版中出现的AndroidManifest.xml编辑bug的方法。第一种为清理并重建项目;第二种则是通过调整设置避免bug再次发生,但可能增加编译时间。
8771





