Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
docs:android:starting_an_android_project [2011/03/11 21:45] – billh | docs: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 ~/ | * note that the first attempt of 'ant debug' failed saying the debug certificate was expired; online search said to delete ~/ | ||
+ | * 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. | R.java is necessary for the app to run, and is referenced in some tutorials. |