PDA

View Full Version : [ubuntu] android programming on ubuntu



mahdi68
August 9th, 2009, 07:36 PM
Hi , i want to learn programming for android , so i download android sdk 1.5 and netbeans plugin . i have a problem when i run program that i Have written emulator not shown !!! and this message shown : select device
please help me , what i should do ???

phillw
August 9th, 2009, 09:49 PM
Hi , i want to learn programming for android , so i download android sdk 1.5 and netbeans plugin . i have a problem when i run program that i Have written emulator not shown !!! and this message shown : select device
please help me , what i should do ???


Try this guys solution ...

http://ubuntu-unleashed.com/2008/10/howto-run-google-android-on-ubuntu.html

Hope it is of help.

Regards,

Phill.

jordilin
August 9th, 2009, 10:04 PM
Hi , i want to learn programming for android , so i download android sdk 1.5 and netbeans plugin . i have a problem when i run program that i Have written emulator not shown !!! and this message shown : select device
please help me , what i should do ???

Have you created an Android Virtual Device?:

android create avd --target 2 --name my_avd

mahdi68
August 10th, 2009, 09:10 AM
Try this guys solution ...

http://ubuntu-unleashed.com/2008/10/...on-ubuntu.html

Hope it is of help.

i download andorid-sdk-linux_x86-1.5_r3 and extract it ,then cd to tools in the android directory then double click on emulator but absolutely nothing happen !!!

Have you created an Android Virtual Device?:
Code:

android create avd --target 2 --name my_avd


i try this cod but its not work !!!

mahdi68
August 10th, 2009, 10:20 AM
how can i create android virtual device ???

phillw
August 10th, 2009, 12:08 PM
I'll give the instructions in the article i posted a try myself ...

Give me a little while.

Regards,
Phill.

phillw
August 10th, 2009, 12:58 PM
<< Back

Well, this is what I did ... Followed the instructions with the exception of emulator - as, like you, it did not do anything !!!

I followed the instructions here .... to get the package..

http://developer.android.com/sdk/1.5_r3/index.html

Then followed the instructions here .....

http://developer.android.com/sdk/1.5_r3/installing.html

- I downloaded Eclipse... I kept notes of what went on, I post them below ..



did the apt-get for the sun engine

Already have it.

Got and uncompressed the android-sdk... (onto my desktop, so I can find it !)

Downloaded eclipse-java-galileo ... My system used archive manager, I unzipped, again to desktop

Ran Eclipse - set it to the default directory (~home/phillw/workspace)

My version shows as
/galileo/eclipse//plugins/org.eclipse.platform_3.3.200.v200906111540/splash.bmp
-launcher

(v3.3)

Although, when adding the ADT plug-in, it appears I have v3.4 !!

Next, installed the ADT plug-in as per instructions for v3.4 (Ganymede)

After a few moments, "Developer Tools" appears, put tick in box, then the Next> button.

Next>, again, accept the terms & conditions

Finish.

Now, it's away doing an install (It's gr8 fun, this.... It better not hurt my installation !!!)

Restarted eclipse..

Windows, Preferences ...

Select Android on left ...

Browse to SDK directory...

Click OK ... wait a minute & 3 Target names appear

Click 'OK' ...

And, with no errors reported, according to the installation instructions, it's running !!!


Hope the above is of help.

Regards,

Phill.

P.S. While having a play ...I worked out that under the windows menu you have the android AVD Manager .. You can go and create a choice, in my case, of three types
with 2 sizes of SD card.

mahdi68
August 10th, 2009, 09:14 PM
tanks a lot :P

syed.rakib.al.hasan
May 17th, 2010, 06:47 PM
i am having some problems starting the AVD.

my android virtual device shows up when the AVD is hit to start. but it doesnt show up properly.
~ i am using android 2.1 API-7.
~ i am using linux ubuntu 9.10 karmic
~ i am using eclipse 3.5

the problems is

upon setting up the AVD from AVD Manager in eclipse - the defaul skin HVGA cannot be used. it says "Skin HVGA does not exist"

please help.....
please help.....
please help.....

screenshot for the NO HVGA skin problem
http://i.imgur.com/NX5Vs.png