Академический Документы
Профессиональный Документы
Культура Документы
http://crashcourse.ca/content/android-emulator-...
The Wiki
Testimonials
Contact Us
Courses
Introduction to Linux Kernel Programming
Home
search... Search
User login
Username: *
Printer-friendly version
Free Tutorials
Source RPMs under CentOS Android SDK Mercurial for beginners MongoDB under Ubuntu Nuxeo DAM for Ubuntu Which Java for Ubuntu?
Java? Java!
Unsurprisingly, you'll need Java and, as far as I can tell, the standard OpenJDK implementation should work just fine, but I'm willing to be corrected:
$ sudo apt-get install openjdk-6-jdk
Password: *
Log in
Once that's installed, you might want to verify that it seems to work:
$ java -version java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-4ubuntu3) OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode) $
Shopping cart
View your shopping cart.
So what you need to do is run the following, and select whatever versions of the SDK you're going to need. Unless you're being frugal, just select everything since you never know if you'll need to support older versions:
$ android update sdk
Recent comments
Run objdump on hello{,.o} 4 min 25 sec ago
Depending on your download speed, take a break. Once the entire download is done, you can
1 of 3
05/11/2011 06:58 AM
http://crashcourse.ca/content/android-emulator-...
Eine PKV Stiftung Warentest 15 hours 54 min ago Linux 2.6 Version 4 days 18 hours ago Do all modules have proc_open(), etc. 5 days 33 min ago Oh good! A mystery. 5 days 37 min ago Interesting Update 5 days 2 hours ago crash_syms2_exported: Wonder what I'm missing ... 6 days 7 hours ago Why yes, it *is* gone! 1 week 17 hours ago More fun 1 week 17 hours ago git diff 1 week 1 day ago
Syndicate
So that tells us that we have support for various versions of Android, but no virtual devices yet. No problem. Time to create some virtual devices.
Select "New," give your new Android Virtual Device (AVD) a name and so on, but there's one caution -- apparently, there's still a bug (reported by your humble author) that you can't select an SD card image of size 2G or larger so just pick something smaller. Once that appears to be done, close the window and verify you have a new AVD (given some values I pulled out of thin air):
$ android Available Name: Path: Target: list avds Android Virtual Devices: avd2.2 /home/rpjday/.android/avd/avd2.2.avd Android 2.2 (API level 8)
Note that, the first time you run the emulator on a new AVD, it might take a while so be patient. And now, the fun part -- installing a new app.
2 of 3
05/11/2011 06:58 AM
http://crashcourse.ca/content/android-emulator-...
A detailed explanation of how to install a new Android app can be found here, but let's keep it short. Assuming you have your new app in .apk file format, simply make sure your emulator is running:
$ adb devices List of devices attached emulator-5554 device $
whereupon the icon for your new app should show up in the emulator. Comments? Questions? android emulator ubuntu Add new comment Printer-friendly version
Comments
emulator cannot be stopped, only killed
Submitted by Visitor on Thu, 2011-03-17 22:44.
I wonder if somebody faced an issue when after clicking emulator's x-button it becomes frozen (while there is some disk activity) and never exits. Restarting Ubuntu in this situation never ends either. But it is possible to kill the process and this somehow helps. Thanks. reply
We know
We're aware of the time and budget pressures at most companies, normally accompanied by the plaintive cry from management of, "Yes, I know we need training on that topic, but I just can't afford to send my entire team away for three (or four or five) days to get it!" And that's where we come in.
Choices!
The main focus at Crashcourse is to offer a choice of intense, 1-day, hands-on courses on specific topics in Linux and open source. And given that we already have the laptops for the delivery of that training, the idea is to show up early, set up a classroom, then spend the day teaching exactly the topic you're interested in. No travel time, and no wasted classroom time.
Customization
If we don't already have a course that addresses the topic you're interested in, drop us a note and we'll see what we can do -- our content providers can almost certainly put together a course that's precisely what you're after.
The difference
While there are a variety of sources for Linux and open source training, we at Crashcourse are taking a slightly different approach. Our philosophy is simple: exactly the training you want, and no wasted time or travel to get it.
The Wiki
Testimonials
Contact Us
3 of 3
05/11/2011 06:58 AM