react-native-kontaktio icon indicating copy to clipboard operation
react-native-kontaktio copied to clipboard

Android resource linking failed

Open mishkeTz opened this issue 3 years ago • 4 comments

RN: 0.66.4 kontaktio: 3.1.0

When I run ./gradlew assembleRelease I get the following error:

Screenshot 2022-06-05 at 21 12 28

Any ideas how to fix this?

mishkeTz avatar Jun 05 '22 19:06 mishkeTz

Any feedback on this? buildscript { ext { buildToolsVersion = "30.0.2" minSdkVersion = 21 compileSdkVersion = 30 targetSdkVersion = 30 ndkVersion = "21.4.7075529" }

Viresh777 avatar Jun 27 '22 12:06 Viresh777

Same problem here with the following versions:

{
        buildToolsVersion = "30.0.2"
        minSdkVersion = 21
        compileSdkVersion = 31
        targetSdkVersion = 30
        ndkVersion = "20.1.5948944"
        playServicesVersion = "17.0.0"
        androidMapsUtilsVersion = "2.3.0"
}

Guccieii avatar Jun 30 '22 09:06 Guccieii

i found that if i use react-native run-android --variant=release (it will generate my apk in the releases folder)

Viresh777 avatar Jun 30 '22 10:06 Viresh777

Unfortunately I cannot do this in my CI/CD environment. But, I manage to fix the error editing the build script from: ./gradlew assembleRelease to ./gradlew app:assembleRelease

Hope it going to be useful for someone else

Guccieii avatar Jun 30 '22 11:06 Guccieii