Created
March 21, 2019 17:47
-
-
Save emmaodia/6385e942c54a0f34287578d9c4d13ce9 to your computer and use it in GitHub Desktop.
I get this error whenever I run "make run-android". How can I fix this?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scripts/run-environment-check.sh android | |
Finished! | |
react-native run-android --appIdSuffix debug | |
Scanning folders for symlinks in /home/emmanuel/oss-projects/status-react/node_modules (168ms) | |
Starting JS server... | |
Building and installing the app on the device (cd android && ./gradlew installDebug)... | |
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details | |
> Configure project :app | |
Reading env from: .env | |
Build number file missing, using: 9999 | |
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead. | |
The CompileOptions.bootClasspath property has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the CompileOptions.bootstrapClasspath property instead. | |
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection) | |
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection) | |
> Configure project :react-native-android | |
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead. | |
at build_80xjbpz5y5vln7upyb6rpgj3h.run(/home/emmanuel/oss-projects/status-react/node_modules/react-native/ReactAndroid/build.gradle:141) | |
(Run with --stacktrace to get the full stack trace of this deprecation warning.) | |
Configuration 'compile' in project ':react-native-android' is deprecated. Use 'implementation' instead. | |
Configuration 'testCompile' in project ':react-native-android' is deprecated. Use 'testImplementation' instead. | |
Configuration 'androidTestCompile' in project ':react-native-android' is deprecated. Use 'androidTestImplementation' instead. | |
> Configure project :react-native-background-timer | |
Configuration 'compile' in project ':react-native-background-timer' is deprecated. Use 'implementation' instead. | |
> Configure project :react-native-config | |
Configuration 'compile' in project ':react-native-config' is deprecated. Use 'implementation' instead. | |
> Configure project :react-native-dialogs | |
Configuration 'compile' in project ':react-native-dialogs' is deprecated. Use 'implementation' instead. | |
Configuration 'testCompile' in project ':react-native-dialogs' is deprecated. Use 'testImplementation' instead. | |
> Configure project :react-native-fs | |
Configuration 'compile' in project ':react-native-fs' is deprecated. Use 'implementation' instead. | |
> Configure project :react-native-http-bridge | |
Configuration 'compile' in project ':react-native-http-bridge' is deprecated. Use 'implementation' instead. | |
> Configure project :react-native-image-crop-picker | |
Configuration 'compile' in project ':react-native-image-crop-picker' is deprecated. Use 'implementation' instead. | |
WARNING: The specified Android SDK Build Tools version (26.0.1) is ignored, as it is below the minimum supported version (26.0.2) for Android Gradle Plugin 3.0.1. | |
Android SDK Build Tools 26.0.2 will be used. | |
To suppress this warning, remove "buildToolsVersion '26.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools. | |
> Configure project :react-native-image-resizer | |
Configuration 'compile' in project ':react-native-image-resizer' is deprecated. Use 'implementation' instead. | |
> Configure project :react-native-keychain | |
Configuration 'compile' in project ':react-native-keychain' is deprecated. Use 'implementation' instead. | |
> Configure project :react-native-securerandom | |
Configuration 'compile' in project ':react-native-securerandom' is deprecated. Use 'implementation' instead. | |
> Configure project :react-native-splash-screen | |
Configuration 'compile' in project ':react-native-splash-screen' is deprecated. Use 'implementation' instead. | |
Configuration 'testCompile' in project ':react-native-splash-screen' is deprecated. Use 'testImplementation' instead. | |
> Configure project :react-native-status | |
Configuration 'compile' in project ':react-native-status' is deprecated. Use 'implementation' instead. | |
> Configure project :react-native-svg | |
Configuration 'compile' in project ':react-native-svg' is deprecated. Use 'implementation' instead. | |
> Configure project :react-native-webview | |
:react-native-webview:reactNativeAndroidRoot /home/emmanuel/oss-projects/status-react/node_modules/react-native/android | |
> Configure project :react-native-webview-bridge | |
Configuration 'compile' in project ':react-native-webview-bridge' is deprecated. Use 'implementation' instead. | |
> Task :app:hemroidBuild | |
make[1]: Entering directory `/home/emmanuel/oss-projects/status-react/android/app' | |
[armeabi-v7a] Install : libstatus-logs.so => libs/armeabi-v7a/libstatus-logs.so | |
[arm64-v8a] Install : libstatus-logs.so => libs/arm64-v8a/libstatus-logs.so | |
[x86] Install : libstatus-logs.so => libs/x86/libstatus-logs.so | |
[x86_64] Install : libstatus-logs.so => libs/x86_64/libstatus-logs.so | |
make[1]: Leaving directory `/home/emmanuel/oss-projects/status-react/android/app' | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Could not resolve all files for configuration ':app:debugRuntimeClasspath'. | |
> Failed to transform file 'status-go-0.23.0-beta.8.aar' to match attributes {artifactType=android-exploded-aar} using transform ExtractAarTransform | |
> java.io.EOFException: Unexpected end of ZLIB input stream | |
* 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 | |
BUILD FAILED in 1m 37s | |
43 actionable tasks: 3 executed, 40 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