I'm working on Windows 10 and just starting with react-native. from https://facebook.github.io/react-native/docs/getting-started
One of the first steps to get started is to run: react-native run-android. But I'm getting this error:
I had the same issue around November 2018, and it seems like React Native depends on Java 8 instead of Java 11 for Android. You can find it here - under "Building Projects with Native Code", choose "Windows for Development OS" and "Android for Target OS"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.