Closed GoogleCodeExporter closed 9 years ago
Ant version is 1.7.1 for this error.
Original comment by barney....@gmail.com
on 15 Sep 2010 at 8:38
Same problem on Win7x64
Original comment by david.j....@gmail.com
on 9 Dec 2010 at 9:17
Hi,
the problem comes from here
in the droiddraw.jar file is a Zip archive 'activity.zip' in the directory data
which contains in the file 'build.xml' a hardcoded path to the Android SDK
<property name="sdk-folder"
value="/Users/bburns/devel/android-sdk_m5-rc15_mac-x86" />
<property name="android-tools"
value="/Users/bburns/devel/android-sdk_m5-rc15_mac-x86/tools" />
one possible workaround
1. unzip droiddraw.jar data\activity.zip
2. cd data
3. unzip activity.zip activity\build.xml
4. change in file activity\build.xml, in the above mentioned sections, the path
to your Android SDK
5. -- still in data\ directory
zip -f activity.zip activity\build.xml
6. cd ..
7. zip -f droiddraw.jar data\activity.zip
Original comment by Dietrich.Frank@gmail.com
on 9 Dec 2010 at 11:11
Yes, this is broken, and never really worked correctly in the first place.
This should be updated to use
com.android.sdkmanager.Main to generate the new project (see
http://developer.android.com/guide/developing/other-ide.html for details...)
Original comment by brendan....@gmail.com
on 17 Jan 2011 at 4:48
Issue 232 has been merged into this issue.
Original comment by brendan....@gmail.com
on 28 Dec 2011 at 6:18
Hi,
please find attached a patch to solve this issue.
An environment variable ANDROID_PLATFORM_SDK, pointing to the platform SDK home
directory, must be defined in the session before DroidDraw is executed.
example:
Linux: export ANDROID_PLATFORM_SDK=/opt/android-sdk/platforms/android-13
Windows: set S:\develop\android-sdk\platforms\android-13
Original comment by Dietrich.Frank@gmail.com
on 15 May 2012 at 11:06
Attachments:
This issue was closed by revision r200.
Original comment by brendan....@gmail.com
on 16 Jun 2012 at 8:51
Original issue reported on code.google.com by
barney....@gmail.com
on 15 Sep 2010 at 8:25