Failed build in Andorid
See original GitHub issueWhen I build a new react native project , and do the steps:
npm install --save rn-fetch-blob
RNFB_ANDROID_PERMISSIONS=true react-native link
And run in android studio. I got these erros:
Error:(9, 34) package android.support.v4.content not exist
Error:(12, 33) package com.facebook.react.bridge not exist
...
The error file is .../node_modules/rn-fetch-blob/android/src/main/java/com/RNFetchBlob/RNFetchBlob.java
My package.json is
"dependencies": {
"react": "16.6.1",
"react-native": "0.57.5",
"rn-fetch-blob": "^0.10.13"
},
Andorid Studio Version:3.0.1
Issue Analytics
- State:
- Created 5 years ago
- Comments:17
Top Results From Across the Web
Failed to build project with Android studio - Stack Overflow
File->Other Settings->Default Project Structure · Under Project Settings: Project, set Project SDK as Android SDK. · Click Edit button · For Android SDK,...
Read more >Why does a build fail in Android Studio even if I don't ... - Quora
There are several causes for gradle build fail in Android studio. Few reasons might be: * Dependencies added * Importing the project from...
Read more >Different Ways to fix "Error running android: Gradle project ...
Method 1: Restarting your project using Invalidate Caches and Restart option · Method 2: Sync your project with Gradle files · Method 3:...
Read more >Known issues with Android Studio and Android Gradle Plugin
When you navigate to Build > Generate Signed Bundle / APK and attempt to ... If that process fails, the IDE may not...
Read more >Fix Gradle Build Error in Android Studio | Compilation failed
Tutorial to fix errors encountered while running the android application. This video includes some ways in which you can fix Gradle build ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@erbud No problem. Ok, I don’t want to clog up this issue’s comments further… If I get time over the weekend I’ll try out your test case and report back. No promises though. You’ll probably have more success via Twitter, Discord, StackOverflow or similar than me but I’ll do what I can. Might be an issue with the lib so worth investigating.
@AricWu From memory RN 0.57.x requires Android Studio 3.1.x