Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Build Faild issue due to pkg linking #60

Open
Adil7767 opened this issue Apr 2, 2024 · 0 comments
Open

Release Build Faild issue due to pkg linking #60

Adil7767 opened this issue Apr 2, 2024 · 0 comments

Comments

@Adil7767
Copy link

Adil7767 commented Apr 2, 2024

buildscript {
    ext {
        buildToolsVersion = "33.0.0"
        minSdkVersion = 21
        compileSdkVersion = 34
        targetSdkVersion = 34

        // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
        ndkVersion = "23.1.7779620"
        //For react native-iap android
        supportLibVersion = "28.0.0"
      

and my issue is

Task :react-native-google-pay:verifyReleaseResources FAILED

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':react-native-google-pay:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
   > Android resource linking failed
     ERROR:/home/workspace/Developer/maxim-fitness-2022-36331/node_modules/react-native-google-pay/android/build/intermediates/merged_res/release/values/values.xml:2802: AAPT: error: resource android:attr/lStar not found.
         

         

I have done everything according to the documentation
my pkg version is
"react-native-google-pay": "^2.1.0",
and
"react-native": "0.71.7",

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

No branches or pull requests

1 participant