0
我創建了一個應用程序,首先構建的是IOS。所以今天我的應用程序在iOS設備上運行良好,目前在應用程序商店中。錯誤 - aapt完成非零退出值1 android IONIC
昨天我試圖建立我的Android應用程序,我得到這個錯誤:
:processDebugManifest UP-TO-DATE
:processDebugResources/Users/OrcusZ/Documents/Ionic/NiceJob/NiceJob/platforms/android/res/xml/config.xml:29:49-50 : AAPT: Color value not valid -- must be #rgb, #argb, #rrggbb, or #aarrggbb (at 'href' with value '#').
FAILED
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 '/Users/OrcusZ/Library/Developer/Xamarin/android-sdk-macosx/build-tools/23.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.
BUILD FAILED
我發現了一些主題在谷歌,但沒有一個解決我的問題。如果有人有一個解決方案:)
感謝
正如你提到的,這種情況是針對Android ,這是gradle相關的問題。清理並重建項目。另請嘗試刪除並再次添加平臺。檢查此鏈接 - http://stackoverflow.com/questions/32873281/how-to-fix-23-0-1-aapt-exe-finished-with-non-zero-exit-value-1 – Gandhi
我已經嘗試刪除和添加平臺,但沒有任何改變,而且,我不知道如何清理離子安卓項目。 – OrcusZ
dint在離子方面有很多的曝光,因爲我通常使用香草科爾多瓦。將檢查並取回 – Gandhi