猿问

在侧滑菜单这一节,Android studio 开发环境需要修改一些什么?

Information:Gradle tasks [:app:assembleDebug]

:app:preBuild

:app:compileDebugNdk UP-TO-DATE

:app:preDebugBuild

:app:checkDebugManifest

:app:prepareDebugDependencies

:app:compileDebugAidl UP-TO-DATE

:app:compileDebugRenderscript UP-TO-DATE

:app:generateDebugBuildConfig UP-TO-DATE

:app:generateDebugAssets UP-TO-DATE

:app:mergeDebugAssets UP-TO-DATE

:app:generateDebugResValues UP-TO-DATE

:app:generateDebugResources UP-TO-DATE

:app:mergeDebugResources

libpng error: Not a PNG file

Error:Failed to run command:

E:\androidSDK\sdk\build-tools\19.1.0\aapt.exe s -i E:\androidworkspace\MyLove\app\src\main\res\drawable-hdpi\background.png -o E:\androidworkspace\MyLove\app\build\intermediates\res\debug\drawable-hdpi-v4\background.png

Error Code:

42

Output:

libpng error: Not a PNG file

:app:mergeDebugResources FAILED

Error:Execution failed for task ':app:mergeDebugResources'.

> Error: Failed to run command:

E:\androidSDK\sdk\build-tools\19.1.0\aapt.exe s -i E:\androidworkspace\MyLove\app\src\main\res\drawable-hdpi\background.png -o E:\androidworkspace\MyLove\app\build\intermediates\res\debug\drawable-hdpi-v4\background.png

Error Code:

42

Output:

libpng error: Not a PNG file

Information:BUILD FAILED

Information:Total time: 1.934 secs

Information:2 errors

Information:0 warnings

Information:See complete output in console


慕粉1555543489
浏览 1379回答 3
3回答

captions

开发环境?

alionSSS

错误信息:drawable-hdpi\background.png这里的图片不存在
随时随地看视频慕课网APP

相关分类

Android
我要回答