Open webexpert4rv opened 5 years ago
@webexpert4rv That got fixed in a forked version of this library react-native-login-twitter
Simple Steps:
Go to /node_modules/react-native-login-twitter/android/build.gradle
Change
android { compileSdkVersion 27 buildToolsVersion "27.0.3"
defaultConfig {
minSdkVersion 16
targetSdkVersion 26
versionCode 1
versionName "1.0"
}
lintOptions {
abortOnError false
}
}
to
android { compileSdkVersion 29 buildToolsVersion "29.0.2"
defaultConfig {
minSdkVersion 16
targetSdkVersion 29
versionCode 1
versionName "1.0"
}
lintOptions {
abortOnError false
}
}
The exact same as compileSdkVersion,targetSdkVersion,buildToolsVersion in your root build.gradle file. Voila!!!
It built a successfull build apk with gradle assembleRelease.
release build error.working fine on react-native run android give error on making release apk
Task :app:transformNativeLibsWithStripDebugSymbolForRelease Unable to strip library '/Users/user/Desktop/influencer-mobile/android/app/build/intermediates/transforms/mergeJniLibs/release/0/lib/armeabi/libucrop.so' due to missing strip tool for ABI 'ARMEABI'. Packaging it as is.
FAILURE: Build failed with an exception.