i have some problem with linux (ubuntu)
when use "apt-get install eclipse " , that will install eclipse
3.2.2-5ubuntu2

but it's recommand to use  Eclipse 3.3 (Europa), 3.4 (Ganymede)

http://code.google.com/android/intro/installing.html
supported Development Environments:
* Eclipse IDE
o Eclipse 3.3 (Europa), 3.4 (Ganymede)

so i download Eclipse 3.4 unzip it and follow the document

i open the project that already in "sample/Snake "
but cant find Snake.apk

eclipse console message :

- Snake] Android Launch!
- Snake] adb is running normally.
- Snake] Could not find Snake.apk!

so i try to use command line

" ./activitycreator --out ../samples/Snake/ com.android.snake.Snake "
then u get sample/Snake/build.xml
then run ant
it shows
---

Buildfile: build.xml

dirs:
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /home/test/android-sdk-linux_x86-0.9_beta/
samples/Snake/bin/classes

resource-src:
     [echo] Generating R.java / Manifest.java from the resources...

aidl:
     [echo] Compiling aidl files into Java classes...

compile:
    [javac] Compiling 4 source files to /home/test/android-sdk-
linux_x86-0.9_beta/samples/Snake/bin/classes

dex:
     [echo] Converting compiled files and external libraries into bin/
classes.dex...

package-res:

package-res-and-assets:
     [echo] Packaging resources and assets...

debug:
     [echo] Packaging bin/Snake-debug.apk, and signing it with a debug
key...
     [exec] null

BUILD FAILED
/home/test/android-sdk-linux_x86-0.9_beta/samples/Snake/build.xml:210:
exec returned: 1

---

but
at " ~/android-sdk-linux_x86-0.9_beta/samples/Snake/bin"
Snake-debug.apk exists

but "file Snake-debug.apk "

it shows : Snake-debug.apk: empty

i dont know why ? it's a problem with ubuntu enviroment setting or
eclipse setting ?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to