How can I fix this error? Please help me. Thank you first.
3
I tried a ton of ways. Finally, I find out where is the problem from. It's come from javac, I don't have a Java compiler yet. I reinstall Java follow this instruction: https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-22-04
javac
Boom, the problem is resolved. I hope this help other people who have the same problem as me.
Check if this helps!
https://github.com/expo/expo/issues/17609#issuecomment-1189770234
Try upgrading your gradle version using the upgrade assistant or use the instructions in the mentioned link above.
In my case I just install: Java-11-openjdk-amd64
But in your case install: Java-17-openjdk-amd64
Click here to cancel reply.
3
Answers
I tried a ton of ways. Finally, I find out where is the problem from. It's come from
javac
, I don't have a Java compiler yet. I reinstall Java follow this instruction: https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-22-04Boom, the problem is resolved. I hope this help other people who have the same problem as me.
Check if this helps!
https://github.com/expo/expo/issues/17609#issuecomment-1189770234
Try upgrading your gradle version using the upgrade assistant or use the instructions in the mentioned link above.
In my case I just install: Java-11-openjdk-amd64
But in your case install: Java-17-openjdk-amd64