Results 1 to 9 of 9

Thread: android programming on ubuntu

  1. #1
    Join Date
    Mar 2009
    Location
    IRAN-Tabriz
    Beans
    5
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Question android programming on ubuntu

    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 ???
    Attached Images Attached Images

  2. #2
    Join Date
    May 2009
    Location
    North West England
    Beans
    2,675
    Distro
    Ubuntu Development Release

    Re: android programming on ubuntu

    Quote Originally Posted by mahdi68 View Post
    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/...on-ubuntu.html

    Hope it is of help.

    Regards,

    Phill.

  3. #3
    Join Date
    Oct 2005
    Location
    @ /home
    Beans
    804
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: android programming on ubuntu

    Quote Originally Posted by mahdi68 View Post
    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?:
    Code:
    android create avd --target 2 --name my_avd

  4. #4
    Join Date
    Mar 2009
    Location
    IRAN-Tabriz
    Beans
    5
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: android programming on ubuntu

    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 !!!

  5. #5
    Join Date
    Mar 2009
    Location
    IRAN-Tabriz
    Beans
    5
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: android programming on ubuntu

    how can i create android virtual device ???

  6. #6
    Join Date
    May 2009
    Location
    North West England
    Beans
    2,675
    Distro
    Ubuntu Development Release

    Re: android programming on ubuntu

    I'll give the instructions in the article i posted a try myself ...

    Give me a little while.

    Regards,
    Phill.

  7. #7
    Join Date
    May 2009
    Location
    North West England
    Beans
    2,675
    Distro
    Ubuntu Development Release

    Re: android programming on ubuntu

    << 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 ..

    Code:
    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.
    Last edited by phillw; August 10th, 2009 at 01:17 PM. Reason: added AVD

  8. #8
    Join Date
    Mar 2009
    Location
    IRAN-Tabriz
    Beans
    5
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: android programming on ubuntu

    tanks a lot

  9. #9
    Join Date
    Mar 2010
    Beans
    48

    Re: android programming on ubuntu

    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





    Last edited by syed.rakib.al.hasan; May 17th, 2010 at 11:26 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •