We are about to switch to a new forum software. Until then we have removed the registration on this forum.
When I try to run ant at android-core build.xml the message show below: Buildfile: C:\Users\Jiaqi Ning\git\processing-android\core\build.xml sdk_chatter: [echo] ANDROID_SDK not set, skipping build of android-core.zip actual_build: build: BUILD SUCCESSFUL Total time: 232 milliseconds And then when I try to build android-mode build.xml the error show below: Buildfile: C:\Users\Jiaqi Ning\git\processing-android\build.xml compile: sdk_chatter: [echo] ANDROID_SDK not set, skipping build of android-core.zip actual_build: build:
BUILD FAILED C:\Users\Jiaqi Ning\git\processing-android\build.xml:29: Please build the core library first and make sure it sits in ../processing/core/library/core.jar
Total time: 272 milliseconds
How could I build the android mode successfully?I have already add ANDROID_LIB at build path
Answers
Are you sure that you have Android SDK Build-tools installed?
@Ater Thanks for reply.I am an android developer.I do have android sdk installed and environment variable setup. And I also try to add “ANDROID_SDK" in eclipse build path,but not get any luck.
I'm not an expert, but it looks like most of the problems arise from using wrong versions of API (10 should be installed) or other components, If you're an Android developer there is a chance you have newer versions that cause problems. There are also some points about using eclipse with Android mode https://github.com/processing/processing-android/wiki#Using_Eclipse_for_Development That's all I can help with, sorry.