Tag Archives: Ionic error androidKey

Deploying Ionic to Google play
Posted by:Ryan zongo, May - 07 - 2016

Most users fall into the scenario:

$ionic start myapp
$cd myapp
$ionic platform add android

But  if you try this   ionic platform add android you may get this error

Failed to install 'plugin.google.maps':Error: Variable(s) missing: API_KEY_FOR_ANDROID

 

Solution:

You need to modify the plugin.xml file. Open the plugin.xml with your text editor.

Find and delete the two lines: <preference name=”API_KEY_FOR_ANDROID” /> and <preference name=”API_KEY_FOR_IOS” />

 

Feature Photo: one of the apps we have made

  • Share :