android-emulator

3g connection on android emulator

自古美人都是妖i 提交于 2019-12-10 22:15:06
问题 I am trying out this sample application in http://android-er.blogspot.com/2012/03/search-woeid-from-httpqueryyahooapiscom.html. Previously when I was trying out other sample app, I was able to access google map and internet. However, I am not sure what is causing my 3g connection in the android emulator to show an X now. In the emulator, I have also checked Settings-Mobile Networks-Data enabled-ticked. In the manifest file, I have put in this " " . I even reinstalled my Eclipese and Android

How do I change the default keyboard input language in EditText in Android

萝らか妹 提交于 2019-12-10 22:12:44
问题 I think this is because my OS is in Chinese. I have an EditText box in my android app, and when I click on it to input something, the default input languange is in Chinese. Can I change it to Engish? It seems because the project was created on my computer, when others import the project and run it on the emulator, the default input is also Chinese. Can I modify some file to change the default back to English? Many thanks! The version I created the project in is Android 2.1 回答1: Click and hold

Android project run error

余生颓废 提交于 2019-12-10 21:54:46
问题 Whenever I run the project an error is displayed. It says: [2011-07-18 13:36:34 - Emulator] invalid command-line parameter: Files\android-sdk\tools/emulator-arm.exe. [2011-07-18 13:36:34 - Emulator] Hint: use '@foo' to launch a virtual device named 'foo'. [2011-07-18 13:36:34 - Emulator] please use -help for more information I am not getting what's wrong. 回答1: I also faced same issue. There is a bug with Android v12. See this discussion for your solution. And I followed Carl S answer. Now its

Cannot launch AVD in emulator in android studio .Invalid argument

≡放荡痞女 提交于 2019-12-10 21:42:39
问题 I have a problem with emulator in Android Studio 2.1.2. When I try launching my AVD, I receive a message which says: Cannot launch AVD in emulator. Output: Hax is enabled The memory needed by this VM exceeds the driver limit. Hax ram_size 0x60000000 HAX is not working and emulator runs in emulation mode. qemu-system-i386.exe: -drive if=none,index=0,id=system,file=E:\Program Files\Android\Sdk/system-images\android-24\google_apis\x86/system.img,read-only: could not open disk image E:\Program

Can't change battery configuration in Android Emulator

不羁岁月 提交于 2019-12-10 20:44:40
问题 I'm trying to change in my emulator the battery status as capacity and ac status but isn't working. I made the whole steps: 1) Connected to the emulator via telnet; 2) Tried to use the commands such power ac off and power capacity 70 3) Every time I checked the power display, the same configuration appears and no change I input is save, and the emulator always show the battery with a "!". FR I saw this link Change emulator battery level in Windows, tried it and nothing resolved. Follow my

Flutter: Google Play services out of date

荒凉一梦 提交于 2019-12-10 20:41:36
问题 W/GooglePlayServicesUtil( 8660): Google Play services out of date. Requires 13400000 but found 13280022 I'm trying to run example app from google_maps_plugin repo on Nexus S and Pixel Phone emulators which both run on Android Pie. There are questions, not on the flutter side specifically. I've failed to apply their solutions. What I've done so far 1) I don't have this option in my emulator https://stackoverflow.com/a/45312782/9779791 2) this one is on the flutter tag but solution was a

“Waiting for emulator…” in Visual Studio 2015

試著忘記壹切 提交于 2019-12-10 20:36:13
问题 I trying to deploy Native activity application(Android, C++) on the Visual Studio 2015 embedded emulator, OS: Windows 10. But have a problem: After the start of building and deploying I get stuck on this window: And output says that: ------Deploy started: Project: Android1.Packaging, Configuration: Debug x86 Starting emulator... So I can see only this infinite window. How can I fix it and start emulator? UPD: If I launch emulator from the Visual Studio Emulator for Android manager, then I get

Android: After drop, editText that was being dragged disapears

£可爱£侵袭症+ 提交于 2019-12-10 20:13:02
问题 I'm trying to create a form in which the user can move inputs around. I have an editText and want it to be able to move it to a new location in my relativeLayout. I am able to pick it up and move it around, but once I let go, it disappears completely. I've tried pretty much everything. I think the onDrag method may not ever be called because my logs never show up. Also, after a let go of my editText, I get this error message in logcat: Reporting drop result: false Another issue I've been

emulator.exe -help-audio-in on Windows produces “unknown option: -help-audio-in”

让人想犯罪 __ 提交于 2019-12-10 20:08:06
问题 The emulator documentation says: -audio-in <backend> Use the specified audio-input backend. It also says that -help-<option> Print help for a specific startup option. Which means that -help-audio-in should list available backends. But when I type "emulator.exe -help-audio-in" I receive: unknown option: -help-audio-in please use -help for a list of valid topics Well, when I type ""emulator.exe -help" I receive the same information as in the documentation: -help-<option> Print options-specific

Display the Tifinagh alphabet on Android emulator

泄露秘密 提交于 2019-12-10 20:07:55
问题 To display Tifinagh characters on Android emulator I tried this method: TextView tv=(TextView)findViewById(R.id.font); Typeface face=Typeface.createFromAsset(getAssets(),"fonts/MZTIFIYU.TTF"); tv.setTypeface(face); However it didn't work. I still see boxes instead of characters. Is there any other way to resolve this? 回答1: Azul :) I'm able to see the Tifinagh characters using this font: t_ircam-webfont.ttf You could also check this answer for additional help. 来源: https://stackoverflow.com