android-emulator

Update Android System WebView on SDK Emulator

孤街浪徒 提交于 2019-12-05 01:21:14
I have a problem with my cordova app after the latest Android System WebView update (44.0.2403.39) on Android 5.x devices. I would like to update the replicate the problem on the SDK Emulator. But the standard image of Android 5.1 comes with the WebView version 39. Is there any way to update this component on the emulator? I've found the APK for the update here but after installing it shows two entries on the App list on System Settings and it's not updating. So I can't replicate the problem. The first one is the view that comes with the emulator v39 and the second one is the v44 Also is there

How to use a different emulator in Android Studio

别说谁变了你拦得住时间么 提交于 2019-12-05 01:15:39
问题 I have issues with the build in qemu emulator in Android Studio. There are some other Android emulators out there. How to configure Android Studio to use a different emulator? I use leapdroid emulator http://www.leapdroid.com to run apps and games. 回答1: Leapdroid is compatible with Android adb, i.e., using the same port numbers starting with 5555, so there is really nothing special to do, pretty much same as what you do with the built-in Android emulator. If you run "adb devices", you will

LogCat & Console stopped working with Eclipse Android Emulator

倾然丶 夕夏残阳落幕 提交于 2019-12-05 01:02:32
The Console and LogCat printouts stopped working in Eclipse with the Android Emulator. I'm getting the following Exception in the Console [2011-11-10 11:04:58 - Unexpected error while launching logcat. Try reselecting the device.]device not found com.android.ddmlib.AdbCommandRejectedException: device not found at com.android.ddmlib.AdbHelper.setDevice(AdbHelper.java:736) at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:373) at com.android.ddmlib.Device.executeShellCommand(Device.java:319) at com.android.ddmuilib.logcat.LogCatReceiver$1.run(LogCatReceiver.java:100) at java

Android emulator not showing in Visual Studio

£可爱£侵袭症+ 提交于 2019-12-05 01:01:36
I made an Android Virtual Device. It runs on the SDK emulator using Intel HAXM. I was able to see it in Visual studio (debug devices drop down list) and debug my applications on it. This is great for when I don't have a physical device to hand. Then something happened!?! It refuses to show up now? Over the last week I have tried (In no particular order): Recreating my virtual device. Reinstalling visual studio. Reinstalling Android SDK. Installing both of the above as an administrator. Checking the SDK path in the windows registry. Tried adb kill-server / start-server. Checked that Adb can see

PackageInfo versionCode and versionName null on phone, but works on emulator

一个人想着一个人 提交于 2019-12-05 00:53:06
问题 I am building a private app that will not go through the Marketplace. As a result, I need to pull the current version application (not platform) information and check with the server to see if there is an update. It works great on the emulator, but when I installed the signed APK on my Droid X, it returns null. Here is the code: PackageInfo pInfo = null; try { pInfo = getPackageManager().getPackageInfo("com.rubiconproject.expenses", PackageManager.GET_META_DATA); } catch

Android outofmemory error bitmap size exceeds vm budget in 2.3.3

喜欢而已 提交于 2019-12-05 00:48:38
I understand that this question is asked few times. None of them is clear on the solution. Let me explain the problem. I have an Activity which loads 4 images at a time. I load the images in the onResume() method. The Activity throws bitmap error when loading. Notes. I am setting image using setImageResource(R.drawable.xxxx) method call and not bitmap/drawables directly. The images are scaled correctly. The activtiy WORKS FINE in all emulators prior to 2.3 and is WORKING FINE in Actual device (Samsung Galaxy 5) The error is appearing on first initialisation and no orientation change event is

Android Studio KVM Setting?

余生长醉 提交于 2019-12-05 00:46:32
Put in KVM (Kernel-based Virtual Machine) into my 64 bit Ubuntu 14.04 LTS per: https://help.ubuntu.com/community/KVM/Installation In the terminal: kvm-ok INFO: /dev/kvm exists KVM acceleration can be used OK so the KVM is in. When I run the Android Emulator there is no change from the way the Emulator ran before I put in the KVM. I've looked in to the various settings within Android Studio, and I found nothing obvious about KVM. Does Android Studio have a setting somewhere to enable KVM? Android Studio 1.5 and 2.0 do not have such option any more. Update: that is because the team has made KVM

Android browser plugin

社会主义新天地 提交于 2019-12-05 00:46:08
问题 i found sample plugin in android source code. let's say i can write a plugin using the sample, how would i get my emulator to run the plugin that i wrote? Do i need to recompile the source code? if yes, how is that possibly done? thanks:) 回答1: The BrowserPlugin sample is an example of how to write an actual browser plugin. For example Flash player It is focused on the plugin being written in C/C++ native code and then invoked when the Android user navigates to a page with the matching tag. In

Android Emulator: How to Copy an Emulator / AVD?

江枫思渺然 提交于 2019-12-05 00:20:36
问题 I am currently making an upgrade of an existing app that's already on the Google App store (aka Google Play). I want to test that the data conversions go smoothly when customers upgrade. I have an AVD with the old version of the app installed. The usual thing would be to run the new version on this app and see if it works. But the problem is that after doing this, that particular AVD is no longer mimicking that old state. I'd like to make copies of this AVD/Emulator (yeah, the whole thing!)

How to install android 6.0.1 emulator in Android Studio?

让人想犯罪 __ 提交于 2019-12-05 00:04:05
I facing this issue on my android emulator E/Surface﹕ getSlotFromBufferLocked: unknown buffer: 0xab7519c0 But I can't find any option how to udate android version to 6.0.1 of emulator in Android Studio 1.5.1 How can I do it? If you create a new Virtual Device under: Tools->Android->AVD Manager or Edit an existing device, you can change the System Image, however as of now I do not see an option for 6.0.1 only 6.0 and 7.0. There appears to be nothing in between even under all three tabs ( Recommended, x86 Images, Other Images ). I was looking for the same thing and to no avail. I also use