Closed
Description
- Review the documentation: https://facebook.github.io/react-native
- Search for existing issues: https://github.com/facebook/react-native/issues
- Use the latest React Native release: https://github.com/facebook/react-native/releases
Environment
react-native info
returned me this reason(without React
block) (so I have to modify to avoid closing issue)
System:
OS: Windows 10
CPU: x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Memory: 12.46 GB / 15.83 GB
Binaries:
Yarn: 1.10.1 - C:\Users\AlirezA\AppData\Roaming\npm\yarn.CMD
npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
SDKs:
Android SDK:
Build Tools: 23.0.1, 23.0.2, 25.0.0, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.0, 27.0.1, 27.0.2, 27.0.3
API Levels: 16, 18, 19, 22, 23, 24, 25, 26, 27
IDEs:
Android Studio: Version 3.2.0.0 AI-181.5540.7.32.5014246
npmPackages:
react: 16.6.0-alpha.8af6728 (16.5.0 is tested and has the same error)
react-native: 0.57.3
npmGlobalPackages:
react-native-cli: 2.0.1
Description
Just initing new project on windows causes error bellow:
FAILURE: Build failed with an exception.
Where:
Build file 'C:\Aprojects\myseedapp\android\app\build.gradle' line: 1What went wrong:
A problem occurred evaluating project ':app'.java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=com/android/build/gradle/AppPlugin, offset=6
Reproducible Demo
react-native init newapp