android-emulator

Android Studio 1.2 Emulator fits to one end of the screen and not moving

醉酒当歌 提交于 2019-12-05 23:48:07
I have installed new Android Studio V 1.2 and tried launching my First App. The emulator which shows up is fitting to the Top Left corner of the screen and is not moving. This happens only in this version and in Windows only. Did someone face the same isse and resolved it ?? AVD Details: Name: Nexus 5 API 21 x86 Using the Default one. Also tried creating different AVDs . All fits to Top Left corner of the screen and is not Movable Tried Restarting There is no Auto Fit to Screen Size option now. Any remedy ? Puzzled Log States emulator: device fd:660 HAX is working and emulator runs in fast

PC keyboard not working in Android emulator [duplicate]

醉酒当歌 提交于 2019-12-05 23:15:44
This question already has answers here : Android emulator doesn't take keyboard input - SDK tools rev 20 (11 answers) Closed 2 years ago . I'm unable to use my PC keyboard to input characters into the app running on AVD emulator even though I had chosen 'Enable keyboard input' when creating the AVD. Can anyone help? Below is my config.ini. Note File directory can be accessed from AVD Manager: -> click the down arrow on the Actions column -> Show on Disk. For GNU/Linux users, with default Android Studio configuration, the file is found under directory /home/<<user>>/.android/avd/<<device>>.avd

Changing Locale in Android Emulator [duplicate]

假如想象 提交于 2019-12-05 21:54:42
问题 This question already has answers here : How to change the default language of Android Emulator? (5 answers) Closed 12 months ago . I'm just starting to learn Android development. I have included a EditText component in my view and started the emulator in Eclipse. When I type in the Textbox, the auto suggestions are coming up in Chinese language but I want to change this to English. How do I change this Locale and Android Emulator? I'm using the Android 2.1 for development. 回答1: No Need to

how to load activity layout in android while the video is playing in background

僤鯓⒐⒋嵵緔 提交于 2019-12-05 21:16:52
how to load activity layout in android while the video is playing in background in android emulator??? the video demo you can see here sample video till now i have only animated the layout but i am unable to do like the one in video and when i am trying to play only video in emulator it gives error saying "can't play video" actually i don't have an android device so i have to test my application in emulator. any help is highly appreciated. here is a code of animation : package com.example.test; import android.app.Activity; import android.content.Intent; import android.media.MediaPlayer; import

Visual Studio Emulator for Android is not updated

余生颓废 提交于 2019-12-05 21:08:44
I used Visual Studio 2015 with service pack 1. In device profile available only API 19. I see a warning: Unable to establish a connect to the internet. Only device profile for acquired platforms are shown. How do I fix this error? John Kemnetz Can you access to http://www.msftncsi.com/ncsi.txt from that machine? May be a proxy/firewall issue. 来源: https://stackoverflow.com/questions/34402831/visual-studio-emulator-for-android-is-not-updated

ADB rejected shell command (ls -l ): closed

為{幸葍}努か 提交于 2019-12-05 20:53:06
I am getting an error when i try to run my project ddms]ADB rejected shell command (ls -l ): closed I can not understand why this happens and how it'll be solved. This shows every time when run project. I tried : 1) Close emulator and start it again. 2) Restart eclipse. but this not solve my prob. please help. I think what happens is that the adb's connection with the emulator breaks or becomes faulty, so android launches a new emulator although you have already an existing emulator for the same platform running. One way you can try to correct this problem is Go to DDMS-->Devices Tab-->Click

Android emulator hanging on startup?

折月煮酒 提交于 2019-12-05 20:26:05
问题 I've been modifying/editing parts of the Android platform, but have run into a problem when trying to test my edits. After making my changes to the platform source, I was able to successfully compile the source - thus creating system.img, ramdisk.img, and userdata.img. When I go to test this in the emulator, the emulator just hangs on the "ANDROID_" screen, with the underscore blinking, but never seems to load. Any suggestions? The command I used to run the emulator is as follows: ./emulator

Is MOTODEV faster than the Android Emulator?

橙三吉。 提交于 2019-12-05 20:11:18
I am running the Android SDK inside a Windows XP VM in VMWare. As such, the Android Emulator takes forever to boot... I have recently heard of another emulator -- the MotoDev. For those of you who tried both, could you tell if the MotoDev has any speed advantage over the standard Android Emulator? I'm the Product Manager for MOTODEV Studio. There is not a separate emulator inside Studio, but rather another view of the existing emulator process that is displayed inside an Eclipse View. It's no faster than what you already have and depending on which transfer mechanism you use (native window vs.

No network connection - Android-x86 on VMWare Fusion

回眸只為那壹抹淺笑 提交于 2019-12-05 18:46:03
I'm trying to come up with some kind of Android environment to use for development on Mac OSX. It's proving quite difficult ( Android emulator laggy on Mac ). On my macbook the Android emulator is so slow that it is unusable. Note, I'm trying to build a tablet app, which seems to make things worse. So far the best performance I've found is just running the x86 port of Android via VMWare fusion. The only problem is the darn thing keeps giving a "No network connection" message. I don't know much about VMWare, but I'm guessing that Android wants to use the virtual wifi adaptor, but VMWare fusion

How to take screenshot of Android(Emulator) using this library and where can i get the screenshots

三世轮回 提交于 2019-12-05 16:49:25
I had installed this library http://code.google.com/p/android-screenshot-library/ . I had started my Android emulator ,when i run the run.sh file it is saying "Service Started Sucessfully". How Should i or where can i get the Screen shots of my emulator.I am using all latest versions.Thank You. Open Eclipse > open DDMS View > Select your Emulator out of the list > press the little blinking Camera Icon near where you select your Emulator from the list Hope you find it. import pl.polidea.asl.*; import android.app.Activity; import android.content.ComponentName; import android.content.Context;