2016-09-05 2 views
0

내 응용 프로그램을 다시 빌드하면 ": mergeReleaseResources FAILED"오류가 발생합니다.Adobe PhoneGap Build

해결해 주시겠습니까? 나는 그것이 파일을 splash.png 할 예정이다하지만 존재하지 않는 생각

...

페인트와 오류 로그 파일의 일부 아래

:mergeReleaseResourcesAAPT err(Facade for 1183437625) : No Delegate set : lost message:libpng error: Not a PNG file 
AAPT: libpng error: Not a PNG file 
AAPT: libpng error: Not a PNG file 
AAPT: libpng error: Not a PNG file 
:mergeReleaseResources FAILED 
FAILURE: Build failed with an exception. 
* What went wrong: 
Execution failed for task ':mergeReleaseResources'. 
> Crunching Cruncher splash.png failed, see logs 
* Try: 
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. 
BUILD FAILED 
Total time: 1.562 secs 
Error: /project/gradlew: Command failed with exit code 1 Error output: 
Note: Some input files use or override a deprecated API. 
Note: Recompile with -Xlint:deprecation for details. 
AAPT err(Facade for 1183437625) : No Delegate set : lost message:libpng error: Not a PNG file 
FAILURE: Build failed with an exception. 
* What went wrong: 
Execution failed for task ':mergeReleaseResources'. 
> Crunching Cruncher splash.png failed, see logs 
* Try: 
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. 
    at ChildProcess.whenDone (/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23) 
    at emitTwo (events.js:87:13) 
    at ChildProcess.emit (events.js:172:7) 
    at maybeClose (internal/child_process.js:818:16) 
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) 
+1

파일을 넣은 후 시도해 보셨습니까? –

+0

그 파일 –

+2

에 일부 png 이미지의 동일한 이름의 파일을 만들지 않았습니다. 시도해보십시오 –

답변

0

열려있는 모든 자원 이미지를 참조 png로 "다른 이름으로 저장"하십시오.

아마도 하나 이상의 이미지가 png로 "다른 이름으로 저장"을 시도하지 않을 것이지만 bmp 또는 jpg와 같이 손상된 이미지입니다. PNG로 모두 저장하십시오!

이전에 데이터 파일 안에 jpeg로 저장 한 것이 잘못되었지만 png로 파일 확장명으로 호출되었습니다.

그것은 나를 위해 일했습니다. 다음에 봐.

관련 문제