newrelic / newrelic-cordova-plugin

A Cordova plugin for the New Relic Mobile SDKs
Apache License 2.0
18 stars 66 forks source link

Cordova Android 13 build error #92

Open alaaahmedmu opened 2 weeks ago

alaaahmedmu commented 2 weeks ago

While trying to build the app after migration successfully from Cordova 12 to Cordova 13, this error occurs.

Screenshot 2024-06-10 at 11 43 27 AM

Table of used package's versions

android-minSdkVersion 24
android-targetSdkVersion 34
android-compileSdkVersion 34
android-buildToolsVersion 34.0.0
GradleVersion 8.7
AndroidGradlePluginVersion 8.3.0
GradlePluginKotlinVersion 1.9.24
newrelic-cordova-plugin 6.2.10
ndesai-newrelic commented 2 weeks ago

@alaaahmedmu can you share your build.gradle file? I am unable to reproduce it my side.

alaaahmedmu commented 2 weeks ago

@ndesai-newrelic this is the part responsible for newrelic in the build.gradle file

buildscript {
    dependencies {
        classpath 'com.newrelic.agent.android:agent-gradle-plugin:6.11.1'
    }
}
dependencies {
    implementation ('com.newrelic.agent.android:android-agent:6.11.1')
}
apply plugin: 'newrelic'
alaaahmedmu commented 5 days ago

@ndesai-newrelic any updates here please for this issue?

ndesai-newrelic commented 11 hours ago

@alaaahmedmu can you update the latest cordova plugin with newrelic agent 7.3.0?