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

[BUG] Build error react-native-iap:compilePlayDebugKotlin

Open mayconline opened this issue 3 weeks ago • 0 comments

Build error when npx react-native run-android

    "react-native-iap": "12.15.1",
    "react-native": "0.72.4",
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-iap:compilePlayDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details
buildscript {
    ext {
        buildToolsVersion = "33.0.0"
        minSdkVersion = 24
        compileSdkVersion = 33
        targetSdkVersion = 33
         // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
        ndkVersion = "23.1.7779620"
        androidXAnnotation = "1.1.0"
        androidXBrowser = "1.0.0"
        kotlinVersion = "1.8.0"
        
    }
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath("com.android.tools.build:gradle")
        classpath("com.facebook.react:react-native-gradle-plugin") 
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
       
    }
}



 def billing_version = "7.0.0"
    implementation "com.android.billingclient:billing:$billing_version"

mayconline avatar Jun 28 '24 16:06 mayconline