{"action":"created","issue":{"url":"https://api.github.com/repos/SamVerschueren/gulp-cordova-build-android/issues/10","labels_url":"https://api.github.com/repos/SamVerschueren/gulp-cordova-build-android/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/SamVerschueren/gulp-cordova-build-android/issues/10/comments","events_url":"https://api.github.com/repos/SamVerschueren/gulp-cordova-build-android/issues/10/events","html_url":"https://github.com/SamVerschueren/gulp-cordova-build-android/issues/10","id":106561425,"number":10,"title":"Package Name and Problems Parsing Package","user":{"login":"RDalziel","id":3485935,"avatar_url":"https://avatars.githubusercontent.com/u/3485935?v=3","gravatar_id":"","url":"https://api.github.com/users/RDalziel","html_url":"https://github.com/RDalziel","followers_url":"https://api.github.com/users/RDalziel/followers","following_url":"https://api.github.com/users/RDalziel/following{/other_user}","gists_url":"https://api.github.com/users/RDalziel/gists{/gist_id}","starred_url":"https://api.github.com/users/RDalziel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RDalziel/subscriptions","organizations_url":"https://api.github.com/users/RDalziel/orgs","repos_url":"https://api.github.com/users/RDalziel/repos","events_url":"https://api.github.com/users/RDalziel/events{/privacy}","received_events_url":"https://api.github.com/users/RDalziel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-15T13:53:29Z","updated_at":"2015-09-15T13:58:56Z","closed_at":null,"body":"Hey! \r\n\r\nI'm having a great deal of difficulty in trying to deploy an application to a Nexus 5 Device. I have two problems really\r\n\r\n1. The generated pacakge is ALWAYS \"android-debug.apk\" or \"android-release.apk\". Shouldn't it be named with the provided ID?\r\n2. When attempting to install the package - i get \"Parse Error - There was a problem while parsing the package\". I've tried messing with minSdkVersion and targetSdkVersion but no luck!\r\n\r\nHere's a snipper of my config:\r\n\r\n    var options = {\r\n        dir: '.cordova',\r\n        id: 'com.package.name',\r\n        name: 'Package Name'\r\n    };\r\n    return gulp.src('www')\r\n               .pipe(create(options))\r\n               .pipe(description('Description of Application'))\r\n               .pipe(author('AuthorName'))\r\n               .pipe(pref({\r\n                   'android-minSdkVersion': '16',\r\n                   'android-targetSdkVersion': '22',\r\n                   'loadUrlTimeoutValue': '30000'\r\n               }))\r\n               .pipe(android())\r\n               .pipe(gulp.dest('apk'));\r\n\r\n\r\nAny advice here? Fairly frustrating problem!"},"comment":{"url":"https://api.github.com/repos/SamVerschueren/gulp-cordova-build-android/issues/comments/140402257","html_url":"https://github.com/SamVerschueren/gulp-cordova-build-android/issues/10#issuecomment-140402257","issue_url":"https://api.github.com/repos/SamVerschueren/gulp-cordova-build-android/issues/10","id":140402257,"user":{"login":"SamVerschueren","id":1913805,"avatar_url":"https://avatars.githubusercontent.com/u/1913805?v=3","gravatar_id":"","url":"https://api.github.com/users/SamVerschueren","html_url":"https://github.com/SamVerschueren","followers_url":"https://api.github.com/users/SamVerschueren/followers","following_url":"https://api.github.com/users/SamVerschueren/following{/other_user}","gists_url":"https://api.github.com/users/SamVerschueren/gists{/gist_id}","starred_url":"https://api.github.com/users/SamVerschueren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamVerschueren/subscriptions","organizations_url":"https://api.github.com/users/SamVerschueren/orgs","repos_url":"https://api.github.com/users/SamVerschueren/repos","events_url":"https://api.github.com/users/SamVerschueren/events{/privacy}","received_events_url":"https://api.github.com/users/SamVerschueren/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T13:58:56Z","updated_at":"2015-09-15T13:58:56Z","body":"Hi\r\n\r\n1. Yes the generated package is `android-debug.apk` or `android-release.apk`. No it should not be named with the provided ID :). This is how cordova spits out the files.\r\n\r\n2. Not sure what this problem can be. Maybe it's a version problem. Can you use [gulp-cordova-version](https://github.com/SamVerschueren/gulp-cordova-version) and set the version of your application?\r\n\r\nKind regards,\r\nSam"}}