Android emulator in Ubuntu
Basic Requirements:-                To Install openjdk-6-jreIf you have 64-bit operating system – you need to install la32...
downlad latest android sdk here   http://developer.android.com/sdk/index.html    extract .tgz file in your home directory
open the android-sdk-linux => tools => double clickandroid file => click run
click the Available Packages then choose the android platformversion and click install selected
now its take some time to install
Create vitual sd card for ur phoneUsing the below command to create    In terminal go to ur android tools directory       ...
After installation completed to click vitual devices => click newNow enter ur name of android vitual deviceChoose the targ...
Click start button - now ur avd is ready to use
You can add files into ur sdcard $ mkdir /media/mycard  $ sudo mount -o loop /android/tools/mysdcard512Mb/media/mycard #ad...
Setting Up ADB/USB Drivers forAndroid Devices in Linux(Ubuntu)
ADB (Android Debug Bridge)ADB (Android Debug Bridge) is a handy tool that comeswith Android SDK that allows you to control...
Create this file:$ sudo /etc/udev/rules.d/##-android.rules NOTE: In the above file replace ## with the number 50 if you ar...
The file should read:For Gusty/Hardy: SUBSYSTEM==”usb”, SYSFS{idVendor}==”0bb4″, MODE=”0666″For Dapper: SUBSYSTEM==”usb_de...
MANUFACTURER         USB VENDOR IDAcer                 0502Dell                 413cFoxconn              0489Garmin-Asus  ...
Change permission: $ sudo chmod a+rx /etc/udev/rules.d/70-android.rulesTo run ADB you need to add an environment variable ...
Common ADB commands     $ adb kill-server     $ adb start-server     $ adb shell     $ adb install     $ adb push     $ ad...
BY          Rajkumar.S         Kanchi Linux Users GroupHttp://upcomer.wordpress.com    Http://kanchilug.wordpress.com
Android in ubuntu
Upcoming SlideShare
Loading in...5
×

Android in ubuntu

1,336

Published on

This document is used to install android emulator in ubuntu and more&more

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,336
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Android in ubuntu

  1. 1. Android emulator in Ubuntu
  2. 2. Basic Requirements:- To Install openjdk-6-jreIf you have 64-bit operating system – you need to install la32-libs also
  3. 3. downlad latest android sdk here http://developer.android.com/sdk/index.html extract .tgz file in your home directory
  4. 4. open the android-sdk-linux => tools => double clickandroid file => click run
  5. 5. click the Available Packages then choose the android platformversion and click install selected
  6. 6. now its take some time to install
  7. 7. Create vitual sd card for ur phoneUsing the below command to create In terminal go to ur android tools directory => cd /home/USER_NAME/android-sdk-linux_x86/toolsThen type $ ./mksdcard 512M mysdcard512Mb
  8. 8. After installation completed to click vitual devices => click newNow enter ur name of android vitual deviceChoose the target android versionChoose ur virtual sdcard using browse button, before wecreatedIn hardware field, what are the features u want in urvirtual deviceJust click the new button to add more and moreFinally Click create AVD
  9. 9. Click start button - now ur avd is ready to use
  10. 10. You can add files into ur sdcard $ mkdir /media/mycard $ sudo mount -o loop /android/tools/mysdcard512Mb/media/mycard #add files using cp command $ sudo umount /media/mycard
  11. 11. Setting Up ADB/USB Drivers forAndroid Devices in Linux(Ubuntu)
  12. 12. ADB (Android Debug Bridge)ADB (Android Debug Bridge) is a handy tool that comeswith Android SDK that allows you to control and interfacewith your Android device.
  13. 13. Create this file:$ sudo /etc/udev/rules.d/##-android.rules NOTE: In the above file replace ## with the number 50 if you are running Gusty/Hardy/Dapper (50-android.rules) or with the number 70 if you are running Karmic Koala/Lucid Lynx/Maverick Meerkat(70-android.rules)
  14. 14. The file should read:For Gusty/Hardy: SUBSYSTEM==”usb”, SYSFS{idVendor}==”0bb4″, MODE=”0666″For Dapper: SUBSYSTEM==”usb_device”, SYSFS{idVendor}==”0bb4″, MODE=”0666″For Karmic Koala: SUBSYSTEM==”usb”, SYSFS{idVendor}==”0bb4″, MODE=”0666″For Lucid Lynx: SUBSYSTEM==”usb”, SYSFS{idVendor}==”0bb4″, MODE=”0666″For Maverick Meerkat: SUBSYSTEM==”usb”, ATTR{idVendor}==”0bb4″, MODE=”0666″NOTE: In the above lines the code ”0bb4″ refers to a HTC device. If yourphone is from a different manufacturer, replace the code with theappropriate from the table.Which operating you are using to an appropriate line tocopy and paste on that file
  15. 15. MANUFACTURER USB VENDOR IDAcer 0502Dell 413cFoxconn 0489Garmin-Asus 091EHTC (Older Phones) 0bb4HTC (Newer phones) 18d1Huawei 12d1Kyocera 0482LG 1004Motorola 22b8Nexus One/S 18d1Nvidia 0955Pantech 10A9Samsung 04e8Sharp 04ddSony Ericsson 0fceZTE 19D2
  16. 16. Change permission: $ sudo chmod a+rx /etc/udev/rules.d/70-android.rulesTo run ADB you need to add an environment variable to your bashrc file:1. Open a terminal window and type: $ sudo gedit ~/.bashrc2. Add the following line at the end: export PATH=${PATH}:/home/YOUR-USERNAME/android-sdk-linux_x86/platform-tools3. Save and closeYou should be ready to go, type $ adb devices in a terminal windowwith your phone plugged in. It shows your deviceHT99PHF02521 device
  17. 17. Common ADB commands $ adb kill-server $ adb start-server $ adb shell $ adb install $ adb push $ adb pullDownload android emulator skins linkhttp://teavuihuang.com/android/
  18. 18. BY Rajkumar.S Kanchi Linux Users GroupHttp://upcomer.wordpress.com Http://kanchilug.wordpress.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×