Android :: Running Emulator Image With Standard Qemu
May 4, 2009Is it possible to run the android image distributed with the SDK using the standard qemu executable (instead of the emulator executable)?

Is it possible to run the android image distributed with the SDK using the standard qemu executable (instead of the emulator executable)?
I want to start playing around with Android. Downloaded the sources and followed the instructions from the download page
Made a plain generic build:
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=
But how can i create an e.g.qemu image from that. I looked around the /out dir,found the host tools and the emulator but dont know where to start to get this running.
I was experimenting with QEMU, x86 emulator on Android on my Asus Memo FHD tab which is already based on an x86 Atom architecture.
I see way slower speeds (unusable) than I read about arm based counterparts. I assume this is because QEMU assumes ARM architecture and the x86 atom is also emulating ARM.
-Is there an other way to emulate a complete x86 system faster on this architecture?
I'm trying to find the standard Android image used in Android 1.6 for an SMS action. The one that can be seen under contact details that looks like a postcard.I noticed that there was a standard image "sys_action_sms" which looked like a chat bubble in Android 1.0, but apparently that was removed at some point.
View 1 Replies View RelatedI have a project that builds against Android v2.1 . I can run it fine on a phone running 1.5 but when I try to launch it with an emulator running 1.5, the emulator doesn't show up on the list of available AVDs. I have the <uses-sdk android:minSdkVersion="3"/> tag in my manifest but it doesn't make a difference.
View 2 Replies View RelatedI want to change standard resources, such as button background, programatically to allow applications using standard buttons be displayed with custom background. My problem is - how shall I identify the path for retrieval resources on phone or emulator? And if we have permissions to access to those resources?
View 1 Replies View RelatedI downloaded the most recent version of Android for linux (android-sdk_r05-linux_86.tgz). I was trying to use the the Android Ant task(s) for packaging, building, and deploying my code. I should mention that I'm running AMD64, but have the 32-bit libraries installed. The Android Ant tasks are all broken.
First, the start-emulator task never gets the emulator running. It does get past starting adb, but then just sits there.
Second, the SDK is missing the aapt binary in the tools directory. So, the example notepad sample application will not even package correctly.
I have all the dependencies configured for Android. I can run it from the command line just fine.I assume the Ant code is out of sync with the recent SDK updates. Can anyone shed some light on this problem? At this point, I'm considering writing my own Python scripts to interact with the Android SDK. Ugh.
It appears that Android supports JUnit 3 out of the box.�However, I have some pre-existing JUnit 4 unit tests that I'd like to try on Android. I've tried adding the JUnit 4 jar to eclipse and compiling/ running the tests by pointing a standard JUnit run against them, but nothing seems to happen.�There's no evidence in the eclipse console or the Android emulator that any tests have been run.
Can anyone with knowledge about this subject comment?�Is it even possible to run JUnit 4 tests under Android, and if so, is there a step-by-step explanation as to how to achieve this (preferably under Jetbrains IDEA IDE, and/or Eclipse).
Finally strace gave me this:
CODE:................
And several other attempts to call "link" that also fail (sshfs does not support hard links).
Is it possible to change the emulator's behavior to create lock files somewhere in /tmp (using some hash of image path as lock file name)? I am OK to try this myself: which repositories from https://android.git.kernel.org/ are necessary to rebuild the emulator alone, and where in the sources is the code responsible for image locks?
I am getting the following error when I try running my program in the emulator:
emulator: ERROR: the user data image is used by another emulator. aborting`
I have instaled Handcent and gone into my standard message settings and turned off all ntifications and reports but when I check my app killer it shows it as still running all the time. Really annoying as it's extra drain on the battery.
View 1 Replies View RelatedIs it possible to develop/test/run applications without the slow emulator based on qemu? It thought Dalvik runs on a PC andn the platform is based on Java so it should be possible to test Android applications without that slow emulator. I imagined a GTK application that just opens a window and runs the app. This should be much faster than running the emulator.
View 4 Replies View RelatedI am new to developing for android and I have a problem. I can't debug my app on the device by running ABD devices I can only see the emulator!
View 2 Replies View RelatedI have set my android sdk, and reached the main activity page. But when i run the first app of hello world, nothing happens. I have also set the android virtual device manager. so in short, i've a problem that emulator is not running.
View 5 Replies View RelatedI'm running Leopard. I create an avd without problem, but when I run it I get a bus error. I've tried to run the emulator both with and without adb running first. Eclipse (w/ ADT) is not yet running. Any ideas?
View 6 Replies View RelatedI have issue with running apps in emulator from Eclipse. I was using tutorials from http://developer.android.com: http://developer.android.com/guide/tutorials/hello-world.html http://developer.android.com/resources/tutorials/hello-world.html
Also, i tried running sample projects delivered with SDK. Whenever i run project, emulator loads but my project is not installed. And when emulator loads, nothing happens. I was searching on web a bit, and i figured that if i restart 'server' it continues to install my app:
android-sdk ools>adb kill-server - D:...android-sdk ools>adb start-server - * daemon not running. starting it now * - * daemon started successfully *
Log:
New emulator found: emulator-5554 - Waiting for HOME ('android.process.acore') to be launched.
You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To un subscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?
Downloaded the new 2.0 sdk the other day, and tried testing my app on 2.0 via the emulator. I am using eclipse, and when i click run, the new emulator runs with my 2.0 avd. but when eclipse tries to install it i get this in the console. Installation error: INSTALL_FAILED_CPU_ABI_INCOMPATIBLE Please check logcat output for more details. the log has this 11-04 18:16:01.818: ERROR/Package Manager(53): Package com.(package).android has mismatched uid: 10025 on disk, 10026 in settings; read messages: 11-04 18:16:01.818: ERROR/PackageManager(53): Read completed successfully: 41 packages, 6 shared uids 11-04 18:16:01.906: WARN/PackageManager(53): Install failed: .apk has native code but none for arch armeabi 11-04 18:16:01.932: WARN/PackageManager(53): Package couldn't be installed in /data/app/com.(packagename).android.apk I can not figure out why it does this. I have searched aimlessly for answer and this is one of my last resorts.
View 9 Replies View RelatedI set up Eclipse as directed on the android development site, and ran the emulator after building one of the sample apps. The emulator comes up and just displays some text and doesn't function after that. The program doesn't even seem to run. I am following the steps on the site exactly (or at least I think I am), but no matter what program I try to run on the Emulator it never seems to function (just displaying that same message).
View 5 Replies View RelatedI have removed all Input Managers that were added, but it's still happening. Any ideas?
Process: emulator [460]
Path: /usr/local/dev/android/android-sdk-mac_x86-1.5_pre/tools/emulator
Identifier: emulator
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: bash [275].....................
I have written some code in eclipse and I want to run it on two separate Android emulators.
How do I do this when I click "Run"?
I read online and it said I need to do AVD configuration. What is that and how do I do that?
How to run the emulator within eclipse without using ADT. All I want to do is run the emulator with -partition-size option of the emulator and you cant do this by default. Im sure there might be a tricky way of doing this but googling doesn't give me any clues. does any one know ? I also thought about running the emulator as part of a script and call the script within eclipse.
View 1 Replies View RelatedI need to force an Android project created in Eclipse for the 2.0 platform to run on the 1.5 AVD (emulator). This is due to the fact that I'm writing an app that will support both the Contacts API and the ContactsContract API.
View 2 Replies View RelatedI have a android but I love I phone.... It's so good looking.. So, i wanna try an Ios emulator for android..
View 9 Replies View RelatedIs there any way to connect the debugger to an emulator running on a remote machine? It's using TCP so I suppose it shouldn't be too difficult, but I can't figure out how. I would like to run the emulator on my (fast) laptop and do my coding on my (slow, but with bigger screen) desktop machine.
View 4 Replies View RelatedIs there anyone have successful experience getting nexus 1 kernel running on top of the emulator coming with the SDK 2.1? I can not even bootstrap the kernel , I mean I didn't see something like the following as what I did on goldfish kernel Uncompressing Linux. done, booting the kernel. .....
View 2 Replies View RelatedWhen launching my app from within Eclipse, sometimes the running emulator is found and displayed in the launch dialog, sometimes it isn't?! Killing adb, the emulator and Eclipse usually helps until it happens again. Any idea why this is? I see this behavior since the launch of Android. I am running on Mac OS X. And it happened on Leopard as well as Snow Leopard.
View 9 Replies View RelatedI'm running the emulator using the dev phone system images of 1.6 to download paid apps from the market to use on my htc desire in sweden. Why? because the market for paid apps isn't available here. The apps in question aren't available on slideme etc either so this is my last resort. One problem arised: An app I downloaded works for 2.1 and desire, but when I download it from the market with the emulator with 1.6 I get an older "legacy" version of the app that isn't compatible with 2.1. Due to this I wonder if there is any hackie crackie crazy way of getting a 2.1 system image onto the emulator or in any other way fooling the android market app or whatever to download apps as if the emulator phone was 2.1?
View 4 Replies View RelatedWhat's the best way to record a video showing things running on the Android Emulator? I want to record little demo videos of stuff running so I can put it on YouTube. I'm running the emulator on either Windows or a Mac.
View 6 Replies View RelatedI am trying to write an android application and my workflow is as follows:
Write some code
Click run as Android Application
Eclipse then starts the android emulator
Install the app on the emulator
Run it
It seems to me that there is no need for it to start an android emulator(3) each time and to kill it. It'd be nice if there was a way an android emulator always running and eclipse just installs/uninstalls the app instead of making me wait every time.
How to find, what are the tasks running in android emulator?
View 3 Replies View Related