react-native-photo-view icon indicating copy to clipboard operation
react-native-photo-view copied to clipboard

gradle 4.3: The CompileOptions.bootClasspath property has been deprecated

Open archywillhe opened this issue 7 years ago • 1 comments

Got the following error when I tried to react-native run-android

Scanning folders for symlinks in /Users/a/ArchyBox/lateJan/Archy/node_modules (24ms)
JS server already running.
Building and installing the app on the device (cd android && ./gradlew installDebug)...

> Configure project :react-native-photo-view
The CompileOptions.bootClasspath property has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the CompileOptions.bootstrapClasspath property instead.


FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApk'.
   > A problem occurred configuring project ':react-native-photo-view'.
      > Failed to notify project evaluation listener.
         > com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/File;)V

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

I'm running JDK version 9 and gradle-4.3

archywillhe avatar Jan 26 '18 08:01 archywillhe

This post addresses how to resolve the issue: https://stackoverflow.com/questions/47495066/the-compileoptions-bootclasspath-property-has-been-deprecated

CodeShaun avatar Feb 14 '18 13:02 CodeShaun