Generate signed APK - Android Failed to execute aapt

后端 未结 2 1730
伪装坚强ぢ
伪装坚强ぢ 2020-12-21 01:34

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:37

    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.

提交回复
热议问题