Upgraded to V1.0.0 and cannot build .apk file

Did the following:

  1. Ran ‘ionic lib update’ and ‘cordova lib update’. Now package.json contains: “version”: “1.0.0” for the ionic project.

  2. ‘ionic -v’ command return 1.3.16

  3. ‘ionic build android’ does not generate a .apk file.

What can be the issue?

What is the error displayed?

There are no errors displayed in the browser. Only an ionic serve to the browser is done. A ionic serve --lab also does not work.

All of the below commands do not generate an apk file. Nor is any output displayed when the below commands are run.

C:\Users\r\v1>ionic lib
Local Ionic version: 1.0.0-rc.0 (C:\Users\r\v1\www\lib\ionic\bower.json)
Latest Ionic version: 1.0.0-rc.1 (released 2015-03-16)

  • Local version is out of date

C:\Users\r\v1>ionic build andriod

C:\Users\r\v1>ionic emulate andriod

C:\Users\r\v1>

when in doubt, remove the platform and re-add it - possibly update the cli

npm install -g ionic
ionic platform remove android
ionic platform add android
ionic build android

Thanks for your suggestions.

Ran the following and still cannot generate an apk file. Will perform a reinstall, When Ionic is installed on another workstation works fine.

npm cache clean
npm install -g cordova ionic
npm update -g ionic
ionic platform remove android
ionic platform add android
ionic build android

Try to update ionic version to rc1 with ionic lib update. You can also try to make apk with adt bundle and eclipse. Few days ago I had a problem just on android with wrong jre version.