Build Android app in Debug Mode

  Options

Build Android app in Debug Mode

  1. Before going to Build using Ant, you must setup "xsl/mobile/android/android.config" file.

    Important

    IMPORTANT : This means the platform number of Android target vertion which is given under

    $ android list targets

    Please refer for more details Android Documentaion.

  2. Go to the directory where your Android project located. Then run following command from Terminal :

    $ /path/to/my_new_cordova_project/cordova/debug

    on windows

    $ path\to\my_new_cordova_project\cordova\debug.bat

    Note

    NOTE: This will created an android app which is signed by debug 'keystore'. You can not distribute it for end-users. But can be use for debuging purpose.For more details about Expiry of the Debug Certificate, refer Signing in Debug Mode in Android Documentation and for any issue.