piernik opened a new issue #1192:
URL: https://github.com/apache/cordova-android/issues/1192


   # Bug Report
   
   ## Problem
   
   With fresh Ionic project that uses cordova I want to include two plugins:
   - `admob-plus-cordova` https://github.com/admob-plus/admob-plus
   - `cordova-plugin-googlemaps` 
https://github.com/mapsplugin/cordova-plugin-googlemaps
   
   With both included I cannot build project. I suppose it is `google services` 
conflict, which I cannot resolve.
   
   ## Information
   
   As in docs (https://admob-plus.github.io/docs/cordova/installation) I tried 
to build it with `<preference name="AndroidXEnabled" value="true" />`. Build 
failed.
   
   I've also installed `cordova-android-play-services-gradle-release` 
(https://admob-plus.github.io/docs/cordova/faq#how-to-use-with-cordova-android-play-services-gradle-release).
 Build failed.
   
   I can give access to private github project.
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   
   
   ### Environment, Platform, Device
   Ionic, cordova@10, PC, widows 10
   
   
   
   ### Version information
   ```
   {
     "name": "corApp",
     "version": "0.0.1",
     "author": "Ionic Framework",
     "homepage": "https://ionicframework.com/";,
     "scripts": {
       "ng": "ng",
       "start": "ng serve",
       "build": "ng build",
       "test": "ng test",
       "lint": "ng lint",
       "e2e": "ng e2e",
       "platform:remove:android": "ionic cordova platform remove android",
       "platform:add:android": "ionic cordova platform add android --save",
       "device:list": "adb devices",
       "ionic:device:prod": "ionic cordova run android --device --prod",
       "ionic:run:browser": "ionic cordova run browser"
     },
     "private": true,
     "dependencies": {
       "@admob-plus/ionic": "^1.1.0",
       "@angular/common": "~11.2.0",
       "@angular/core": "~11.2.0",
       "@angular/forms": "~11.2.0",
       "@angular/platform-browser": "~11.2.0",
       "@angular/platform-browser-dynamic": "~11.2.0",
       "@angular/router": "~11.2.0",
       "@ionic-native/core": "^5.22.0-beta-1",
       "@ionic-native/google-maps": "^5.27.0-beta-20200630",
       "@ionic/angular": "^5.5.2",
       "cordova-browser": "6.0.0",
       "cordova-plugin-device": "^2.0.2",
       "cordova-plugin-ionic-keyboard": "^2.2.0",
       "cordova-plugin-ionic-webview": "^4.2.1",
       "cordova-plugin-splashscreen": "^5.0.2",
       "cordova-plugin-statusbar": "^2.4.2",
       "cordova-plugin-whitelist": "^1.3.3",
       "rxjs": "~6.6.0",
       "tslib": "^2.0.0",
       "zone.js": "~0.10.2"
     },
     "devDependencies": {
       "@angular-devkit/build-angular": "~0.1101.4",
       "@angular/cli": "~11.1.4",
       "@angular/compiler": "~11.2.0",
       "@angular/compiler-cli": "~11.2.0",
       "@angular/language-service": "~11.2.0",
       "@ionic/angular-toolkit": "^3.1.0",
       "@types/jasmine": "~3.6.0",
       "@types/jasminewd2": "~2.0.3",
       "@types/node": "^12.11.1",
       "admob-plus-cordova": "^1.4.0",
       "codelyzer": "^6.0.0",
       "cordova-android": "^9.0.0",
       "cordova-android-play-services-gradle-release": "^4.0.0",
       "cordova-androidx-build": "^1.0.4",
       "cordova-plugin-googlemaps": 
"git+https://github.com/mapsplugin/cordova-plugin-googlemaps.git#multiple_maps";,
       "jasmine-core": "~3.6.0",
       "jasmine-spec-reporter": "~5.0.0",
       "karma": "~5.2.0",
       "karma-chrome-launcher": "~3.1.0",
       "karma-coverage": "~2.0.3",
       "karma-coverage-istanbul-reporter": "~3.0.2",
       "karma-jasmine": "~4.0.0",
       "karma-jasmine-html-reporter": "^1.5.0",
       "protractor": "~7.0.0",
       "ts-node": "~8.3.0",
       "tslint": "~6.1.0",
       "typescript": "~4.0.2"
     },
     "description": "An Ionic project",
     "cordova": {
       "plugins": {
         "cordova-plugin-whitelist": {},
         "cordova-plugin-statusbar": {},
         "cordova-plugin-device": {},
         "cordova-plugin-splashscreen": {},
         "cordova-plugin-ionic-webview": {
           "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
         },
         "cordova-plugin-ionic-keyboard": {},
         "cordova-plugin-androidx-adapter": {},
         "cordova-plugin-androidx": {},
         "cordova-plugin-googlemaps": {
           "API_KEY_FOR_ANDROID": "AIzaSyBINjjNZBV2_yrkxxxx",
           "GOOGLE_MAPS_PLAY_SERVICES_VERSION": "17.0.0"
         },
         "cordova-android-play-services-gradle-release": {
           "PLAY-SERVICES-ADS": "19.8.0"
         },
         "admob-plus-cordova": {
           "APP_ID_ANDROID": "ca-app-pub-xxx",
           "PLAY_SERVICES_VERSION": "19.8.0"
         }
       },
       "platforms": [
         "browser",
         "android"
       ]
     }
   }
   ```
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to