The previous Eclipse project was imported into Android studio, and a bunch of errors occurred in the build project.
As follows:
1 AAPT err (facade for 1944774242): Error:9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\call_ Locate_blue.9.png Malformed.2 AAPT err (facade for 1944774242): Frame pixels must is either solid or transparent (not intermediate alphas). 3 AAPT err (facade for 1944774242): Found at pixel #31 along top edge.4 AAPT err (facade for 1944774242): Error:9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\call_ Locate_orange.9.png Malformed.5 AAPT err (facade for 1944774242): Frame pixels must is either solid or transparent (not intermediate alphas). 6 AAPT err (facade for 1944774242): Found at pixel #31 along top edge.7 AAPT err (facade for 867322671): Error:9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\call_ Locate_white.9.png Malformed.8 AAPT err (facade for 867322671): Frame pixels must is either solid or transparent (not intermediate alphas). 9 AAPT err (facade for 867322671): Found at pixel #31 along top edge.Ten AAPT err (facade for 867322671): Error:9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\call_ Locate_gray.9.png Malformed. One AAPT err (facade for 867322671): Frame pixels must is either solid or transparent (not intermediate alphas). A AAPT err (facade for 867322671): Found at pixel #31 along top edge. - AAPT err (facade for 2079374597): Error:9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\call_ Locate_green.9.png Malformed. - AAPT err (facade for 2079374597): Frame pixels must is either solid or transparent (not intermediate alphas). the AAPT err (facade for 2079374597): Found at pixel #31 along top edge. - AAPT err (facade for 2079374597): Error:9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\btn_ Green_normal.9.png Malformed. - AAPT err (facade for 2079374597): Frame pixels must is either solid or transparent (not intermediate alphas). - AAPT err (facade for 2079374597): Found at pixel #4 along top edge. + AAPT err (facade for 2079374597): Error:9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\btn_ Green_pressed.9.png Malformed. - AAPT err (facade for 2079374597): Frame pixels must is either solid or transparent (not intermediate alphas). + AAPT err (facade for 2079374597): Found at pixel #3 along top edge. A AAPT err (facade for 95357972): D:\workspace_training\mobilesafe\res\drawable-hdpi\launcher_bg.png:libpng Warning:iCCP:Not Recognizing known SRGB profile it has been edited at - FAILED - - Failure:build failed with an exception. - - * What went wrong: in execution failed for task ': Mergedebugresources '. - > Some file crunching failed, see logs for details to + * Try: - Run with--STACKTRACE option to get the stack trace. Run with--info or--debug option to get more log output. the *BUILD FAILED
And also:
1 AAPT err (facade for 1104684076): Error:9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\call_ Locate_blue.9.png Malformed. 2 AAPT err (facade for 1104684076): Can ' t has more than than one marked region along edge. 3 AAPT err (facade for 1104684076): Found at Pixel #27 along right edge. 4 error:execution failed for task ': Mergedebugresources '.
And also:
1 aapt err (facade for 2056444966): D:\workspace_training\MobileSafe\res\drawable-hdpi\launcher_bg.png: Libpng Warning:iCCP:Not Recognizing known SRGB profile it has been edited
And also:
1 AAPT err (facade for 1944774242): Error:9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\call_ Locate_blue.9.png Malformed. 2 3 4 AAPT err (facade for 1077057583): No marked region found along edge. 5 6 aapt err (facade for 48998001): Can ' t has more than one marked region along edge.
These problems are caused by the picture problem in drawable: 9 The diagram needs to be done again.
Production. 9 Figure reference: http://blog.csdn.net/pugongying1988/article/details/6938972
Android studio:libpng Warning:iCCP:Not Recognizing known SRGB profile it has been edited solution