Skip to content

Instantly share code, notes, and snippets.

@aertan
Created January 4, 2019 06:48
Show Gist options
  • Select an option

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

Select an option

Save aertan/da03717ca6817b445b83059e4703da24 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 (65ms)
Starting JS server...
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..
:app:preBuild UP-TO-DATE
:react-native-firebase:preBuild UP-TO-DATE
:react-native-firebase:preDebugBuild UP-TO-DATE
:react-native-firebase:checkDebugManifest
:react-native-firebase:processDebugManifest
:app:preDebugBuild UP-TO-DATE
:react-native-firebase:compileDebugAidl
:app:compileDebugAidl UP-TO-DATE
:react-native-firebase:packageDebugRenderscript NO-SOURCE
:app:compileDebugRenderscript UP-TO-DATE
:app:checkDebugManifest UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:prepareLintJar UP-TO-DATE
:app:mergeDebugShaders UP-TO-DATE
:app:compileDebugShaders UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:react-native-firebase:mergeDebugShaders
:react-native-firebase:compileDebugShaders
:react-native-firebase:generateDebugAssets
:react-native-firebase:packageDebugAssets
:app:mergeDebugAssets UP-TO-DATE
:app:processDebugGoogleServices
Parsing json file: D:\Career\BiSU\Repos\waterboy.distapp\android\app\google-services.json
:app:createDebugCompatibleScreenManifests UP-TO-DATE
:app:mainApkListPersistenceDebug UP-TO-DATE
:app:processDebugManifest
:app:fabricGenerateResourcesDebug
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:react-native-firebase:compileDebugRenderscript
:react-native-firebase:generateDebugResValues
:react-native-firebase:generateDebugResources
:react-native-firebase:packageDebugResources
:app:mergeDebugResources
:app:bundleDebugJsAndAssets SKIPPED
:app:copyDebugIconFonts UP-TO-DATE
:app:splitsDiscoveryTaskDebug UP-TO-DATE
:react-native-firebase:platformAttrExtractor
:react-native-firebase:generateDebugBuildConfig
:react-native-firebase:prepareLintJar UP-TO-DATE
:react-native-firebase:javaPreCompileDebug
:react-native-firebase:processDebugJavaRes NO-SOURCE
:app:compileDebugNdk NO-SOURCE
:app:mergeDebugJniLibFolders UP-TO-DATE
:react-native-firebase:compileDebugNdk NO-SOURCE
:react-native-firebase:mergeDebugJniLibFolders
:react-native-firebase:transformNativeLibsWithMergeJniLibsForDebug
:react-native-firebase:transformNativeLibsWithIntermediateJniLibsForDebug
:app:processDebugJavaRes NO-SOURCE
:app:validateSigningDebug UP-TO-DATE
:react-native-firebase:generateDebugRFile
:app:processDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> java.io.IOException: Could not delete path 'D:\Career\BiSU\Repos\waterboy.distapp\android\app\build\generated\source\r\debug\android\arch\lifecycle\livedata'.
* 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 16s
38 actionable tasks: 21 executed, 17 up-to-date
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