question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Troubleshoting implementing on ionic cordova's project

See original GitHub issue

I’m trying to configure cordova-plugin-googlemaps on my Ionic/Cordova’s project, so I followed the instructions contained in Installation on Windows But when I run my app none map is showed and I just receive those lines on console:

27010-27010/com.awesome.app I/dalvikvm: Could not find method android.content.pm.PackageManager.isInstantApp, referenced from method com.google.maps.api.android.lib6.drd.av.a 27010-27560/com.awesome.app I/dalvikvm: Could not find method android.os.PowerManager.isInteractive, referenced from method com.google.maps.api.android.lib6.drd.aa.a

This is my ionic info:

cli packages: (C:\Users\MainUser\AppData\Roaming\npm\node_modules)

@ionic/cli-utils  : 1.19.0
ionic (Ionic CLI) : 3.19.0

global packages:

cordova (Cordova CLI) : 8.0.0
Gulp CLI              : not installed globally

local packages:

Cordova Platforms : android 6.4.0
Ionic Framework   : ionic1 1.3.4

System:

Android SDK Tools : 25.2.3
Node              : v6.11.2
npm               : 3.10.10
OS                : Windows 10

Environment Variables:

ANDROID_HOME : C:\android-sdk

Misc:

backend : pro

I’m submitting a … (check one with “x”) [x] question [ ] any problem or bug report [ ] feature request

If you choose ‘problem or bug report’, please select OS: (check one with “x”) [x] Android [ ] iOS

cordova information: (run $> cordova plugin list)

insert the output from the command here

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)

Current behavior:

Expected behavior:

Screen capture or video record:

Related code, data or error log (please format your code or data):

The person who share your project files on Github (or other git repository) is in faster lane than other people.
Please share your project files on Github or others(Bitbucket, Gitlabs...etc).
If you don't want to share your project files, please create a demo project, then share it.

Screen captures, and/or native logs(such as Logcat, xcode logs) are appreciate.

Giving much information, you are waiting time is less.
Thank you for your cooperation.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
wf9a5m75commented, Jan 17, 2018

Okay, I tested with the latest cordova version, but it has lots of problems. So please install like this.

$> git clone -b multiple_maps --single-branch  https://github.com/mapsplugin/cordova-plugin-googlemaps

$> cd (your project)

$> cordova platform rm android

$> cordova platform add android@6

$> cordova plugin (path to cordova-plugin-googlemaps) --variable API_KEY_FOR_ANDROID=".."
1reaction
wf9a5m75commented, Jan 17, 2018

Please share your project files on github.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ionic App Troubleshooting - Updating Ionic Packages
Forgetting Parentheses on a Decorator; Cordova plugins not working in the browser; Multiple instances of a provider. Common Errors.
Read more >
Troubleshooting Your Ionic App - Educative.io
Problem 1: Issues with registerNgModuleType · Problem 2: xcodebuild requires Xcode · Problem 3: Cannot read property of undefined · Problem 4: cordova-res...
Read more >
Troubleshooting Cordova Variants - OneSignal Documentation
Cordova and Ionic are known to have issues with plugins not fully getting added to your project in some cases. If you see...
Read more >
ionic repair does not properly re-add Cordova platforms in last ...
Start a new Ionic project using ionic start CordovaApp blank; cd to the project directory after the app is created; (Optional) To ensure...
Read more >
The 9 Most Common Mistakes That Ionic Developers Make
Common Mistake #6: Trying to Run Cordova Plugins Inside the Browser. The majority of developers using Ionic will want their app to run...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found