mapbox / react-native-mapbox-ar

Location based augmented reality components using React Native, Viro and Mapbox
MIT License
225 stars 46 forks source link

Why ERROR #17

Open nhayhoc opened 6 years ago

nhayhoc commented 6 years ago

I run: npm i --save cd RNMapboxARDemo npm i --save adb reverse tcp:8081 tcp:8081 react-native run-android --variant=gvrRelease And Error: The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0. The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.

FAILURE: Build failed with an exception.

JonForest commented 6 years ago

If you follow https://facebook.github.io/react-native/docs/signed-apk-android.html you should get past this point. At least, I just have. I've another error now, but it at least it's forward progress...

(for more info, this issue is similar https://github.com/facebook/react-native/issues/16854 and the thing that led me to the above documentation)