Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-native init has error on windows (0.57.3) #21864

Closed
3 tasks done
AlirezaAkbarix opened this issue Oct 19, 2018 · 3 comments
Closed
3 tasks done

react-native init has error on windows (0.57.3) #21864

AlirezaAkbarix opened this issue Oct 19, 2018 · 3 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@AlirezaAkbarix
Copy link

AlirezaAkbarix commented Oct 19, 2018

Environment

react-native info returned me this reason(without React block) (so I have to modify to avoid closing issue)
image

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:

image

FAILURE: Build failed with an exception.

  • Where:
    Build file 'C:\Aprojects\myseedapp\android\app\build.gradle' line: 1

  • What 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

@react-native-bot
Copy link
Collaborator

Can you run react-native info and edit your issue to include these results under the Environment section?

If you believe this information is irrelevant to the reported issue, you may write [skip envinfo] under Environment to let us know.

@AlirezaAkbarix
Copy link
Author

Can you run react-native info and edit your issue to include these results under the Environment section?

If you believe this information is irrelevant to the reported issue, you may write [skip envinfo] under Environment to let us know.

I've did it.

@react-native-bot
Copy link
Collaborator

I am closing this issue because it does not contain the necessary environment info, and there has been no followup in a while.

If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here.

@react-native-bot react-native-bot added the Ran Commands One of our bots successfully processed a command. label Oct 28, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Oct 28, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants