Generate signed APK - Android Failed to execute aapt

后端 未结 2 1955
感动是毒
感动是毒 2020-12-21 02:07

I m trying to generate a signed APK for android with react-native. If the debug\'s build works well, when I try to launch the ./gradlew assembleRelease to creat

2条回答
  •  一整个雨季
    2020-12-21 02:35

    For me disabling aapt2 wasn't enough. What did work was going to android/app/src/main/res and looking in all the drawable folders for png files other than the launch_screen.png. Once I deleted all these files, the problem was solved.

提交回复
热议问题