{"action":"created","issue":{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/18","labels_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/18/comments","events_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/18/events","html_url":"https://github.com/mauron85/cordova-plugin-background-geolocation/issues/18","id":119066610,"number":18,"title":"PhonegapBuild gives build error","user":{"login":"renevaessen","id":254047,"avatar_url":"https://avatars.githubusercontent.com/u/254047?v=3","gravatar_id":"","url":"https://api.github.com/users/renevaessen","html_url":"https://github.com/renevaessen","followers_url":"https://api.github.com/users/renevaessen/followers","following_url":"https://api.github.com/users/renevaessen/following{/other_user}","gists_url":"https://api.github.com/users/renevaessen/gists{/gist_id}","starred_url":"https://api.github.com/users/renevaessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renevaessen/subscriptions","organizations_url":"https://api.github.com/users/renevaessen/orgs","repos_url":"https://api.github.com/users/renevaessen/repos","events_url":"https://api.github.com/users/renevaessen/events{/privacy}","received_events_url":"https://api.github.com/users/renevaessen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-26T15:39:15Z","updated_at":"2015-12-15T10:23:28Z","closed_at":"2015-11-26T15:47:16Z","body":"The -phonegapbuild version of the plugin, does not build with cradle,\r\nmaybe some incompatibility with one of the other plugins?\r\n\r\nMy configured plug-ins:\r\n\r\n  &lt;gap:plugin name=\"cordova-plugin-battery-status\" version=\"1.1.0\" source=\"npm\" /&gt;\r\n  &lt;gap:plugin name=\"cordova-plugin-camera\" version=\"1.2.0\" source=\"npm\" /&gt;\r\n  &lt;gap:plugin name=\"cordova-plugin-file\" version=\"3.0.0\" source=\"npm\" /&gt;\r\n  &lt;gap:plugin name=\"cordova-plugin-device\" version=\"1.0.1\" source=\"npm\" /&gt;\r\n  &lt;gap:plugin name=\"cordova-plugin-geolocation\" version=\"1.0.1\" source=\"npm\" /&gt;\r\n\r\n  &lt;gap:plugin name=\"cordova-plugin-inappbrowser\" version=\"1.0.1\" source=\"npm\"/&gt;\r\n  &lt;gap:plugin name=\"cordova-plugin-splashscreen\" version=\"2.1.0\" source=\"npm\" /&gt;\r\n  &lt;gap:plugin name=\"cordova-plugin-media\" version=\"1.0.1\" source=\"npm\" /&gt;\r\n  &lt;gap:plugin name=\"cordova-plugin-network-information\" version=\"1.0.1\" source=\"npm\" /&gt;\r\n  \r\n  &lt;gap:plugin name=\"phonegap-plugin-barcodescanner\" version=\"4.1.0\" source=\"npm\" /&gt;\r\n\r\n  &lt;!--Temperary only iOS, see issue: http://community.phonegap.com/nitobi/topics/cordova-plugin-push-notification-failed-with-gradle-android?rfm=1 --&gt;\r\n  &lt;gap:plugin name=\"cordova-plugin-push-notification\" version=\"2.5.2\" source=\"npm\" gap:platform=\"ios\" /&gt;\r\n  &lt;gap:plugin name=\"cordova-plugin-statusbar\" version=\"1.0.1\" source=\"npm\" /&gt;\r\n\r\n  &lt;gap:plugin name=\"cordova-plugin-powermanagement\" version=\"1.0.1\" source=\"npm\" /&gt;\r\n  &lt;gap:plugin name=\"cordova-plugin-whitelist\" version=\"1.0.0\" source=\"npm\" /&gt;\r\n  &lt;gap:plugin name=\"cordova-plugin-mauron85-background-geolocation-phonegapbuild\" version=\"0.7.3\" source=\"npm\" /&gt;\r\n  &lt;gap:plugin name=\"cordova-plugin-keyboard\" version=\"1.1.2\" source=\"npm\" /&gt;\r\n\r\nMy other settings:\r\n  &lt;gap:platform name=\"android\" /&gt;\r\n  &lt;preference name=\"webviewbounce\" value=\"false\" /&gt;\r\n  &lt;preference name=\"phonegap-version\" value=\"cli-5.2.0\" /&gt;\r\n  &lt;preference name=\"detect-data-types\" value=\"false\" /&gt;\r\n  &lt;preference name=\"stay-in-webview\" value=\"false\" /&gt;\r\n  &lt;preference name=\"exit-on-suspend\" value=\"false\" /&gt;\r\n  &lt;preference name=\"KeepRunning\" value=\"true\" /&gt;\r\n  &lt;preference name=\"android-windowSoftInputMode\" value=\"adjustPan\" /&gt;\r\n  &lt;preference name=\"KeyboardShrinksView\" value=\"false\" /&gt;\r\n  &lt;preference name=\"orientation\" value=\"both\" /&gt;\r\n  &lt;preference name=\"show-splash-screen-spinner\" value=\"false\" /&gt;\r\n  &lt;preference name=\"auto-hide-splash-screen\" value=\"false\" /&gt;\r\n  &lt;preference name=\"splash-screen-duration\" value=\"2500\" /&gt;\r\n  &lt;preference name=\"fullscreen\" value=\"true\" /&gt;\r\n  &lt;preference name=\"prerendered-icon\" value=\"true\" /&gt;\r\n  &lt;preference name=\"load-url-timeout\" value=\"75000\" /&gt;\r\n  &lt;preference name=\"android-build-tool\" value=\"gradle\" /&gt;\r\n  &lt;preference name=\"StatusBarOverlaysWebView\" value=\"false\" /&gt;\r\n  &lt;preference name=\"BackupWebStorage\" value=\"cloud\"/&gt;\r\n  &lt;preference name=\"KeyboardDisplayRequiresUserAction\" value=\"false\"/&gt;\r\n  &lt;preference name=\"SuppressesIncrementalRendering\" value=\"true\"/&gt;\r\n  &lt;gap:config-file platform=\"android\" parent=\"/manifest/application\"&gt;\r\n    &lt;activity android:launchMode=\"singleTop\" /&gt;\r\n  &lt;/gap:config-file&gt;\r\n  \r\n\r\nPhonegap build log:\r\n\r\nBuild Date: 2015-11-26 14:46:14 +0000\r\n----------------------------------------------\r\nRunning: /project/gradlew cdvBuildRelease -b /project/build.gradle -Dorg.gradle.daemon=true -x lintVitalRelease\r\n:preBuild\r\n:compileReleaseNdk\r\n:preReleaseBuild\r\n:checkReleaseManifest\r\n:CordovaLib:compileLint\r\n:CordovaLib:copyReleaseLint UP-TO-DATE\r\n:CordovaLib:mergeReleaseProguardFiles\r\n:CordovaLib:preBuild\r\n:CordovaLib:preReleaseBuild\r\n:CordovaLib:checkReleaseManifest\r\n:CordovaLib:prepareReleaseDependencies\r\n:CordovaLib:compileReleaseAidl\r\n:CordovaLib:compileReleaseRenderscript\r\n:CordovaLib:generateReleaseBuildConfig\r\n:CordovaLib:generateReleaseAssets UP-TO-DATE\r\n:CordovaLib:mergeReleaseAssets\r\n:CordovaLib:generateReleaseResValues\r\n:CordovaLib:generateReleaseResources\r\n:CordovaLib:packageReleaseResources\r\n:CordovaLib:processReleaseManifest\r\n:CordovaLib:processReleaseResources\r\n:CordovaLib:generateReleaseSources\r\n:CordovaLib:compileReleaseJavaNote: Some input files use or override a deprecated API.\r\nNote: Recompile with -Xlint:deprecation for details.\r\n\r\n:CordovaLib:processReleaseJavaRes UP-TO-DATE\r\n:CordovaLib:packageReleaseJar\r\n:CordovaLib:compileReleaseNdk\r\n:CordovaLib:packageReleaseJniLibs UP-TO-DATE\r\n:CordovaLib:packageReleaseLocalJar UP-TO-DATE\r\n:CordovaLib:packageReleaseRenderscript UP-TO-DATE\r\n:CordovaLib:bundleRelease\r\n:prepareProjectCordovaLibUnspecifiedReleaseLibrary\r\n:prepareReleaseDependencies\r\n:compileReleaseAidl\r\n:compileReleaseRenderscript\r\n:generateReleaseBuildConfig\r\n:generateReleaseAssets UP-TO-DATE\r\n:mergeReleaseAssets\r\n:generateReleaseResValues\r\n:generateReleaseResources\r\n:mergeReleaseResources\r\n:processReleaseManifest\r\n:processReleaseResourceswarning: string 'menu_settings' has no default translation.\r\n\r\n:generateReleaseSources\r\n:compileReleaseJava/project/src/com/tenforwardconsulting/cordova/bgloc/AbstractLocationService.java:14: error: package android.support.v4.app does not exist\r\nimport android.support.v4.app.NotificationCompat;\r\n                             ^\r\n/project/src/com/tenforwardconsulting/cordova/bgloc/AbstractLocationService.java:120: error: package NotificationCompat does not exist\r\n    protected NotificationCompat.Builder setClickEvent (NotificationCompat.Builder builder) {\r\n                                                                          ^\r\n/project/src/com/tenforwardconsulting/cordova/bgloc/AbstractLocationService.java:120: error: package NotificationCompat does not exist\r\n    protected NotificationCompat.Builder setClickEvent (NotificationCompat.Builder builder) {\r\n                                ^\r\n/project/src/com/tenforwardconsulting/cordova/bgloc/AbstractLocationService.java:88: error: package NotificationCompat does not exist\r\n            NotificationCompat.Builder builder = new NotificationCompat.Builder(this);\r\n                              ^\r\n/project/src/com/tenforwardconsulting/cordova/bgloc/AbstractLocationService.java:88: error: package NotificationCompat does not exist\r\n            NotificationCompat.Builder builder = new NotificationCompat.Builder(this);\r\n                                                                       ^\r\nNote: Some input files use or override a deprecated API.\r\nNote: Recompile with -Xlint:deprecation for details.\r\nNote: /project/src/org/apache/cordova/file/AssetFilesystem.java uses unchecked or unsafe operations.\r\nNote: Recompile with -Xlint:unchecked for details.\r\n5 errors\r\n FAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':compileReleaseJava'.\r\n&gt; Compilation failed; see the compiler error output for details.\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: 8.219 secs\r\n\r\n/project/cordova/node_modules/q/q.js:126\r\n                    throw e;\r\n                    ^\r\nError code 1 for command: /project/gradlew with args: cdvBuildRelease,-b,/project/build.gradle,-Dorg.gradle.daemon=true,-x,lintVitalRelease\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/comments/164714634","html_url":"https://github.com/mauron85/cordova-plugin-background-geolocation/issues/18#issuecomment-164714634","issue_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/18","id":164714634,"user":{"login":"mauron85","id":359450,"avatar_url":"https://avatars.githubusercontent.com/u/359450?v=3","gravatar_id":"","url":"https://api.github.com/users/mauron85","html_url":"https://github.com/mauron85","followers_url":"https://api.github.com/users/mauron85/followers","following_url":"https://api.github.com/users/mauron85/following{/other_user}","gists_url":"https://api.github.com/users/mauron85/gists{/gist_id}","starred_url":"https://api.github.com/users/mauron85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauron85/subscriptions","organizations_url":"https://api.github.com/users/mauron85/orgs","repos_url":"https://api.github.com/users/mauron85/repos","events_url":"https://api.github.com/users/mauron85/events{/privacy}","received_events_url":"https://api.github.com/users/mauron85/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T10:23:28Z","updated_at":"2015-12-15T10:23:28Z","body":"@renevaessen: You're probably missing Android Support Library. Check Android SDK Manager.\r\nPlease don't reply here, but mauron85/cordova-plugin-mauron85-background-geolocation-phonegapbuild#1"}}