Make sure you have _NO_SPACES_ in the directories of all development
tools: JDK, Ant, Android SDK. This is *MANDATORY*.
Update the project to the latest version from SVN to get the latest
changes needed for the latest Android SDK.
Add Ant to the PATH. Android SDK does not need to be in the PATH.
Go into <ZXING>/core and execute:
ant
Go into <ZXING>/android and execute (one line):
ant -Dandroid-home=C:/Path/To/Android/SDK -Dno-optimize
Notice the forward slashes. Notice the no-optimize to avoid Proguard
requirement.
2010/12/23 alex_p <alex.ph...@googlemail.com>:
The line should read:
ant -Dandroid-home=C:/Path/To/Android/SDK -Dno-optimize=
Notice the trailing equals sign (=).
On the other issue: the errors you are seeing are related to a
change in the latest Android SDK. Those have been fixed recently by
Sean, so update the source from the SVN repository.
2010/12/23 alex_p <alex.ph...@googlemail.com>: