Information:Gradle tasks [:ImageSwitcherTest:assembleDebug]
Error:C:\Users\XK\AndroidStudioProjects\MyApplication\ImageSwitcherTest\build\intermediates\instant-run-support\debug\slice_7\AndroidManifest.xml:2 attribute 'android:versionCode' not found
Error:failed processing manifest
Error:C:\Users\XK\AndroidStudioProjects\MyApplication\ImageSwitcherTest\build\intermediates\instant-run-support\debug\slice_6\AndroidManifest.xml:2 attribute 'android:versionCode' not found
Error:failed processing manifest
Error:C:\Users\XK\AndroidStudioProjects\MyApplication\ImageSwitcherTest\build\intermediates\instant-run-support\debug\slice_5\AndroidManifest.xml:2 attribute 'android:versionCode' not found
Error:failed processing manifest
Error:Execution failed for task ':ImageSwitcherTest:transformDexWithInstantRunSlicesApkForDebug'.
> java.lang.RuntimeException: com.android.ide.common.process.ProcessException: Failed to execute aapt
Information:BUILD FAILED in 16s
Information:7 errors
Information:0 warnings
Information:See complete output in console
请问这是怎么回事,谢谢!
android:versionCode,在AndroidManifest.xml里面配置
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。