猿问

在运行Android的例子时总会出现这样的问题

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

qq_永恒的微笑_03947565
浏览 12467回答 1
1回答

习惯受伤

看错误:AndroidManifest.xml attribute 'android:versionCode' not found 这个属性未找到
随时随地看视频慕课网APP

相关分类

Android
我要回答