{"action":"created","issue":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/141","labels_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/141/comments","events_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/141/events","html_url":"https://github.com/phonegap/phonegap-plugin-push/issues/141","id":106653533,"number":141,"title":"After installing this plugin I can't build on Android","user":{"login":"adantart","id":695272,"avatar_url":"https://avatars.githubusercontent.com/u/695272?v=3","gravatar_id":"","url":"https://api.github.com/users/adantart","html_url":"https://github.com/adantart","followers_url":"https://api.github.com/users/adantart/followers","following_url":"https://api.github.com/users/adantart/following{/other_user}","gists_url":"https://api.github.com/users/adantart/gists{/gist_id}","starred_url":"https://api.github.com/users/adantart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adantart/subscriptions","organizations_url":"https://api.github.com/users/adantart/orgs","repos_url":"https://api.github.com/users/adantart/repos","events_url":"https://api.github.com/users/adantart/events{/privacy}","received_events_url":"https://api.github.com/users/adantart/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-15T21:38:09Z","updated_at":"2015-09-25T14:20:41Z","closed_at":"2015-09-15T22:20:45Z","body":"It says:\r\n\r\n```\r\nRunning command: /home/myapp/platforms/android/cordova/build \r\nANDROID_HOME=/Applications/ADT/sdk\r\nJAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home\r\nRunning: /home/myapp/platforms/android/gradlew cdvBuildDebug -b /home/myapp/platforms/android/build.gradle -Dorg.gradle.daemon=true\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nA problem occurred configuring root project 'android'.\r\n> Could not resolve all dependencies for configuration ':_debugCompile'.\r\n   > Could not find any version that matches com.android.support:support-v13:23+.\r\n     Searched in the following locations:\r\n         https://repo1.maven.org/maven2/com/android/support/support-v13/maven-metadata.xml\r\n         https://repo1.maven.org/maven2/com/android/support/support-v13/\r\n         file:/Applications/ADT/sdk/extras/android/m2repository/com/android/support/support-v13/maven-metadata.xml\r\n         file:/Applications/ADT/sdk/extras/google/m2repository/com/android/support/support-v13/maven-metadata.xml\r\n         file:/Applications/ADT/sdk/extras/google/m2repository/com/android/support/support-v13/\r\n     Required by:\r\n         :android:unspecified\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\nBUILD FAILED\r\n\r\nTotal time: 2.109 secs\r\n\r\n/home/myapp/platforms/android/cordova/node_modules/q/q.js:126\r\n                    throw e;\r\n                          ^\r\nError code 1 for command: /home/myapp/platforms/android/gradlew with args: cdvBuildDebug,-b,/home/myapp/platforms/android/build.gradle,-Dorg.gradle.daemon=true\r\nERROR building one of the platforms: Error: /home/myapp/platforms/android/cordova/build: Command failed with exit code 1\r\nYou may not have the required environment or OS to build this project\r\nError: /home/myapp/platforms/android/cordova/build: Command failed with exit code 1\r\n    at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:139:23)\r\n    at ChildProcess.emit (events.js:110:17)\r\n    at maybeClose (child_process.js:1015:16)\r\n    at Process.ChildProcess._handle.onexit (child_process.js:1087:5)\r\n```\r\n\r\nI tried to change config.xml since I heard in other issue it can be about minsdk, but my Cordova is 5.3.1 and I set minsdk to 20, 21, 22 ... but again the same problems.\r\n\r\nBTW, I read about #136 and:\r\n\r\n1) I don't have any file in android named \"android-support-*.jar\"\r\n2) I already have in my build-extras.gradle at /platforms/android/ the:\r\ndependencies {\r\n    compile \"com.android.support:support-v13:23+\"\r\n}\r\n\r\n\r\nThank you"},"comment":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/comments/143236469","html_url":"https://github.com/phonegap/phonegap-plugin-push/issues/141#issuecomment-143236469","issue_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/141","id":143236469,"user":{"login":"nhiendat","id":10668721,"avatar_url":"https://avatars.githubusercontent.com/u/10668721?v=3","gravatar_id":"","url":"https://api.github.com/users/nhiendat","html_url":"https://github.com/nhiendat","followers_url":"https://api.github.com/users/nhiendat/followers","following_url":"https://api.github.com/users/nhiendat/following{/other_user}","gists_url":"https://api.github.com/users/nhiendat/gists{/gist_id}","starred_url":"https://api.github.com/users/nhiendat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhiendat/subscriptions","organizations_url":"https://api.github.com/users/nhiendat/orgs","repos_url":"https://api.github.com/users/nhiendat/repos","events_url":"https://api.github.com/users/nhiendat/events{/privacy}","received_events_url":"https://api.github.com/users/nhiendat/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T14:20:41Z","updated_at":"2015-09-25T14:20:41Z","body":"After run SDK manager and update for Android Support Repository, Android Support Library then it's work :)"}}