Skip to content
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.

Execution failed for task ':react-native-fetch-blob:verifyReleaseResources'. #732

Open
nsethuraman opened this issue Nov 16, 2018 · 3 comments

Comments

@nsethuraman
Copy link

Hi all,

I have this problem on Android when trying to build release apk but working fine on debugging apk.

package.json:
"react-native": "^0.57.0",
"react-native-fetch-blob": "^0.10.8"

I m running gradlew assemlerelease get this error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-fetch-blob:verifyReleaseResources'.

com.android.ide.common.process.ProcessException: Failed to execute aapt

(./android/build.gradle) :
ext {
buildToolsVersion = "27.0.3"
minSdkVersion = 16
compileSdkVersion = 27
targetSdkVersion = 26
supportLibVersion = "27.1.1"
}

Any ideas??

@befirst
Copy link

befirst commented Nov 16, 2018

For me, this error was when I started release building from terminal. After that, I've tried build from android studio and all is fine

@skokon
Copy link

skokon commented Nov 18, 2018

Hi, Please go to react-native-fetch-blob/android/build.gradle and update these values

compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName "1.0"
}

to these

compileSdkVersion 26
buildToolsVersion "26.0.3"
defaultConfig {
minSdkVersion 16
targetSdkVersion 26
versionCode 1
versionName "1.0"
}

@JCsplash
Copy link

On the repository's main page, it says that react-native-fetch-blob has moved to rn-fetch-blob.

It seems like the maintainers of rn-fetch-blob already resolved the issue!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants