android-emulator

Newly installed Eclipse and Android SDK. Can't get emulator to work. Hangs on clock screen

孤街醉人 提交于 2019-12-04 05:22:26
I'm brand new to development. I've installed Eclipse and Andoid SDK. But, I can't get emulator to work. I've tried the sample notepad code and Hello Android tutorial code. Each time I try to run either app it just hangs on clock screen (screen also says charging 50% and has a padlock). Here is the console info for the sample notepad app. [2011-03-11 15:27:17 - samplenotpad] ------------------------------ [2011-03-11 15:27:17 - samplenotpad] Android Launch! [2011-03-11 15:27:17 - samplenotpad] adb is running normally. [2011-03-11 15:27:17 - samplenotpad] Performing com.example.android.notepad

Android 2.2 AVD: no Quick Search Box?

孤人 提交于 2019-12-04 05:16:33
问题 I have recently updated my Android SDK to include support for Android 2.2 (API level 8). The app that I'm building integrates with the Quick Search Box (QSB) home screen widget, which I can't seem to find in this version (using both vanilla 2.2 and the Google APIs version). I was kind of excited when they announced that they have improved its functionality, but it seems there's no way for me to observe it. Is this normal? Are others experiencing the same issue? Or is this somehow related to

Reverse geocoding in Android with touch event

馋奶兔 提交于 2019-12-04 05:02:47
问题 I have gone through several articles through this stack overflow and other related articles with reverse geocoding. I have intended to find the name of the place with the given latitude and longitude from touch event. I got the latitude and longitude from the touch event but I couldn't get the address from that geo coordinate, it passes in the exception rather then being in the try area, here is the code : public boolean onTouchEvent(MotionEvent event, MapView mapView) { //---when user lifts

Can I use android.os.* libraries in a standalone project?

久未见 提交于 2019-12-04 04:47:56
问题 I'm trying to develop an external library (not sure if that's the right term) to provide prepackaged functionality in Android projects. Working in Eclipse, I've added the appropriate android.jar file to the build path, and everything is happy both while editing and upon compilation. However, when I use Android's Handler and Message classes (android.os.Handler, android.os.Message) for inter-thread communication, I get exceptions unless I'm running within an Android app, on the emulator or a

Error while waiting for device: The emulator process for AVD … was killed

女生的网名这么多〃 提交于 2019-12-04 04:40:18
I am a freshman for the development of the Andriod, I suffered from a odd question when I runned the app ,just as the follow picture. I also google it, but I have not finded a useful answer, who can tell me what I can do ~~~~(>_<)~~~~ thanks Jose Estrella I found this: just go to this directory: cd $ANDROID_HOME/Sdk/emulator/lib64/libstdc++ and rename: libstdc++.so.6 to libstdc++.so.6.bak $ANDROID_HOME is your android SDK directory source: https://forum.manjaro.org/t/android-studio-installation-guide/12630 来源: https://stackoverflow.com/questions/39000249/error-while-waiting-for-device-the

Can't run multiple android emulator concurrently after update

↘锁芯ラ 提交于 2019-12-04 04:37:21
问题 Before installing updates in SDK Manager, it worked well. But then I cannot run two emulator at the same time. Any solution for this problem ? 回答1: Same problem i have faced. To solve this i have created new AVD and try to run this. OR emulator-arm -avd <AVD> Now i am also able to run old AVDs It has solved my problem. Hope this will help you. 来源: https://stackoverflow.com/questions/11313980/cant-run-multiple-android-emulator-concurrently-after-update

How to verify that Android SDK emulator is running in Hyper-V

我怕爱的太早我们不能终老 提交于 2019-12-04 04:24:35
问题 I am developing an app for android using Xamarin. I am using Visual Studio 2017 and the Android SDK emulator that came with the Xamarin package from the visual studio installer. The emulator is very slow. I followed the instructions in this article to enable acceleration with Hyper-V: https://docs.microsoft.com/en-us/xamarin/android/get-started/installation/android-emulator/hardware-acceleration The article does not say anything about having to set up a VM or configure the emulator itself to

emulator cannot start up

我与影子孤独终老i 提交于 2019-12-04 04:21:29
问题 I'm just install HAXM installer and Android SDK Tools and finally my AVD can launch. But the problem is it stucks on the android. I've been waiting for 20 minutes but it still not yet start up.. emulator: device fd:664 HAXM is working and emulator runs in fast virt mode creating window 61 83 462 820 emulator: UpdateCheck: current version '24.4.1', last version '24.4.1' Device Nexus_5_API_23_x86 [emulator-5554] is online, waiting for processes to start up.. Device Nexus_5_API_23_x86 [emulator

Does Visual Studio Emulator for Android still support drag and drop package installation?

六眼飞鱼酱① 提交于 2019-12-04 03:39:17
I installed a package on Visual Studio Emulator for Android by drag-and-drop before. I got a new update yesterday. The emulator does not seem to support drag-and-drop anymore. Could anyone shed some light on this? This can happen if you are running the emulator with elevated permissions. Try re-running without elevation (not as Administrator). It's likely that the emulator is unable to connect to ADB. See this document: https://msdn.microsoft.com/en-us/library/mt228282.aspx#DragAndDrop for how to make sure ADB can connect to the emulator. 来源: https://stackoverflow.com/questions/32278613/does

How to connect to localhost from Android Studio emulator

僤鯓⒐⒋嵵緔 提交于 2019-12-04 03:36:42
问题 I am trying to test web application in Android 2.3.3 browser. Connection using http://10.0.2.2 results "web page is unavailable" . Nothing found in Android Studio documentation. Does anyone run into the same problem? How did you solve it? 回答1: You're going to need to connect to your computer's IP. If you're on Windows open CMD and type ipconfig this will give you your local IP. If you're on Linux or OSX open terminal and use the ifconfig command. Since the emulator is a full Android device it