Comments (17)
@keev-studio, @hrhosni You can try that fork https://github.com/we-are-joinup/cordova-plugin-googlemaps/
I'm upgrading to [email protected] and seems that everything is working.
from cordova-plugin-googlemaps.
That's true, but the error is self explanatory, you need to change:
compile(name:'tbxml-android',
ext:'aar')
to
implementation(name:'tbxml-android', ext:'aar')
inside: platforms/android/cordova-plugin-googlemaps/***-tbxml-android.gradle
from cordova-plugin-googlemaps.
also desperately looking for working solution for Cordova Android@11
from cordova-plugin-googlemaps.
I got this one to work with Android 11.
from cordova-plugin-googlemaps.
Hi, I am getting zillions of build errors after adding this repo.
Can you please send what stack versions you are using?
from cordova-plugin-googlemaps.
@keev-studio, @hrhosni You can try that fork https://github.com/we-are-joinup/cordova-plugin-googlemaps/ I'm upgrading to [email protected] and seems that everything is working.
Hi lempere, thank you for your message. I am trying the repo you mentioning.
I am getting this error during build
What version of gradle are you using for the duild?
from cordova-plugin-googlemaps.
Hi thank you, I corrected that but now I am getting another group of errors, dont know why. I changed
inside: platforms/android/cordova-plugin-googlemaps/***-tbxml-android.gradle as you said, removed and added platform
What Gradle, JavaSDK and Node version are you using?
from cordova-plugin-googlemaps.
It's seems that the project can find the com.google.android properly. With that screenshot I don't have any clue why.
Try running with:
cordova build android --verbose
What Ionic info show:
Ionic:
ionic (Ionic CLI) : 4.10.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.4
Cordova:
cordova (Cordova CLI) : 10.0.0
Cordova Platforms : android 11.0.0, browser 6.0.0, ios 6.2.0
Cordova Plugins : cordova-plugin-ionic-webview 5.0.0, (and 28 other plugins)
System:
Android SDK Tools : 26.1.1 (/Users/lempere/Library/Android/sdk)
ios-deploy : 1.11.4
ios-sim : 8.0.2
NodeJS : v12.18.1 (/Users/lempere/.nvm/versions/node/v12.18.1/bin/node)
npm : 6.9.0
OS : macOS
Xcode : Xcode 12.3 Build version 12C33
Another preferences in config.xml, that could help:
<preference name="android-minSdkVersion" value="22" />
<preference name="android-targetSdkVersion" value="32" />
<preference name="GradlePluginGoogleServicesEnabled" value="true" />
<preference name="GradlePluginGoogleServicesVersion" value="4.3.8" />
<preference name="GradlePluginKotlinEnabled" value="true" />
<preference name="GradlePluginKotlinCodeStyle" value="official" />
<preference name="GradlePluginKotlinVersion" value="1.6.0" />
<preference name="AndroidInsecureFileModeEnabled" value="true" />
If that not helps. Do you have a small project in github to check it out?
from cordova-plugin-googlemaps.
Hi, I just added your config preferences just to try and getting now some new error referring to google services
looks like this repo is not compatible somehow, as I am running into error spiral
from cordova-plugin-googlemaps.
compileSdkVersion is not specified
Try to specify with:
<preference name="android-compileSdkVersion" value="32" />
from cordova-plugin-googlemaps.
I added to my config but no effect on the error.
Thank you very much for trying
At the evening I will try the plugin with some simple app without any other plugin to test if it can run in my environment
P.S. do you think google play services plugin is needed? In my android@9 environment my app was running with googlemaps plugin without google play services plugin.
from cordova-plugin-googlemaps.
Well I see another error. Is a progress.
I think will be better if you create a github project with your native configuration and then I can try to build it.
from cordova-plugin-googlemaps.
Hi, I added minimalistic app with the plugin. No errors, app build at the end but the map is still white / do not load.
I created repo with all the files and added you as collaborator if you want to look or build the app.
Thank you again for your effort
from cordova-plugin-googlemaps.
@keev-studio, @hrhosni You can try that fork https://github.com/we-are-joinup/cordova-plugin-googlemaps/ I'm upgrading to [email protected] and seems that everything is working.
Hi, looks like I got this one working except custom marker icons. any solution for this? thank you
EDIT: sorted by changing the path to " file:///android_asset/www/img/YOUR_ICON.webp "
from cordova-plugin-googlemaps.
@keev-studio, @hrhosni You can try that fork https://github.com/we-are-joinup/cordova-plugin-googlemaps/ I'm upgrading to [email protected] and seems that everything is working.
This fork worked fine for me after replacing "compile" with "implementation". Great work.
from cordova-plugin-googlemaps.
Hi thank you, I corrected that but now I am getting another group of errors, dont know why. I changed inside: platforms/android/cordova-plugin-googlemaps/***-tbxml-android.gradle as you said, removed and added platform What Gradle, JavaSDK and Node version are you using?
I had the same issue and tried a lot. When creating a blank project which was compiling with the fork "https://github.com/we-are-joinup/cordova-plugin-googlemaps/", I was diving inside it.
As I am migrating from Ionic 5 to Ionic 6, I was also getting everything else nearly as up to date as possible.
The issue states that com.google.android.libraries.maps
cannot be found. It was replaced in the CordovaGoogleMaps.java
file by using the plugin cordova-androidx-build
, which seems to be depreceated for my use. Inside this plugin, the paths are replaced and therefore not working anymore.
["com.google.android.gms.maps", "com.google.android.libraries.maps"]
I have removed the plugin and after replacing the compile
with implementation
my app started working again and also the google maps plugin works as expected.
Thanks mate :)
from cordova-plugin-googlemaps.
That's true, but the error is self explanatory, you need to change:
compile(name:'tbxml-android',
ext:'aar')
toimplementation(name:'tbxml-android', ext:'aar')
inside: platforms/android/cordova-plugin-googlemaps/***-tbxml-android.gradle
Thanks @lempere the repo & the adjustment of implementation got it working for me too.
from cordova-plugin-googlemaps.
Related Issues (20)
- unable to show markers that are on different continents because of minimum zoom level
- POI and HYBRID
- KML stop working in Andriod 10 HOT 5
- Automatically get the center of the map and place a marker?
- Any fork that is being maintained? HOT 2
- iPad Orientation issue with Google Maps plugin MyPluginLayer
- warning: google.maps.event.addDomListener() is deprecated, use the standard addEventListener()
- Zoom controls not responding
- Google Maps app is not installed or disabled error HOT 1
- CSS injection problem in all project pages.
- Use tileOverlay from Zoom Level 14 in higher Zoom levels
- Googlemaps is not installed or not ready yet HOT 1
- Clean project cordova 11, only gray background no map loaded inside div HOT 3
- Android app crash on LocationService .getMyLocation()
- Huawei with no Google Services Issue
- Map does not load on Android : CordovaGoogleMaps.traceDomTree
- Build Error: Could not find com.android.volley:volley:1.1.1.
- Cordova iOS 7.0.1 'cordova/CDVCommandDelegateImpl.h' file not found HOT 32
- Installing iOS error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-googlemaps.