android-emulator

Android emulator Failed to create Vulkan instance

偶尔善良 提交于 2020-05-14 18:08:26
问题 When creating new Android emulator in Ubuntu shows following error, does this affect my vulkan game development? queryCoreProfileSupport: swap interval not found emulator: ERROR: VkCommonOperations.cpp:496: Failed to create Vulkan instance. emulator: WARNING: Ignoring invalid http proxy: Bad format: invalid port number (must be decimal) My AVD device specification are added below. 回答1: Your os seems ubuntu, try installing the graphic driver as below them restart the computer. sudo ubuntu

Android studio error - Cannot read property 'update' of undefined

☆樱花仙子☆ 提交于 2020-05-13 08:51:07
问题 Emulator error emulator: INFO: QtLogger.cpp:68: Critical: Uncaught TypeError: Cannot read property 'update' of undefined (qrc:/html/js/location-mock-web-channel.js:130, (null)) 回答1: If you're trying to build your app to an emulated Android device, it might need to be cold-booted. Go to Tools -> AVD Manager, and on the Virtual Device you're trying to use, click the drop-down arrow to the far right and select "Cold Boot Now". Give the emulator a few moments to start, and if it does so without

android studio 3.0 Device Explorer - run as: could not set capabilities: Operation not permitted

会有一股神秘感。 提交于 2020-05-10 07:02:09
问题 i migrate to android studio 3.0. i hear feature of new device explorer in android studio 3.0. but when i connect my android phone (Samsung Note 4 - N910C) i cant see the data\data package sub folder like database folder in device explorer. but when use android emulator i didn't have problem and can see package sub folder for same package. how can i solve this? 回答1: data/data Not Accessible According to the Android Studio docs the data/data directory is not accessible in the Device File

How to edit /etc/hosts file in Android Studio emulator running in nougat?

别来无恙 提交于 2020-05-09 17:46:47
问题 Anyone know how to edit /etc/hosts file inside an android studio emulator running in nougat? I will be editing it so I can use my virtual host in my local web server. I tried editing it through terminal using adb however, it is returning Read-only file system. Tried also using chmod but still it fails. Update: I also tried pulling and pushing files using adb $ ./adb -s emulator-5554 push ~/Desktop/hosts /system/etc/hosts adb: error: failed to copy '/Users/Christian/Desktop/hosts' to '/system

Flutter 1.9: D/skia ( 5106): Shader compilation error

半城伤御伤魂 提交于 2020-05-08 09:12:31
问题 I've created a simple Flutter 1.9.1+hotfix.4 application using Android Studio 3.5.1. After adding successfully a new virtual device (Nexus 6) and tried to run my app, I got this error: Launching lib\main.dart on Android SDK built for x86 in debug mode... Initializing gradle... Resolving dependencies... Running Gradle task 'assembleDebug'... Built build\app\outputs\apk\debug\app-debug.apk. Syncing files to device Android SDK built for x86... D/skia ( 5106): Shader compilation error D/skia (

What can i do with Android Studio Virtual Device slow when running and freezing computer when closing?

拟墨画扇 提交于 2020-04-18 03:56:13
问题 When I run the Android Studio AVD that comes with the IDE, the device is a bit slow and when closing the device (with the close icon) the mouse stops moving and the screen starts to flicker (by blinking I mean the Adnroid Studio IDE dissappearing at random intervals), then stops like after two minutes and then the virtual device shuts down. I have proved with three devices at api 25: Nexus 5 -Nexus 5x -Nexus 4 With Nexus 4 the app is faster, but is the same problem when closing it, it freezes

Android Studio cannot find cerfile, emulator doesn´t start

北战南征 提交于 2020-04-17 20:50:33
问题 I just got this problem while trying to test a project I been working on, yesterday didn´t have this problem Emulator: emulator: WARNING: EmulatorService.cpp:448: Cannot find certfile: C:\Users\yeyog.android\emulator-grpc.cer security will be disabled. Emulator: Started GRPC server at 127.0.0.1:8554 Any help would be appreciated! 回答1: I had the same issue a few minutes ago. Install your plugins if required, update the Android studio if required then uninstall the application from the emulator

Android AVD emulator scaling issue in windows 10

青春壹個敷衍的年華 提交于 2020-04-16 06:09:30
问题 I'm on windows 10, Andorid Studio 2.3.3, I created a an android avd with the below configuration but the display won't scale properly, the display will be only in a corner. Name: 4_WVGA_Nexus_S_API_23 CPU/ABI: Google APIs Intel Atom (x86) Path: C:\Users\user\.android\avd\4_WVGA_Nexus_S_API_23.avd Target: google_apis [Google APIs] (API level 22) Skin: 480x800 SD Card: C:\Users\user\.android\avd\4_WVGA_Nexus_S_API_23.avd\sdcard.img hw.dPad: no runtime.network.speed: full hw.accelerometer: yes

How to access android avd devices internal storage

本小妞迷上赌 提交于 2020-04-16 02:57:10
问题 I have some data inside the android emulator. Is there any way to access android avd devices internal storage on PC 回答1: Go to Emulator: Settings -> Memory -> Internal Storage -> Other Then a pop up will open. Click on explore. Then you will get access of Internal Storage. or check this in android studio - View > Tool Windows > Device File Explorer Hope it helps ! 来源: https://stackoverflow.com/questions/55586833/how-to-access-android-avd-devices-internal-storage

How to get certfile (.android\emulator-grpc.cer)?

对着背影说爱祢 提交于 2020-04-08 21:14:14
问题 After updating java, this message appears every time I run the emulator 21:13 Emulator: emulator: WARNING: EmulatorService.cpp:448: Cannot find certfile: C:\Users\Aml\.android\emulator-grpc.cer security will be disabled. 21:13 Emulator: Started GRPC server at 127.0.0.1:8554 Did some one face this issue and do I resolve this issue? 回答1: I met the same problem with you in Android Studio 3.6.1. I think it is a bug in this version. I solved this problem by downgrading the Android studio to 3.5.3.