anderson 写道:
> 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 ?
>
>
> >
>
>   

Hi guy,
Don't use apt command to install eclipse.You can download it from above
url. And directly perform eclipse file.
The download url is:
http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.4-200806172000/eclipse-SDK-3.4-linux-gtk.tar.gz

Installation steps:
1. download eclipse tar compress file from above url.
2. decompress it by tar command
3. perform eclispe in the installation directory.

ps: you must install java runtime environment, you can use apt install
it first.;)

-- 
Thanks & Regards
Jiang Jiang
E-mail: [EMAIL PROTECTED]



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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