android-emulator

How can I send a virtual camera to Genymotion or Android Studio Emulator in Ubuntu?

瘦欲@ 提交于 2021-01-29 08:07:16
问题 I created a virtual camera using v4l2loopback and ffmpeg. The command I use for ffmpeg is: ffmpeg -re -l oop 1 -i vin.png -vf format=yuv420p -f v4l2 /dev/video2 vin.png is the image I want to stream to the webcam and /dev/video2 is the virtual webcam I created with v4l2loopback. The virtual webcam works and I can see it e.g. with onlinemicetest.com/webcam-test. I'm using the Genymotion emulator with the newest Android API (I tried 7.0, 8.1 and 10.0) on Ubuntu 20.40. Genymotion detects the

Android Studio emulator first transfers to Mountain View location in Google Maps

本秂侑毒 提交于 2021-01-29 07:50:31
问题 I have an application where I set current location (using Google Maps). Every time I open Google Maps inside the application in Android Studio emulator, it sets location to Mountain View (latitude = 37.4220186, longitude = -122.0839727). The emulator is Nexus 5 having Android SDK 30. If I change the location in settings to Moscow , the emulator can relocate to Moscow after clicking My location button, but sometimes it doesn't relocate. Then, after clicking the second time it can transfer to

Run android emulator using command line

北城余情 提交于 2021-01-28 22:28:55
问题 I am running latest version of Mac OS and I want to run android emulator through command line tool. I have run the following command on Mac terminal and got the following error. $ emulator -list-avds Pixel_XL_API_28 $ emulator -avd Pixel_XL_API_28 PANIC: Missing emulator engine program for 'x86' CPU. I also run the command with available options like below that is also available on official documentation developer.android.com $ /Users/janedoe/Library/Android/sdk/emulator/emulator -avd Pixel

Play Store support for Android TV on Android Studio

萝らか妹 提交于 2021-01-28 20:07:23
问题 I use Android Studio and I need an emulator with Play Store support to test the development. However, I could not see the emulator with Play Store support in the Device Manager section in Android Studio. Do I have to buy a physical Android TV device? Do you have a suggestion for this? Please. 回答1: When you open Android Virtual Device and click Create Virtual Device, select TV on the side and pick either 1080p or 720p. On the next screen, select Android Q but be sure it's the API level 29

Install Android emulator without installing Android Studio

谁说胖子不能爱 提交于 2021-01-28 19:35:38
问题 I just want to set android emulator without studio-ide and use it like a mobile and tweak it. I have downloaded command-line tools from https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip Unzipped in folder $HOME/AndroidSDK . I just want to run some emulators. Then ran below cd ~/AndroidSDK/cmdline-tools/bin ./sdkmanager --sdk_root=$HOME/AndroidSDK/cmdline-tools --list --include_obsolete --verbose ./sdkmanager --sdk_root=$HOME/AndroidSDK/cmdline-tools --verbose

Cordova not finding avd

一笑奈何 提交于 2021-01-28 19:27:20
问题 After following the instructions for setting up Cordova for Android development on the Cordova documentation, I encountered this error: Error: No emulator images (avds) found. 1. Download desired System Image by running: /Users/Jacob/Library/Android/sdk/tools/android sdk 2. Create an AVD by running: /Users/Jacob/Library/Android/sdk/tools/android avd HINT: For a faster emulator, use an Intel System Image and install the HAXM device driver Every other post I found only said to add an emulator,

Launch a .bat from Jenkins does not work

荒凉一梦 提交于 2021-01-28 18:00:30
问题 This is the .bat file : start cmd.exe /k "C:\Users\etudes.ext46\AppData\Local\Android\sdk1\tools\emulator.exe -avd ff &" ping 127.0.0.1 -n 60 > nul start cmd.exe /k "adb shell input keyevent 82" start cmd.exe /k "node "C:\Program Files\Appium\node_modules\appium\bin\appium.js" -a 127.0.0.1 -p 4723 &" ping 127.0.0.1 -n 30 > nul C:\Users\etudes.ext46\Downloads\NUnit-2.6.4\NUnit-2.6.4\bin\nunit-console.exe C:\Users\etudes.ext46\Downloads\NUnit-2.6.4\NUnit-2.6.4\bin\apk\UnitTestProject1.dll start

How can I simulate datas from Heart Rate sensor on Android Wear Emulator?

♀尐吖头ヾ 提交于 2021-01-28 12:01:37
问题 As the title, how can I do to "simulate" some values from the emulated heart rate sensor from the emulator? Is this possible on the official emulator or do you know some alternative emulators that do this? 回答1: No, you can't, android emulator can't simulate any sensors. Android Wear emulators can't do it too 来源: https://stackoverflow.com/questions/31720257/how-can-i-simulate-datas-from-heart-rate-sensor-on-android-wear-emulator

emulator runs fine but app shows white screen, error is below

我怕爱的太早我们不能终老 提交于 2021-01-28 09:36:16
问题 Good day to all. I'm following the teacher's notes and am ready to run the app in android studio 3.6.1. The emulator runs fine but when I open the app I get a white screen. At the bottom of the android windows, I see the following error. Emulator: emulator: INFO: QtLogger.cpp:68: Critical: Uncaught TypeError: Cannot read property 'update' of undefined (qrc:/html/js/location-mock-web-channel.js:130, (null)) I have searched this website and google for the problem. I'm trying to figure out if

OnePlus 6T Android Emulator Screen Configuration Hardware Profile

白昼怎懂夜的黑 提交于 2021-01-28 09:14:20
问题 Has anyone been able to properly setup OnePlust 6T android emulator with regards to the screen profile? I set it up according to the official specs, 6.41" & 2340 x 1080: Screen Configuration Profile But the emulator doesn't reflect the screen of the actual device; see below: Device Screenshot Emulator Screenshot 回答1: After some trial & error, it seems that the emulator's resolution of 2643 x 1220 reflects the actual device. 来源: https://stackoverflow.com/questions/54399181/oneplus-6t-android