PhoneGap Build failed after adding key

0
I have been able to build my Mobile app in the past, but to publish in in the Google app store, it needs to be sign with a key. I have create this key according the documentation and added it in the PhoneGap portal. While building the app, it failed. See log below: :app:mergeArmv7ReleaseResources/var/gimlet/tmp/47287918653760/2904488/app/src/main/res/mipmap-mdpi/icon.png: error: failed to read PNG signature: file does not start with PNG signature. /var/gimlet/tmp/47287918653760/2904488/app/src/main/res/mipmap-xxhdpi/icon.png: error: failed to read PNG signature: file does not start with PNG signature. /var/gimlet/tmp/47287918653760/2904488/app/src/main/res/mipmap-xxxhdpi/icon.png: error: failed to read PNG signature: file does not start with PNG signature. /var/gimlet/tmp/47287918653760/2904488/app/src/main/res/mipmap-hdpi/icon.png: error: failed to read PNG signature: file does not start with PNG signature. /var/gimlet/tmp/47287918653760/2904488/app/src/main/res/mipmap-xhdpi/icon.png: error: failed to read PNG signature: file does not start with PNG signature. /var/gimlet/tmp/47287918653760/2904488/app/src/main/res/mipmap-ldpi/icon.png: error: failed to read PNG signature: file does not start with PNG signature. Error: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details :app:mergeArmv7ReleaseResources FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:mergeArmv7ReleaseResources'. > Error: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details I assume that the graphics also needs to be signed with the same key. Can anybody tell me how to do this? Regards, Peter
asked
0 answers