Android(安卓)Studio bug - attribute 'android:versionCode' not found
16lz
2021-12-04
在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,好烦~~~~
更多相关文章
- mybatisplus的坑 insert标签insert into select无参数问题的解决
- Android(安卓)SDK Manager无法更新的解决
- android解决坚屏拍照和保存图片旋转90度的问题,并兼容4.0
- Android,LIstView中的OnItemClick点击无效的解决办法
- Android获取设备唯一标识完美解决方案
- flutter-使用第三方库,编译和运行版本不一致问题 2
- 解决Android(安卓)Studio和Android(安卓)SDK Manager无法在线更
- Android解决父控件拦截子控件手势滑动事件的问题
- AndroidStudio使用ViewPagerIndicator