finally solve the problem

what i do :

rm -rf ~/.android
apt-get remove sun-java5-jdk
apt-get remove sun-java6-jdk
download eclipse3.4 from www.eclipse.org
adt setting ..  sdk setting  ...
and the problem still exist

so i close eclipse and try to  build up project by use command :

~/android_sdk/tools/    ./activityCreator.py --out ./workspace/
myproject your.package.name.ActivityName
~/workspace/myproject/  ant
~/android_sdk/tools/  ./adb install ~/workspace/myproject/bin
myproject-debug.apk

it works !

then i open eclipse again
write another project
the problem is gone !!!!
and what i build is myproject2.apk not myproject2-debug.apk

a little strange

but i think it's because when i build up project by use command,
android sdk make some record in ~/.android
and when  start to work on elipse it will read the record  in
~/.android  first !

thanks you all !^^







On 9月4日, 下午4時06分, anderson <[EMAIL PROTECTED]> wrote:
> so iis there any setting about eclipse i should do ?
> since i use command line and try to follow the document
> i do success with making *.apk by use activitycreator, but it's name
> project-debug.apk !
>
> On 9月4日, 下午3時32分, anderson <[EMAIL PROTECTED]> wrote:
>
> > yes i try eclipse 3.2 (apt-get by ubuntu)
> > eclipse 3.3 eclispe 3.4
> > all have the some problem
>
> > but
> > at " ~/android-sdk-linux_x86-0.9_beta/samples/Snake/bin"
> > Snake-debug.apk exists
>
> > - Snake] Android Launch!
> > - Snake] adb is running normally.
> > - Snake] Could not find Snake.apk!
--~--~---------~--~----~------------~-------~--~----~
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