Questions tagged [android-device-manager]

37 questions
22
votes
8 answers

Android Studio: "Device is currently in the unknown state"

I have an Android tablet and an old Linux notebook where I developed a program for months, no glitches. Then I got a new Linux notebook, installed Android Studio, and tried to plug in the Android tablet. The tablet never shows up in the target list;…
Phlip
  • 5,253
  • 5
  • 32
  • 48
21
votes
5 answers

Visual Studio 2017 Android Device Manager thinks WHPX is not properly installed

I just update Visual Studio 2017 to version 15.8.0, the one that I've been waiting for a while now, due to its support for Hyper-V accelerated Android emulators using Windows Hypervisor Platform (WHPX). I've been running Windows 10 version 1803…
TheBlueSky
  • 5,526
  • 7
  • 35
  • 65
4
votes
1 answer

Android Lock Phone Programatically without Strong authentication to unlock again

I am trying to create an app that, upon launching, will lock the phone. (It acts as an alternative of pressing the physical lock button on the phone instead). I was able to achieve it with this code: MainActivity.kt class MainActivity :…
4
votes
2 answers

How do I stop my Android Emulator's partition size from resetting on close?

I'm testing Xamarin apps using Android emulators on Windows 10, and whenever I close (shut down) an emulated Android device, its data partition size in Android Device Manager (disk.dataPartition.Size) is reset to a value of 6442450944, so roughly…
Nick
  • 155
  • 1
  • 10
3
votes
1 answer

Android emulator - Soft buttons showing beside the screen instead of on the screen

I can't seem to get the soft back and home buttons to show at the bottom of the Android emulator, the way they would display in an actual phone or tablet. I have seen answers to this, but I have applied them (the main one is unchecking "Has Hardware…
BeniaminoBaggins
  • 11,202
  • 41
  • 152
  • 287
3
votes
1 answer

XAMARIN Visual Studio 2017 - Android Emulator Black Screen

I've recently run into the problem of the Android Emulator not deploying and showing a black screen instead. I've been working on this problem for 24 hours now and I can't seem to fix it. Even a blank Xamarin.Forms Project causes the Black Screen. I…
2
votes
2 answers

Visual Studio 2022 Android Device Manager - Emulator device setup "The decryption operation failed, see inner exception."

Just installed Visual Studio Community 2022 on Windows 10 and started a basic hello world Maui template, tried to run it on the Android emulator, followed the directions from a website to setup a new Android emulator virtual device. After it…
2
votes
1 answer

Using adb monkey seed across different devices/emulators

I am working on automating monkey testing for Android apps. My question is, if I obtain the seed when monkey causes a crash, what are the requirements to use the seed to reproduce the crash again across devices? Like Android os version, exact…
JRowan
  • 6,824
  • 8
  • 40
  • 59
2
votes
2 answers

Android emulator won't shut down in Android Studio (I don't see "Stop" under the Actions Tab of AVD Manager)

From looking this up online, I should have a "Stop" option under the Actions Tab of the Device Manager's tool window? But I only see six options: Duplicate, Wipe Data, Cold Boot Now, Show On Disk, Details, Delete. Seems the only way I have to stop…
2
votes
1 answer

Can not run DevicePolicyManger (deviceManger) inside running service in android studio

My project has a running background service class. The service class performs a certain operation and every time period of x seconds, it gives an output flag (True or False). Based on that flag, whenever it is "True", I want to call and run the…
2
votes
2 answers

Can't open AVD manager in Visual Studio, internet connection error message

I am new to Xamarin and trying to set up a virtual device using the ADM (Android Device Manager) in Visual Studio 2017. When I click to open the ADM it looks like it's loading for a moment and then pops up the error message "Android SDK instance…
SendETHToThisAddress
  • 2,756
  • 7
  • 29
  • 54
2
votes
1 answer

Cannot create Android Emulators older than Android Kit Kat (4.4)

I am trying to create an Android emulator for Jelly Bean or Ice Cream Sandwich but it doesn't show in the list of available SDK's I have installed the System Images and I have tried all four available processors x86, x86_x64, armeabi-v7a and…
1
vote
2 answers

Get details from Android Device Policy after enrolment via Android Management API using flutter

I enroll a fully-managed device with Android Management API using qrCode. After enrollment, I want to get any kind of detail of enrolmentToken or qrCode that was used to enroll the device, so I can ping my server of the details and update the…
1
vote
1 answer

Android Samsung Galaxy A13 5G Model SM-A136U1 device issue as "Your device isn't compatible with this version"

I have tried the below steps to clear the cache data in play store, but still we are not able to get the INSTALL option for our app in Play Store. CLEAR CACHE > OK. CLEAR DATA > OK. under Apps or Application Manager Settings Here we are getting…