android-emulator

can I scale genymotion emulator to “device real size”?

人走茶凉 提交于 2019-12-07 01:19:54
问题 I just started using genymotion and I really like it. One thing that is frustrating me is that emulators take a lot of screen space and are contained within scrolling window.. which makes it less convenient to use I tried to change screen resolution or look for some kind of option myself but with no luck is there "scale to real device size" option like in sdk emulator? UPDATE when I start genymotion binary, get the following in the console ~/coding/genymotion$ sudo ./genymotion Genymotion log

How to rotate a wheel (image png) in android

爱⌒轻易说出口 提交于 2019-12-07 00:09:25
I want to rotate a png image on linear layout. My image is semi circle in shape and have different colors on it. Any ideas? user370305 Using Matrix you can do it, Something like, img=(ImageView)findViewById(R.id.ImageView01); Bitmap bmp = BitmapFactory.decodeResource(getResources(), R.drawable.refresh); // Getting width & height of the given image. int w = bmp.getWidth(); int h = bmp.getHeight(); // Setting post rotate to 90 Matrix mtx = new Matrix(); mtx.postRotate(90); // Rotating Bitmap Bitmap rotatedBMP = Bitmap.createBitmap(bmp, 0, 0, w, h, mtx, true); BitmapDrawable bmd = new

Error generating final archive: java.io.FileNotFoundException: xxx\bin\resources.ap_ does not exist

微笑、不失礼 提交于 2019-12-06 23:57:41
问题 Yeaterday I installed some older versions of google api 's,after that everything is going wrong.Each project I create it shows "Project contains error fix them". It's showing following errors : Error generating final archive: java.io.FileNotFoundException: C:\xxx\maps\bin\resources.ap_ does not exist maps Unknown Android Packaging Problem Unparsed aapt error(s)! Check the console for output. maps Unknown Android Packaging Problem I have used Project->clean . Deleting gen folder again starting

Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE? during running emulator

眉间皱痕 提交于 2019-12-06 21:57:08
问题 [2011-07-22 16:33:02 - Today] ------------------------------ [2011-07-22 16:33:02 - Today] Android Launch! [2011-07-22 16:33:02 - Today] adb is running normally. [2011-07-22 16:33:02 - Today] Performing com.horror.android.today.myMain activity launch [2011-07-22 16:33:02 - Today] Automatic Target Mode: launching new emulator with compatible AVD 'google09' [2011-07-22 16:33:02 - Today] Launching a new emulator with Virtual Device 'google09' [2011-07-22 16:33:10 - Today] New emulator found:

Android Emulator has no window frame

旧街凉风 提交于 2019-12-06 20:01:16
问题 I'm new to android developing and have an issue with android emulator, it has no window frame! I can't move it over my screen or move to second monitor, it is freaking me out! I tried to google it out, but found no solution, can anyone tell me how can I fix that? 回答1: I had same problem. There is a frame. It just launches outside the screen and you can't grab it. "Simple" solution: Start the emulator and then right click on the Windows taskbar and hit "Cascade Windows". That will move the

Android AOSP Automotive Emulator

家住魔仙堡 提交于 2019-12-06 19:53:24
I'm trying to build an Emulator for Automotive since Android studio 3.5 is not detecting the system image. I have tried in Android 8 and 9 and downloaded all the tools. How to build the automotive emulator in AOSP? You will require Mac or Linux to build the emulator Perform the steps mentioned in the following site https://source.android.com/setup/build/initializing , then follow the steps mentioned in the following site https://source.android.com/setup/build/downloading , then execute the following commands $ repo init -u https://android.googlesource.com/platform/manifest -b android-9.0.0_r39

LogCat & Console stopped working with Eclipse Android Emulator

会有一股神秘感。 提交于 2019-12-06 19:18:02
问题 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

How to install android 6.0.1 emulator in Android Studio?

折月煮酒 提交于 2019-12-06 18:35:22
问题 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? 回答1: 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 (

Update Android System WebView on SDK Emulator

馋奶兔 提交于 2019-12-06 18:31:22
问题 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.

Android Studio KVM Setting?

醉酒当歌 提交于 2019-12-06 17:26:27
问题 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? 回答1: