React-native: Failure trying to build UIExplorer on Android

Created on 29 Dec 2016  路  3Comments  路  Source: facebook/react-native

Getting an error when trying to build Android version of UIExplorer. iOS version worked fine.

./gradlew :Examples:UIExplorer:android:app:installDebug

  • Where:
    Build file '/Users/dboyd/mpp/workspace/client/react-native/ReactAndroid/build.gradle' line: 3

  • What went wrong:
    A problem occurred evaluating project ':ReactAndroid'.

    java.lang.UnsupportedClassVersionError: com/android/build/gradle/LibraryPlugin : Unsupported major.minor version 52.0

Locked

Most helpful comment

I solve the problem by change the gradle tools version:
dependencies { classpath 'com.android.tools.build:gradle:2.1.3' }

All 3 comments

me too,the android studio require jre1.8

I solve the problem by change the gradle tools version:
dependencies { classpath 'com.android.tools.build:gradle:2.1.3' }

Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!

If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:

  • Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
  • If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
  • Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lazywei picture lazywei  路  3Comments

grabbou picture grabbou  路  3Comments

arunabha picture arunabha  路  3Comments

jlongster picture jlongster  路  3Comments

anchetaWern picture anchetaWern  路  3Comments