docs:android:starting_an_android_project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docs:android:starting_an_android_project [2011/03/11 21:45] billhdocs:android:starting_an_android_project [2012/02/14 20:49] (current) – [Build] billh
Line 26: Line 26:
   - build the app in debug mode: ant debug   - build the app in debug mode: ant debug
     * note that the first attempt of 'ant debug' failed saying the debug certificate was expired; online search said to delete ~/.android/debug.keystore; the build then succeeded     * note that the first attempt of 'ant debug' failed saying the debug certificate was expired; online search said to delete ~/.android/debug.keystore; the build then succeeded
 +    * if you get the error %%taskdef class com.android.ant.SetupTask cannot be found%%, you have probably changed the install location of the android sdk 
 +      * update the local.properties file in the root of your project to have the correct path to the android sdk
 ==== R.java ==== ==== R.java ====
 R.java is necessary for the app to run, and is referenced in some tutorials.  This file may not exist at first, but will be created the first time you build the project.  It may be possible to create the file with the right ant target but I couldn't get it to work with recent sdk's that way. R.java is necessary for the app to run, and is referenced in some tutorials.  This file may not exist at first, but will be created the first time you build the project.  It may be possible to create the file with the right ant target but I couldn't get it to work with recent sdk's that way.
  • docs/android/starting_an_android_project.1299905122.txt.gz
  • Last modified: 2011/03/11 21:45
  • by billh