我試圖運行此命令構建Android命令:錯誤在離子2
ionic run android
,我得到這個錯誤:
:processDebugManifest UP-TO-DATE :processDebugResources /home/ubuntu/workspace/WriteNow/platforms/android/res/xml/config.xml:57: AAPT: Error parsing XML: unbound prefix
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':processDebugResources'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/jdk/android-sdk-linux/build-tools/24.0.2/aapt'' finished with non-zero exit value 1 Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
FAILED
BUILD FAILED
Total time: 3.261 secs
Error: /home/ubuntu/workspace/WriteNow/platforms/android/gradlew: Command failed with exit code 1 Error output: /home/ubuntu/workspace/WriteNow/platforms/android/res/xml/config.xml:57: AAPT: Error parsing XML: unbound prefix
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':processDebugResources'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/jdk/android-sdk-linux/build-tools/24.0.2/aapt'' finished with non-zero exit value 1 Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
問題是什麼?
感謝
您能否包含您的'config.xml'文件的內容? – sebaferreras