Skip to content

Release Build Faild issue due to pkg linking #60

@Adil7767

Description

@Adil7767
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",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions