{"action":"created","issue":{"url":"https://api.github.com/repos/ionic-team/ionic-native-google-maps/issues/61","repository_url":"https://api.github.com/repos/ionic-team/ionic-native-google-maps","labels_url":"https://api.github.com/repos/ionic-team/ionic-native-google-maps/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/ionic-native-google-maps/issues/61/comments","events_url":"https://api.github.com/repos/ionic-team/ionic-native-google-maps/issues/61/events","html_url":"https://github.com/ionic-team/ionic-native-google-maps/issues/61","id":354746511,"node_id":"MDU6SXNzdWUzNTQ3NDY1MTE=","number":61,"title":"Build failed after installing native google map","user":{"login":"benengi","id":35512292,"node_id":"MDQ6VXNlcjM1NTEyMjky","avatar_url":"https://avatars1.githubusercontent.com/u/35512292?v=4","gravatar_id":"","url":"https://api.github.com/users/benengi","html_url":"https://github.com/benengi","followers_url":"https://api.github.com/users/benengi/followers","following_url":"https://api.github.com/users/benengi/following{/other_user}","gists_url":"https://api.github.com/users/benengi/gists{/gist_id}","starred_url":"https://api.github.com/users/benengi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benengi/subscriptions","organizations_url":"https://api.github.com/users/benengi/orgs","repos_url":"https://api.github.com/users/benengi/repos","events_url":"https://api.github.com/users/benengi/events{/privacy}","received_events_url":"https://api.github.com/users/benengi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-28T14:03:27Z","updated_at":"2018-08-28T22:55:28Z","closed_at":null,"author_association":"NONE","body":"After installing the native google map and run both ionic cordova build android or ionic cordova run android --prod, i am getting BUILD FAILED. \r\n\r\nI did uninstall the plugin and re-install it and i still have the BUILD FAILED\r\n\r\n**I'm submitting a ...**  (check one with \"x\")\r\n- [ ] question\r\n- [x ] any problem or bug report\r\n- [ ] feature request\r\n\r\n**If you choose 'problem or bug report', please select OS:**  (check one with \"x\")\r\n- [x ] **Android**\r\n- [ ] **iOS**\r\n\r\n**cordova information:**  (run `$> cordova plugin list`) \r\n\r\n```\r\ninsert the output from the command here\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nCould not resolve all files for configuration ':app:debugCompileClasspath'.\r\n> Could not find support-v4.aar (com.android.support:support-v4:26.1.0).\r\n  Searched in the following locations:\r\n      https://jcenter.bintray.com/com/android/support/support-v4/26.1.0/support-v4-26.1.0.aar\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\n* Get more help at https://help.gradle.org\r\n\r\nBUILD FAILED in 29s\r\n\r\n14 actionable tasks: 4 executed, 10 up-to-date\r\n(node:13896) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code 1 Error output:\r\nNote: Some input files use or override a deprecated API.\r\nNote: Recompile with -Xlint:deprecation for details.\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nCould not resolve all files for configuration ':app:debugCompileClasspath'.\r\n> Could not find support-v4.aar (com.android.support:support-v4:26.1.0).\r\n  Searched in the following locations:\r\n      https://jcenter.bintray.com/com/android/support/support-v4/26.1.0/support-v4-26.1.0.aar\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\n* Get more help at https://help.gradle.org\r\n\r\nBUILD FAILED in 29s\r\n    at ChildProcess.whenDone (C:\\Users\\XPS\\Documents\\work 2017\\DEV\\ionic\\testmapp\\map\\platforms\\android\\cordova\\node_modules\\cordova-common\\src\\superspawn.js:169:23)\r\n    at emitTwo (events.js:126:13)\r\n    at ChildProcess.emit (events.js:214:7)\r\n    at maybeClose (internal/child_process.js:925:16)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)\r\n(node:13896) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)\r\n(node:13896) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\r\n\r\n\r\n```\r\n\r\n**If you use `@ionic-native/google-maps`, please tell the package.json (only `@ionic-native/core` and `@ionic-native/google-maps` are fine mostly)**\r\n\r\n \"name\": \"map\",\r\n  \"version\": \"0.0.1\",\r\n  \"author\": \"Ionic Framework\",\r\n  \"homepage\": \"http://ionicframework.com/\",\r\n  \"private\": true,\r\n  \"scripts\": {\r\n    \"start\": \"ionic-app-scripts serve\",\r\n    \"clean\": \"ionic-app-scripts clean\",\r\n    \"build\": \"ionic-app-scripts build\",\r\n    \"lint\": \"ionic-app-scripts lint\"\r\n  },\r\n  \"dependencies\": {\r\n    \"@angular/animations\": \"5.2.11\",\r\n    \"@angular/common\": \"5.2.11\",\r\n    \"@angular/compiler\": \"5.2.11\",\r\n    \"@angular/compiler-cli\": \"5.2.11\",\r\n    \"@angular/core\": \"5.2.11\",\r\n    \"@angular/forms\": \"5.2.11\",\r\n    \"@angular/http\": \"5.2.11\",\r\n    \"@angular/platform-browser\": \"5.2.11\",\r\n    \"@angular/platform-browser-dynamic\": \"5.2.11\",\r\n    \"@ionic-native/core\": \"^4.12.0\",\r\n    \"@ionic-native/google-maps\": \"^4.12.0\",\r\n    \"@ionic-native/splash-screen\": \"~4.12.0\",\r\n    \"@ionic-native/status-bar\": \"~4.12.0\",\r\n    \"@ionic/storage\": \"2.1.3\",\r\n    \"cordova-android\": \"7.0.0\",\r\n    \"cordova-plugin-device\": \"^2.0.2\",\r\n    \"cordova-plugin-googlemaps\": \"^2.4.1\",\r\n    \"cordova-plugin-ionic-keyboard\": \"^2.1.2\",\r\n    \"cordova-plugin-ionic-webview\": \"^2.1.0\",\r\n    \"cordova-plugin-splashscreen\": \"^5.0.2\",\r\n    \"cordova-plugin-whitelist\": \"^1.3.3\",\r\n    \"ionic-angular\": \"3.9.2\",\r\n    \"ionicons\": \"3.0.0\",\r\n    \"rxjs\": \"5.5.11\",\r\n    \"sw-toolbox\": \"3.6.0\",\r\n    \"zone.js\": \"0.8.26\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"@ionic/app-scripts\": \"3.2.0\",\r\n    \"typescript\": \"~2.6.2\"\r\n  },\r\n  \"description\": \"An Ionic project\",\r\n  \"cordova\": {\r\n    \"plugins\": {\r\n      \"cordova-plugin-googlemaps\": {\r\n        \"API_KEY_FOR_ANDROID\": \"key1\",\r\n        \"API_KEY_FOR_IOS\": \"key2\"\r\n      },\r\n      \"cordova-plugin-whitelist\": {},\r\n      \"cordova-plugin-device\": {},\r\n      \"cordova-plugin-splashscreen\": {},\r\n      \"cordova-plugin-ionic-webview\": {},\r\n      \"cordova-plugin-ionic-keyboard\": {}\r\n    },\r\n    \"platforms\": [\r\n      \"android\"\r\n    ]\r\n  }\r\n}\r\n\r\n\r\n**Current behavior:**\r\n FAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nCould not resolve all files for configuration ':app:debugCompileClasspath'.\r\n> Could not find support-v4.aar (com.android.support:support-v4:26.1.0).\r\n  Searched in the following locations:\r\n      https://jcenter.bintray.com/com/android/support/support-v4/26.1.0/support-v4-26.1.0.aar\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\n* Get more help at https://help.gradle.org\r\n\r\nBUILD FAILED in 29s\r\n\r\n14 actionable tasks: 4 executed, 10 up-to-date\r\n(node:13896) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code 1 Error output:\r\nNote: Some input files use or override a deprecated API.\r\nNote: Recompile with -Xlint:deprecation for details.\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nCould not resolve all files for configuration ':app:debugCompileClasspath'.\r\n> Could not find support-v4.aar (com.android.support:support-v4:26.1.0).\r\n  Searched in the following locations:\r\n      https://jcenter.bintray.com/com/android/support/support-v4/26.1.0/support-v4-26.1.0.aar\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\n* Get more help at https://help.gradle.org\r\n\r\nBUILD FAILED in 29s\r\n    at ChildProcess.whenDone (C:\\Users\\XPS\\Documents\\work 2017\\DEV\\ionic\\testmapp\\map\\platforms\\android\\cordova\\node_modules\\cordova-common\\src\\superspawn.js:169:23)\r\n    at emitTwo (events.js:126:13)\r\n    at ChildProcess.emit (events.js:214:7)\r\n    at maybeClose (internal/child_process.js:925:16)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)\r\n(node:13896) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)\r\n(node:13896) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\r\n\r\n\r\n\r\n**Expected behavior:**\r\n<!-- Describe what the behavior would be without the bug. -->\r\n\r\n**Screen capture or video record:**\r\n<!--\r\nPlease take a screen capture or a screen record. You can upload your files with drag & drop up to 10M bytes.\r\n[Android]\r\n$> adb shell screenrecord /sdcard/capture.mp4\r\n$> adb pull /sdcard/capture.mp4 ./\r\n[iOS]\r\nUse QuickTimer player on Mac\r\n--->\r\n\r\n**Related code, data or error log (please format your code or data):**\r\n\r\n```\r\nThe person who share your project files on Github (or other git repository) is in faster lane than other people.\r\nPlease share your project files on Github or others(Bitbucket, Gitlabs...etc).\r\nIf you don't want to share your project files, please create a demo project, then share it.\r\n\r\nScreen captures, and/or native logs(such as Logcat, xcode logs) are appreciate.\r\n\r\nGiving much information, you are waiting time is less.\r\nThank you for your cooperation.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ionic-team/ionic-native-google-maps/issues/comments/416766831","html_url":"https://github.com/ionic-team/ionic-native-google-maps/issues/61#issuecomment-416766831","issue_url":"https://api.github.com/repos/ionic-team/ionic-native-google-maps/issues/61","id":416766831,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjc2NjgzMQ==","user":{"login":"wf9a5m75","id":167831,"node_id":"MDQ6VXNlcjE2NzgzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/167831?v=4","gravatar_id":"","url":"https://api.github.com/users/wf9a5m75","html_url":"https://github.com/wf9a5m75","followers_url":"https://api.github.com/users/wf9a5m75/followers","following_url":"https://api.github.com/users/wf9a5m75/following{/other_user}","gists_url":"https://api.github.com/users/wf9a5m75/gists{/gist_id}","starred_url":"https://api.github.com/users/wf9a5m75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wf9a5m75/subscriptions","organizations_url":"https://api.github.com/users/wf9a5m75/orgs","repos_url":"https://api.github.com/users/wf9a5m75/repos","events_url":"https://api.github.com/users/wf9a5m75/events{/privacy}","received_events_url":"https://api.github.com/users/wf9a5m75/received_events","type":"User","site_admin":false},"created_at":"2018-08-28T22:55:28Z","updated_at":"2018-08-28T22:55:28Z","author_association":"COLLABORATOR","body":"What cordova version do you use? I think you failed the maps plugin installation.\r\n\r\nIf you can't solve the problem by yourself, please share your project files on github."}}
{"actor":{"display_login":"wf9a5m75"}}