react-native-splash-screen
react-native-splash-screen copied to clipboard
java.lang.StackOverflowError (no error message)
Run react-native info
in your project and share the content.
What react-native-splash-screen
version are you using?
What platform does your issue occur on? (Android/iOS/Both)
Describe your issue as precisely as possible :
- Steps to reproduce the issue or to explain in which case you get the issue
- Interesting
logs
Join a screenshot or video of the problem on the simulator or device?
Show us the code you are using?
same issue for me
same here, any solution?
Anyhelp
same issue for me, any solution?
Same here
Guys I fix like that
android\gradle.properties
org.gradle.jvmargs=-Xmx2048m -Xms2048m -XX:MaxMetaspaceSize=1024m -XX:ThreadStackSize=4096 -XX:CompilerThreadStackSize=4096
Then clean gradle and rebuild pls.
https://stackoverflow.com/a/71796288/20358783
@myagizmaktav unfortunately did not help. Also after cleaning gradle with ./gradlew clean
@myagizmaktav unfortunately did not help. Also after cleaning gradle with
./gradlew clean
@challenge-me-237 Make your pc ram empty on this build time. And start react native with --reset-cache flag.
I had the same problem, but the java version was the cause. first check if the java version is 11 using 'java -version' in terminal. (I'm sorry if I spoke awkwardly because I'm not good at English)
same issue. it's my first time developing on react-native. and i got this problem. If there is any good solutions, please tag me
I found out that this problem also happens when I'm running more than one server. There is a conflict with the previous server.
- restart your pc or using npm start --reset-cache will solve most of the problems.
- wipe data in android studio virtual device option.
I'm sorry if I answered strangely because I'm not good at English.
Guys I fix like that
android\gradle.properties
org.gradle.jvmargs=-Xmx2048m -Xms2048m -XX:MaxMetaspaceSize=1024m -XX:ThreadStackSize=4096 -XX:CompilerThreadStackSize=4096
Then clean gradle and rebuild pls.
https://stackoverflow.com/a/71796288/20358783
Sometimes your computer or your virtual device's ram is not enough on building for this reason this error is given.
if you use virtual devices improve ram to device on settings.
Secondly,
I enter ca
script to package.json
"ca": "cd android && ./gradlew clean && ./gradlew --stop && npm cache clean --force && cd .. && yarn start --reset-cache",
When I take this error I start this script.
And restart again.
@myagizmaktav I love you
Guys I fix like that
android\gradle.properties
org.gradle.jvmargs=-Xmx2048m -Xms2048m -XX:MaxMetaspaceSize=1024m -XX:ThreadStackSize=4096 -XX:CompilerThreadStackSize=4096
Then clean gradle and rebuild pls. https://stackoverflow.com/a/71796288/20358783Sometimes your computer or your virtual device's ram is not enough on building for this reason this error is given. if you use virtual devices improve ram to device on settings. Secondly, I enter
ca
script topackage.json
"ca": "cd android && ./gradlew clean && ./gradlew --stop && npm cache clean --force && cd .. && yarn start --reset-cache",
When I take this error I start this script. And restart again.
But if I do not have separate directories for android/ios and use app.json instead of it. How can i clean that grandle?
I had the same problem, but the java version was the cause. first check if the java version is 11 using 'java -version' in terminal. (I'm sorry if I spoke awkwardly because I'm not good at English)
Thanks a lot. Switching to java version 11 fix this for me