Skip to content

Instantly share code, notes, and snippets.

@aertan
Created February 18, 2019 09:26
Show Gist options
  • Select an option

  • Save aertan/b4b69effecae1a7420f7902c929aecaa to your computer and use it in GitHub Desktop.

Select an option

Save aertan/b4b69effecae1a7420f7902c929aecaa to your computer and use it in GitHub Desktop.
$ react-native run-android
Scanning folders for symlinks in D:\Career\BiSU\Repos\waterboy.distapp\node_modules (35ms)
JS server already running.
Building and installing the app on the device (cd android && gradlew.bat installDebug)...
WARNING: The option 'android.enableAapt2' is deprecated and should not be used anymore.
Use 'android.enableAapt2=true' to remove this warning.
It will be removed at the end of 2018..
Could not find google-services.json while looking in [src/nullnull/debug, src/debug/nullnull, src/nullnull, src/debug, src/nullnullDebug]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/release, src/release/nullnull, src/nullnull, src/release, src/nullnullRelease]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
WARNING: The option 'android.enableAapt2' is deprecated and should not be used anymore.
Use 'android.enableAapt2=true' to remove this warning.
It will be removed at the end of 2018..
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
> Could not resolve project :react-native-device-info.
Required by:
project :app
> Unable to find a matching configuration of project :react-native-device-info: None of the consumable configurations have attributes.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BU▒LD FAILED in 1s
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment