EMI-INDO / emi-indo-cordova-plugin-fanalytics

Cordova Plugin Firebase Analytics support consent
ISC License
0 stars 0 forks source link

Unsupported system library (does not work with gradle): com.google.firebase:firebase-analytics-ktx #1

Open johanshal opened 1 year ago

johanshal commented 1 year ago

I get error when add plugin Failed to install 'emi-indo-cordova-plugin-fanalytics': CordovaError: Unsupported system library (does not work with gradle): com.google.firebase:firebase-analytics-ktx at D:\Phaser Test\firebase2\node_modules\cordova-android\lib\builders\ProjectBuilder.js:251:27 at Array.forEach (<anonymous>) at ProjectBuilder.prepBuildFiles (D:\Phaser Test\firebase2\node_modules\cordova-android\lib\builders\ProjectBuilder.js:237:34) at Api.<anonymous> (D:\Phaser Test\firebase2\node_modules\cordova-android\lib\Api.js:158:27) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Unsupported system library (does not work with gradle): com.google.firebase:firebase-analytics-ktx

EMI-INDO commented 1 year ago

@johanshal

I just updated the plugin, Try it now.

Delete first

cordova platform rm android cordova plugin rm emi-indo-cordova-plugin-fanalytics

add back

cordova platform add android cordova plugin add emi-indo-cordova-plugin-fanalytics

or

cordova plugin add https://github.com/EMI-INDO/emi-indo-cordova-plugin-fanalytics

johanshal commented 1 year ago

Thank you reply . But work for me. `FAILURE: Build failed with an exception.

Cordova platform android @10.1.2

EMI-INDO commented 1 year ago

@johanshal

johanshal commented 1 year ago

Thank you