nuptboyzhb / droiddraw

Automatically exported from code.google.com/p/droiddraw
0 stars 0 forks source link

ant error on export #165

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install droiddraw
2. run droiddraw
3.  select export as apk 

What is the expected output? What do you see instead?
a generated apk.  Not output.

output seen "Error running ant: 1"

What version of the product are you using? On what operating system?

dd.r1.b16

OS X 10.6.4

Please provide any additional information below.

Original issue reported on code.google.com by barney....@gmail.com on 15 Sep 2010 at 8:25

GoogleCodeExporter commented 8 years ago
Ant version is 1.7.1 for this error.

Original comment by barney....@gmail.com on 15 Sep 2010 at 8:38

GoogleCodeExporter commented 8 years ago
Same problem on Win7x64

Original comment by david.j....@gmail.com on 9 Dec 2010 at 9:17

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
Issue 232 has been merged into this issue.

Original comment by brendan....@gmail.com on 28 Dec 2011 at 6:18

GoogleCodeExporter commented 8 years ago
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:

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r200.

Original comment by brendan....@gmail.com on 16 Jun 2012 at 8:51