microsoft / vsts-cordova-tasks

Streamline CI setup for your Apache Cordova, PhoneGap, Ionic, or Cordova CLI compatible app using a set of useful pre-defined build steps for VS Team Services or TFS
http://go.microsoft.com/fwlink/?LinkID=691188
Other
25 stars 27 forks source link

Cordova not looking in the correct folder from which to copy APK from #89

Open jarrhead777 opened 6 years ago

jarrhead777 commented 6 years ago

Cordova 8.0.0 outputs the APK in \platforms\android\app\build\outputs\apk\ folder path now. Looks like a new line item need to be added near line 272 in cordova-task.js file.

ekrapfl commented 5 years ago

I am also seeing this issue. Causes us to not be able to use the Output Directory. We have to manually find the APK after the build is done.

k1dbl4ck commented 5 years ago

Using a MacOS agent, I ended up adding a Bash task to manually copy the apk from the "new" location to where it needs to go.