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
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:
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.
Most helpful comment
I solve the problem by change the gradle tools version:
dependencies { classpath 'com.android.tools.build:gradle:2.1.3' }