crazycodeboy / react-native-splash-screen

A splash screen for react-native, hide when application loaded ,it works on iOS and Android.
MIT License
5.6k stars 1.09k forks source link

AAPT2 aapt2-3.2.1-4818971-windows Daemon #0 #356

Open aliberatcetin opened 5 years ago

aliberatcetin commented 5 years ago

I am using react-native-splash-screen the way that documentation suggests. There is not an error while using react-native run-android command. It works perfectly. But while generating signed apk i am getting errors. I am sure that i am signing the apk in the right way. I tried signing a default project its fine. After i installed react-native-splash-screen it start to fail. adsiz

tominou commented 5 years ago

I have the exact same issue on Ubuntu 18.10, React-native 0.58.3

aliberatcetin commented 5 years ago

@tominou i solved by changing the buildtoolsversion of package. Package build.gradle and app build.gradle buildtoolsversion should be same. But i dont know whether its right. It just works. This can be close now.

engineerahkhani commented 5 years ago

i have same error please open this issue for more solutions

mahipalsingh7 commented 5 years ago

Try this solution: https://stackoverflow.com/a/55245362/6898523

rahulsapkal7 commented 5 years ago

I am also facing the same issue on MacBook. while using react-native run-android command. It works perfectly. But while generating signed APK I am getting errors. Please suggest me the solution as soon as possible. Thanks in advanced.

mahipalsingh7 commented 5 years ago

I am also facing the same issue on MacBook. while using react-native run-android command. It works perfectly. But while generating signed APK I am getting errors. Please suggest me the solution as soon as possible. Thanks in advanced.

try to delete index.android.bundle and re-create it and run again react-native run-android with release command

i have updated my answer on link may help you