ionic build android failure - Ausführung fehlgeschlagen für Task processDebugResources

Ich bin mit Mac Yosemite. Immer der folgende Fehler auf, läuft ein build für android-Plattform :

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processDebugResources'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
    /Users/sairamk/Development/android-sdk-macosx/build-tools/22.0.1/aapt package -f --no-crunch -I /Users/sairamk/Development/android-sdk-macosx/platforms/android-22/android.jar -M /Users/sairamk/projects/dummy_app/platforms/android/build/intermediates/manifests/full/debug/AndroidManifest.xml -S /Users/sairamk/projects/dummy_app/platforms/android/build/intermediates/res/debug -A /Users/sairamk/projects/dummy_app/platforms/android/build/intermediates/assets/debug -m -J /Users/sairamk/projects/dummy_app/platforms/android/build/generated/source/r/debug -F /Users/sairamk/projects/dummy_app/platforms/android/build/intermediates/res/resources-debug.ap_ --debug-mode --custom-package com.ionicframework.bcgsandbox553389 -0 apk --output-text-symbols /Users/sairamk/projects/dummy_app/platforms/android/build/intermediates/symbols/debug
  Error Code:
    1
  Output:
    /Users/sairamk/projects/dummy_app/platforms/android/build/intermediates/res/debug/xml/config.xml:59: error: Error parsing XML: unbound prefix

Build läuft perfekt für IOS. Habe ich installiert android SDK und konfiguriert ANDROID_HOME und ANDROID_SDK_ROOT system-Variablen.

Auch versucht haben, entfernen die Plattform und das hinzufügen es wieder eine saubere Plattform Ordner mit :

ionic platform remove android
ionic platform add android

Aber nicht gut.

Android SDK build-tool-Versionen, die ich installiert habe - 19.1,20,21.1.2 und 22.0.1

AndroidManifest.xml Vorlieben :

 <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="22" />

InformationsquelleAutor der Frage Sairam Krish | 2015-06-04

Schreibe einen Kommentar