Questions tagged [android-virtual-device]
Android Virtual Device (AVD), is a virtual instance of the target device (phone/tablet) which can be run in the Android emulator for simulation.
2,628
questions
-1
votes
0
answers
17
views
Creating avd from command line
I am trying to create avd with avdmanager commands. First it was throwing an xml exception because I had JAVA 17. I downgraded JAVA to JAVA 8. Then ran the command:
avdmanager create avd --force --...
0
votes
0
answers
22
views
After I reinstalled Android Studio Giraffe, I can no longer run my project on my real devices
I updated the Ubuntu version on my laptop to 22.04 from 20.04 and had to reinstall Android Studio. The day before, I was happily developing away but now when I connect the USB cable to the device (a ...
0
votes
0
answers
16
views
Create virtual image of a specific android device
I have created an android app for a client, that runs on a dedicated tablets (Lenovo TB-8505X). Since the devices are in heavy use and the app very rarely needs any tweaks, I don't usually have a ...
0
votes
0
answers
10
views
Emulator process for AVD <device-name> has terminated while running Android App on Android Studio
After scaffolding an Android project and setting up an AVD device, I then tried to run the android app in the starter project for Basic View Activity but I keep getting this error -> emulator ...
0
votes
0
answers
25
views
Permission issues when accessing /data/data/<packages> folder on Pixel 6a virtual device in Android Studio
I am currently working with a Pixel 6a virtual device running Android 9 OS in Android Studio (version 2022.3.1). My goal is to access the /data/data/ folder for various packages on the device.
However,...
1
vote
1
answer
31
views
Google Maps not loading on Extended Controls Android Studio
Is anybody else facing this same issue I am trying to set route on extended controls but I am getting a blank map, I have updated & reinstalled Android Studio and AVD but still I am facing this ...
0
votes
0
answers
30
views
Error running 'app', emulator in Android Studio
I am consistently getting an error when I try to start the emulator in Android Studio:
'Error running 'app': The emulator process for AVD pixel_7_API_34 has terminated.'
All the answers I've found so ...
0
votes
0
answers
32
views
Make API responses work with Android Emulator
I'm making some play projects with OPENAI API endpoint using a very simple Flutter Project using Dart:
import 'package:flutter/material.dart';
import 'dart:io';
import 'package:langchain/langchain....
0
votes
0
answers
14
views
AdMob NativeAd not showing in emulator without Google Play
I am trying to test NativeAd with emulator and it works fine except for those virtual device that have no Play Store. AVD tablets do not have Play Store, you can only use images with Google API but it ...
0
votes
2
answers
97
views
Expo App Not Displaying Custom Icon and Splash Image
I pulled down the repo for our mobile app, added our custom PNG image files into the assets folder, updated the paths in app.json for "icon" and "splash". I expected this to ...
0
votes
0
answers
59
views
React-Native on Android using Docker
I am new to React-Native and Docker. I am trying to run React-Native development enviroment in Docker.
I followed this tutorial here, but when starting the docker container with docker-compose up it ...
0
votes
0
answers
26
views
Error trying to create a AVD in Android Studio
I get the following error after I select finish. I attached the image of the Virtual Device Configuration screen. Also, I updated my HAXM to the latest version but Android Studio does not seem to ...
0
votes
0
answers
30
views
Have you encountered this error message before when trying to stop the Pixel 3 API 28 emulator?
unable to stop pixel 3 api 28 an error occurred stopping pixel 3 api 28. to stop the device, try manually closing the picel 3 api 28 emulator windows
I have try many times to run AVD in Android studio ...
0
votes
0
answers
35
views
Is there a solution for setting up android emulator in AMD E-450 CPU?
I am facing problem to run my android emulator integrated in android studio. When I try to run, it says the AVD process has terminated. Bellow is the the error:
The emulator process for AVD ...
0
votes
0
answers
224
views
Emulator getting killed always : Emulator: Pixel 6a API 34 - Process finished with exit code -1073740791 (0xC0000409)
My android studio emulator is always getting killed whenever i run it .
Emulator: Pixel 6a API 34 - Process finished with exit code -1073740791 (0xC0000409)
My log file from location C:\Users\AppData\...
0
votes
0
answers
37
views
Importing Android AVD emulator from zip file
I "export" the AVD by archiving (.zip) both MyDevice folder and MyDevice.ini from the $ANDROID_EMULATOR_HOME directory into MyDevice.zip. I have a quick-boot option set.
On another device I ...
0
votes
0
answers
46
views
Cannot run AVDs with API 33 or higher from command prompt, showing this error: emulator: ERROR: Can't find 'Linux version ' string in kernel image
Executing the following command:
emulator -avd Pixel_6_API_34
shows the following error:
emulator: ERROR: Can't find 'Linux version ' string in kernel image /home/username/Android/Sdk/system-images/...
1
vote
1
answer
46
views
avd window lost its border
Ubuntu 22.04, Android Studio 2023.3.1 Patch 2.
When I boot the avd, it seems like this:
But after I do something in the avd, it become like this:
As you can see, it lost its border, so I cannot drag ...
1
vote
0
answers
21
views
Android/Wear OS - testing wrist flick gestures on android studio avd emulator
i'm trying to figure out how to test the flick wrist out and flick wrist in gestures in android studio's avd.
Currently these simulated real world actions are supported on the emulator:
And from ...
0
votes
0
answers
38
views
How to fix this issue "The emulator process for AVD Pixel_2_API_30 has terminated." in Android Studio?
I installed Android Studio for React Native and still stuck here for last two weeks. Let me show you a whole clip about it:
This is the main issue
I have proper free space in my C drive and others as ...
0
votes
0
answers
11
views
The Virtual Device is unable to connect
My Virtual device is well installed because it runs independently but when i attempt to run throough the run/debug configuration i get an error.
I tried installing a new system image but it still ...
0
votes
1
answer
139
views
I am getting an error while trying to run arcore augmented reality in flutter in android virtual device in android studio. How can i fix this
when i click run button on android studio app crashes with following error in android studio.i tried changing the OpenGL ES Api level on Android virtual device but it not worked..I appreciate any ...
0
votes
0
answers
35
views
WebRTC Not Working Between Android AVDs I want to know the cause
I want to emphasize that it only doesn't work between Android AVDs. I know the solution involves using a TURN server, but I can't seem to find the root cause.
I want to know the root cause.
I thought ...
0
votes
2
answers
97
views
Android emulator not start
All 4 my android emulators not start from Android Studio with message:
The emulator process for AVD *** selected device *** has terminated.
Tried to run emulator with command line. Got output:
PS C:\...
0
votes
0
answers
20
views
How to change microphone device in Android Virtual Device on Mac?
I'm using bluetooth headset and it has its microphone.
My system sound setting on host is bluetooth output and usb microphone input.
But AVD just record and playback with my bluetooth headset.
I want ...
0
votes
0
answers
37
views
Android virtual device screen does not fit appropriate real device
After a few failed attempts to build React Native layouts using AVDs that emulate some specific real devices, I wish to ask if somebody could clarify for me why does it work the wrong way and are ...
0
votes
0
answers
58
views
android studio is stuck at "Loading device skin this can take few seconds" while creating AVD
As you can see in the image it's stuck at "Loading device skin this can take few seconds" i have waited 1 hr but it's not showing my virtual devices this is my first time using android ...
0
votes
0
answers
32
views
My emulator is closing whenever I click the offersButton which should make the screen move to the second acitivity
They don't give me an error when I run the App, here is my code.
Edit 1: The logcat had the error. It was asking me at add a theme to the SecondActivity in the AndroidManifest.xml.
Fix: Added the ...
0
votes
0
answers
26
views
Hox to fix "package R does not exist setContentView(R.layout.activity_main)"
I'm running ./gradle assembleDebug and i'm having this error
...app/src/main/java/com/name/app/MainActivity.java:11: error: package R does not exist
setContentView(R.layout.activity_main);
...
0
votes
0
answers
39
views
How to create and configure an .apk file for deploy my android app to avd emulator?
I want to deploy an android app to an android virtual device.
I did all the java, sdk , gradle installation, and have my avd running perfectly. Now I want to create and configure an app so, i created ...
0
votes
1
answer
34
views
Android Virtual Device is using default Material3 theme, but should apply custom theme
The Problem
I've been struggling with this problem for a few days now.
Android Studio's AVD seems to be only using the default Material3 theme for my application. I had no issues with this specific ...
0
votes
0
answers
27
views
How to deploy a simple "Hello world" app in avd emulator on ubuntu (without android studio)?
I would like to run a simple "hello world" application in my device, how can i do that without Android Studio, on ubuntu?
I have already installed java, gradle and android sdk. I can run an ...
0
votes
2
answers
71
views
"Android Emulator has terminated" I got this error in every time when I create a new virtual device in my Android Studio?
The error that I got every time from new android emulator that I created,
For your information :
Here is the flutter doctor,
I also add the android sdk path,
Is there anything I'm missing to add or ...
0
votes
0
answers
13
views
Changing the path of reading AVDs for VS Code
I changed the default directory of AVDs, from C:\Users\YOURUSERNAME\.android to D:\Android\.android. Android Studio can see virtual devices but VS Code doesn`t. How to change the reading path of the ...
0
votes
0
answers
26
views
How can I change geolocation in virtual device manager?
I'm trying to change the original geolocation to Germany, click "set location" - shows Belarus (my current location)
Restarting the emulator via power off doesn't help either
https://i.stack....
0
votes
0
answers
41
views
Getting error message as "Network issue" while making API call to a remote API server
I am new to React Native development. I have some experience with React JS. I am developing simple login page which sends "username"and "password" to my remote API while clicking ...
0
votes
2
answers
727
views
How do I run Android virtual device in Azure VM?
I need the ability to run the Android emulator on a VM as part of a test environment to automate UI testing for a mobile app.
I have created my Azure VM:
OS: Windows 10 Pro
Size: Standard D4s v3 (4 ...
1
vote
1
answer
58
views
Can you tell me how to get rotated android virtual device back to normal?
May I know how to rotate the rotated android automotive virtual device in the forward direction as shown in the picture below?
Ctrl + (F11, F12, etc...) I tried several methods, but all failed.
In ...
0
votes
1
answer
358
views
No Wear OS Virtual Device for Android 13 (API 34) in Android Studio's Device Manager
In Android Studio's Device Manager, I'm unable to find a virtual device option for Wear OS with Android 13 (API 34). While I've noticed options for Android 13 for phone devices in the "Virtual ...
0
votes
0
answers
88
views
Object.hasOwn(defaultMergeFunctions, key))
Description: I try to run Android Studio emulator with Appium in a Javascript application and I'm getting the next error trying to run emulator in appium.
I have installed node v16.14.0 (npm v8.3.1) ...
0
votes
0
answers
35
views
App crushing while running (Android Studio)
While running my app on android studio real and virtual device , it crashing on both.
Although , it runs succesfully (i mean there is no errors).
i tried clean and rebuild project , searching errors ...
1
vote
1
answer
162
views
Cannot run android emulator - Unexpected error while creating: C (error: 3)
I have a problem running my avd on my windows device.
I created avds through the device manager of android studio.
When I try to run one of the avds, I can see the process in the task manager, but ...
1
vote
0
answers
246
views
An error occurred while creating the AVD. See idea.log for details. When trying to duplicate a AVD
Creating the AVD and trying to duplicate it.
Getting this error: "An error occurred while creating the AVD. See idea.log for details."
LOG:
java.lang.NullPointerException: Cannot invoke &...
0
votes
3
answers
155
views
Is there a way to remove the annoying black circle when using an android emulator in android studio?
Android Emulator Screenshot
I was planning to use an android device emulator since I cannot use my physical one but I suddenly encountered this black round circle and I find it annoying, is there any ...
0
votes
0
answers
38
views
Process finished with exit code -1073741819 (0xC0000005) - Emulator Android Studio
I'm running the Android Studio emulator, but the emulator always returns an error. When I look at the device's Logcat, I get the following message. How can I resolve this?
2023-07-19 09:33:40,511 [...
0
votes
0
answers
60
views
How to fix Installation failed due to: "Unknown failure: cmd: Can't find service: package"
When I am running the AVD from the compiler, it display this error message to me and prompted me to retry.
Activity Logs :
07/18 23:37:45: Launching 'app' on He.
Installation did not succeed.
The ...
1
vote
0
answers
97
views
How to fix Device Manager, Unknow Error, Please file a bug agianst Android Studio?
When i open my device manager in Android Studio and try to run the 'Pixel_3a_API_34_extension_level_7_x86_64'.
I get the error 'Unknow Error, Please file a bug agianst Android Studio'
When i open the ...
0
votes
0
answers
32
views
Could not automatically detect an ADB binary - (Android Studio)
When I opened my emulator than this message popped up "Could not automatically detect an ADB binary".
There was the same question on someone else's on this platform but the answers were not ...
1
vote
1
answer
176
views
Android Emulator: Not able to get Proxy settings to work globaly across all apps
I have encountered difficulties while attempting to run all apps behind an HTTP proxy. I have tried using the "-http-proxy" option, but it appears to be ineffective/buggy with certain proxy ...
0
votes
0
answers
53
views
how can guest aosp vm communicate with host BT aosp stack?
I am running vm cutellfish arm64 on top of another aosp HOST via crosvm .
I would like to enable the feature of bleuttoh as mention in the official google android source like the device trout.
does ...