9 patch image-verhindern build-Projekt mit android studio

Ich bin bewegt, um Gradle bauen . aber ich habe diesen Fehler für eine Vielzahl von 9-patch Bilder .

Hinweis: die drawable wird automatisch generiert http://android-holo-colors.com
aber Sie sind alt.

Bin ich mit android studio 0.5.1
und mein build tool version 19.0.3
dies ist der Fehler,

Error:Execution failed for task ':app:mergeDebugResources'.
> Error: Failed to run command:
    /Applications/Android Studio.app/sdk/build-tools/19.0.3/aapt s -i /Users/Ed/Desktop/TestAndroid/app/src/main/res/drawable-mdpi/spinner_default_holo_dark.9.png -o /Users/Ed/Desktop/TestAndroid/app/build/res/all/debug/drawable-mdpi/spinner_default_holo_dark.9.png
  Error Code:
    42
  Output:
    ERROR: 9-patch image /Users/Ed/Desktop/TestAndroid/app/src/main/res/drawable-mdpi/spinner_default_holo_dark.9.png malformed.
           Frame pixels must be either solid or transparent (not intermediate alphas).
           Found at pixel #3 along top edge.
    /Users/Ed/Desktop/TestAndroid/app/src/main/res/drawable-hdpi/cab_background_bottom_test.9.png
    Error:Ticks in transparent frame must be black or red. - ERROR: 9-patch image /Users/Ed/Desktop/TestAndroid/app/src/main/res/drawable-mdpi/spinner_default_holo_dark.9.png malformed.

Jemand vor dem gleichen problem.

InformationsquelleAutor user4o01 | 2014-03-10
Schreibe einen Kommentar