rn-fetch-blob: Failed build in Andorid
When I build a new react native project , and do the steps:
npm install --save rn-fetch-blobRNFB_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
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17
@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