android-emulator

Could not find class

妖精的绣舞 提交于 2019-12-29 01:28:09
问题 My project ran well until I clicked " Help->Check for updates " and installed some components in Android SDK Manager. In general, there is no error announced in my project. But when I run my project, it causes an error could not find class com.androiquery.AQuery I checked out again, I still can see the AQuery library in libs folder and also the reference to this library. I also tried to clean the project and its dependencies, quite the eclipse, restart the computer, but it doesn't solve. Do

Abstracted LCD Density

廉价感情. 提交于 2019-12-28 13:46:36
问题 How do you calculate the Abstracted LCD Density for an AVD ? 回答1: The Abstracted LCD Density is measured in dots per inch (see the docs). The wikipedia article on Pixel density has a helpful section explaining how to calculate this: basically the number of pixels per inch along the diagonal can be calculated by this formula, where x and y are the horizontal and vertical resolution (so that sqrt(x*x + y*y) is the length of the diagonal in pixels), and d is the length of the diagonal in inches:

How can I make the Android emulator show the soft keyboard?

孤街醉人 提交于 2019-12-28 09:32:49
问题 I'm debugging an issue with the soft keyboard display not displaying when it should. However, I don't have a device handy for testing. The problem is that the emulator never shows the soft keyboard . Some skins have a keyboard constantly displayed on the right, some don't, but none that I've tried so far has ever shown a keyboard on the device screen. Is there some setting that I missed? 回答1: I found out how to do this on the emulator itself . All you need to do is: open settings app ->

How can I make the Android emulator show the soft keyboard?

北城余情 提交于 2019-12-28 09:32:38
问题 I'm debugging an issue with the soft keyboard display not displaying when it should. However, I don't have a device handy for testing. The problem is that the emulator never shows the soft keyboard . Some skins have a keyboard constantly displayed on the right, some don't, but none that I've tried so far has ever shown a keyboard on the device screen. Is there some setting that I missed? 回答1: I found out how to do this on the emulator itself . All you need to do is: open settings app ->

Visual Studio Emulator for Android - Install Gapps (Google Play Services)

て烟熏妆下的殇ゞ 提交于 2019-12-28 07:42:05
问题 I'm using the new VS Android Emulator with Android Studio: https://www.visualstudio.com/en-us/features/msft-android-emulator-vs.aspx It doesn't have Google Play Services installed... so I'm following this guide to install: https://university.xamarin.com/resources/how-to-install-google-play-on-android-emulator I've downloaded the proper Gapps file (in my case): http://www.devfiles.co/download/7m2VdVjQ/gapps-kk-20140105-signed.zip Now I've dragged and dropped the ZIP file onto the emulator...

When the soft keyboard appears, it makes my EditText field lose focus

孤街浪徒 提交于 2019-12-28 07:40:11
问题 I've got a few EditText fields in a ListView. When I tap on one of the EditText fields, the keyboard slides into view (as it should), but the EditText field I tapped loses focus. I've tried using various InputMethodManager methods to make the keyboard start out in view (in order to get around the problem rather than truly solve it), but that didn't work - the keyboard was not in view when the Activity appeared. The EditText's type is number , and when the keyboard is sliding in, it is a

Visual studio android emulator will not start fully

偶尔善良 提交于 2019-12-28 05:21:12
问题 I create a blank cordova application in visual studio 2015 and start debugging with the visual studio android emulators (first with the lollipop and then kitkat). XDE starts and the screen displays OS is starting... . It stays like that for quite a while until it displays The emulator is unable to connect to the device operating system; The device did not response to the connect request. Some functionalities might be disabled' After closing the dialog, it stays there forever until I kill the

Android emulator-5554 offline

倖福魔咒の 提交于 2019-12-28 02:29:08
问题 I'm having a problem with emulator-5554, it keeps telling me it is offline. When I do a adb devices from the command line it says emulator-5554 offline Even after a fresh restart, I try that command and it still says it is offline. The problem is when I try to install .apk files to the emulator using abd install <path> from the command prompt, it tells me that it is offline, if I create another device and run that one, then try to install the .apk files, it says I have too many devices

How to fix INSTALL_PARSE_FAILED_MANIFEST_MALFORMED in my android application

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-28 02:07:06
问题 Hi I am trying to experiment with gcm but unable to make it work. Don't know where I am messing with it, below is the error I am getting. I am trying to deploy my application directly on device and debug from there but when ever I try to deploy it gives this error Waiting for device. Target device: HT24LW108632 Uploading file local path: D:\Data\Android\AndroidTest\out\production\AndroidTest\AndroidTest.apk remote path: /data/local/tmp/Android.Test Installing Android.Test DEVICE SHELL COMMAND

The Android emulator is out of view, how can I move it?

坚强是说给别人听的谎言 提交于 2019-12-27 17:07:49
问题 I used an additional display with my laptop and moved the Android emulator there. It seems to remember the location even if the display is not connected anymore. Is there any way to reset the position of the window so it becomes visible again? 回答1: more exactly from your home directory (on Linux: $HOME/ on Windows: C:\Users\<your user> ) go into .android/avd/<image name> open the file emulator-user.ini and set window.x and window.y to 0. window.x = 0 window.y = 0 If you don't see the hidden