Skip to main content

Questions tagged [android-studio]

Android Studio is the official Android IDE. Use this tag only for using Android Studio as end-users or power-users (but not particularly as developers), like managing Android emulators, debugging existing APKs, etc. DO NOT USE THIS TAG FOR APP DEVELOPMENT ISSUE BECAUSE IT IS OFF-TOPIC.

Filter by
Sorted by
Tagged with
18 votes
7 answers
25k views

Wireless Android debugging not working

I am using the Android Studio Chipmunk edition. My Android device is connected to the WiFi and my PC is connected to the same router through ethernet cable. My devices are running Android 12. So, it ...
1 vote
1 answer
2k views

"Could not launch inspector studio.network.inspection" when using App Inspector on Android Studio Bumblebee 2021.1.1.1 with WiFi pairing

When we use a "pair device using WiFi" in Android Studio Bumblebee version 2021.1.1, in the "App Inspection" section, it gives us an error in reading the "Database". ...
3 votes
1 answer
6k views

Which Android virtual device is based on ARM system image?

Android Studio has a feature where you can emulate an Android device -- tablet, phone, etc. -- but it crashes the virtual machine (Ubuntu) I am using. Depending on which VM platform I am using, it ...
1 vote
0 answers
55 views

Accessing Recorder app files

On my Pixel 4a, I had a number of recordings on the Google Recorder app. When I tried to enable the backup option, something must have gone wrong, and my recordings disappeared from the list, and didn'...
0 votes
1 answer
567 views

Does the Android SDK Emulator mount the filesystems on the host or emulate the mounting?

Does the Android Studio Emulator mount filesystems (like system.img and userdata-qemu.img) or emulate the mounting by making an illusion because I can't find them (the mounted filesystems) on the host ...
1 vote
1 answer
123 views

Virtual device in android studio virtual device manager is not play protect certified

I downloaded Android Studio yesterday, so it should be fairly new. I created 2 virtual devices using latest SDK, version 14 something. Both device is not play protect certified when I check in: Play ...
0 votes
1 answer
155 views

Screen capture on Android using Android SDK

I am trying to take a screen capture of my android phone when it plays a video, with native resolution and minimum overhead. But when I use Android Studio's record option as seen below, the recorded ...
4 votes
1 answer
1k views

ADB not responding

Multiple times per day, ADB suddenly stops responding. After this occurs, every adb shell command fails to finish or produce any output. IntelliJ and Android Studio no longer recognize my phone(s). ...
1 vote
1 answer
395 views

Android Emulator cellular speed limits does not work properly

I need to limit cellular speeds in Android Studio's Emulator. I tried to limit it from the default settings: but it does not work. Each time I select anything lower than LTE I get like 0.01Mbps. Any ...
0 votes
0 answers
27 views

Where is the su policy defined in Andriod SELinux Policy?

Where the su policy is defined in the SELinux policy and see what makes it different to other policies?
8 votes
2 answers
42k views

Can I access "/data/user/0/" folder in Android emulator from Ubuntu PC?

I am using Ubuntu 18.04. From Android Studio with the following code I am getting file directory Context ctx = getApplicationContext(); final File filesDir = ctx.getFilesDir(); which is /data/user/0/...
5 votes
2 answers
7k views

"cannot add library libvulkan.so" when trying to start emulator

This is my first time attempting anything Android. I have installed Android Studio 2021.3.1 Patch 1 on Ubuntu 22.04 and created an Empty Compose Activity as a test. The Device Manager looks like this ...
1 vote
0 answers
123 views

How to download all Android SDK platforms using sdkmanager from terminal without Android Studio?

Need to automate downloading of all available Android SDK Platforms using the sdkmanager from terminal. For example, an Android SDK Platform 19 can be installed using sdkmanager "platforms;...
1 vote
0 answers
111 views

Android Studio - data manager - permission denied

I have a Samsung Galaxy S5, Android 6.0.1 Marshmallow. I try to access a save file for a game without Google Play cloud backup. I have managed to get deeper into the file system using Android Studio ...
1 vote
1 answer
491 views

What is the official Android repository containing APKSIGNER?

What is the official source for apksigner as referenced e.g. in this answer? People are citing Android Studio, Android SDK Build Tools/Platform Tools/Command Line Tools etc. (as well as some shady ...
1 vote
0 answers
289 views

How can i see my devices external USB storage in android studio

I'm currently creating an application that aims to automatically move a file between the folder of a USB device and an internal folder. I have the code that moves the files between two folders working ...
2 votes
1 answer
761 views

Android Emulator Performance is Extremely Unstable

First of all, hopefully this is the right place to post this type of question - if it isn't, do let me know. I have a relatively new PC with 16 GB RAM, 10th Gen Core i3, 4 physical and 4 virtual cores ...
2 votes
5 answers
32k views

How to fix "No device connected" for USB debugging in Android Studio?

Running Windows 7, and I have just downloaded the latest Android Studio version, and started a project. Now I'd like to test the application on my device but Android Studio says on the bottom left "No ...
-1 votes
1 answer
474 views

Developer options suddenly disappeared

At the same time, the developer options suddenly disappeared on all the android devices that I used to test. I didn't do a reset or anything. Not even turning off all these devices. Why did it happen? ...
1 vote
1 answer
311 views

Capture TLS handshake

I would like to capture TLS handshakes coming from Android. I was able to install a certificate using this instruction, then I started a server: openssl s_server -key my_site.key -cert my_site.crt -...
0 votes
0 answers
287 views

Everything freezes during booting virtual device in genymotion/android studio

I can't understand what's going - every time I try to boot virtual device in genymotion or android studio my laptop just freezes and needs to reboot. Every process just stuck. Can't fix this problem. ...
0 votes
0 answers
699 views

Android Profiler does not show processes on rooted device

I try to create a memory profile for a specific app using a rooted device: The app is not debuggable The device is rooted and connected via USB USB debugging is enabled The device is shown in the ...
0 votes
0 answers
2k views

Connected android device is not showing up in android studio in m1 Mac mini

I have installed android studio in m1 Mac mini and connected pixel-5 to it. The device is not listing, instead it is showing "loading devices". I have the same setup in intel MacBook Pro and ...
1 vote
1 answer
7k views

Android emulator not connecting behind proxy even configurated for it

I've a android emulator, that is running on a computer that is behind a proxy. From computer perspective, http and https internet access works fine, but on Android Emulator, nothing. So I tried with &...
0 votes
0 answers
35 views

How to choose which tools to download in android studio?

For personal reasons, I have limited internet. :(, that is why I want to choose only the necessary tools to compile APKs, I only give it download, for example: plarform-tools and android studio shows ...
1 vote
1 answer
875 views

Cold boot: snapshot failed to load

Sometimes I start Android Emulator with the GUI, and sometimes I start with the CLI. If I keep using the same method, everything is fine, but if I switch between methods, it causes problems. For ...
1 vote
1 answer
856 views

Magisk v23 with Android Studio

I am trying to install LSPosed [1], but it requires Magisk v23 [2]. I tried to install Magisk v23 using the instruction here [3], but I get this result: - Device platform: x86 - Installing: 23.0 (...
2 votes
1 answer
415 views

I can't use the Android emulator in Android Studio on Mac

Can anyone help me run an Android emulator in Android Studio on Mac? I tried to run it but it gives me the following messages: No USB devices or running emulators detected and minSdk(API 23, N preview)...
1 vote
0 answers
995 views

adb shell input key event : perform a toggle button on off action

Questions How do I in Android 10 toggle on /off the hotspot using adb Su switch on / off for shell- How do I turn on Magisk manager && goto security options && there turn on / ...
0 votes
0 answers
119 views

Apk signed with no rsa or dsa compatible signature

I am building an signed apk to uploaded on a mdm. I used to do this routine without a problem but since I updated to android studio Arctic Fox 2021.3.1 I get the message: "Your apk is signed ...
0 votes
1 answer
2k views

Accept Android SDK Build-Tools on Windows 10

I'm trying to understand why there is no GUI way or Post-Installation process to accept the android SDK Build Tools license: Failed to install the following Android SDK packages as some licences have ...
0 votes
0 answers
234 views

Are the IMG files in the AVD data directory really encrypted?

If I enable phone encryption with password or PIN on my Android Virtual Device, will that actually make the raw NAND images (*.img / *.qcow2) encrypted? Does it render the data in those files ...
0 votes
0 answers
3k views

In Android Studio, which system image should I choose for a Pixel 4 emulator?

In Android Studio, I'm adding a Pixel 4 virtual device. It asks me to select a System Image, and has the following one selected by default: Release name: Pie API Level: 28 ABI: x86 Target: Android 9.0 ...
2 votes
0 answers
112 views

How to cryptographically verify the authenticity and integrity of Android Studio releases (with gpg?)

For a given Android Studio release published by Google, how can I cryptographically verify the authenticity and integrity of the .tar.gz file that I downloaded before I copy it onto a USB drive and ...
1 vote
1 answer
871 views

Changing Android Studio Emulator from localhost:port to 192.168.x.x

I am trying to figure out how to change Android Studio's Emulator so that it can be reached from a different IP from the host machine. Currently I can access it at localhost:5554. I am trying to start ...
1 vote
0 answers
159 views

Recently deleted my AVD and did not get back the 8 GB it took up?

I haven't used Android Studio in a few months so I went ahead and deleted my AVD and system image from the tools menu inside Android Studio. The image deleted fine, however I notice that while the AVD ...
1 vote
0 answers
276 views

How to extract a raw apk out of installed application?(Raw for reverse eng purpose)

So I developed an application but my hard drive failed and I lost access to project resources, but I had it previously installed on my phone through android studio debugging process. Now I want to ...
1 vote
0 answers
34 views

Wifi Card / Mobile Hot Spot

I am learning about networking, specifically the data link to session layers. I have an extra android phone I have been learning with on various things, and I am at the point where the application ...
2 votes
0 answers
27k views

Android Studio emulator: Failed to start monitoring emulator-5554

I am forking this app and trying to make some changes to it and run it. I've managed to do so on my laptop but it's painfully slow, so I am trying to set up the whole thing on my PC but I get the ...
1 vote
0 answers
2k views

Emulator: emulator: ERROR: Not enough space to create userdata partition (Ubuntu 20.04)

I've been getting the error: emulator: ERROR: Not enough space to create userdata partition. Available: 6910.351562 MB at /home/codedoor/.android/avd/Pixel_4_API_29.avd, need 7372.800000 MB I'm ...
0 votes
0 answers
547 views

App not being loaded in the emulator

I am trying to run this project in the emulator through Android Studio (4.1.1) on Ubuntu 18.04. Everything seems to be set up properly in Android Studio, I have a device called Pixel XL API 29 and the ...
0 votes
1 answer
390 views

Debug APK with Android Studio without breakpoints [closed]

I'm trying to reverse engineer a newspaper app. I've decompiled it with apktool v2.4.1 apktool d APK_NAMEadded to android:debuggable=true in AndroidManifest.xml and changed one boolean method's return ...
0 votes
0 answers
361 views

How to resize the screen of the virtual android

Is there any way of resizing the screen in correlation with the virtual device? I have been looking everywhere but none seems to have my problem or I may be missing something. Waited for the device to ...
0 votes
0 answers
406 views

I was running an AVD on Android Studio and I got the following 2 errors. What do they mean?

Error number 1: Emulator: E0809 05:21:56.677723102 2704 socket_utils_common_posix.cc:201] check for SO_REUSEPORT: {"created":"@1596930716.677712232","description":"...
1 vote
1 answer
5k views

Can't see Android Emulator when apparently it already is running

I am trying to start learning how to develop Android apps, and I tried to make a new project and navigate through Android Studio. I tried using the Emulator by creating a new virtual device and ...
-1 votes
1 answer
105 views

Can I install Android using Android studio on any supporting devices?

I have a Samsung phone. I don't know anything about installing Android and about Android Studio. Can I install Android on it using Android Studio?
0 votes
1 answer
691 views

genymotion icon is not shown in android studio

i want to use genymotion in android studio. i have installed genymoiton and oracle virtualbox. in android studio i went to: File> settings> plugins , and installed genymotion. i should say that, ...
1 vote
0 answers
709 views

Error while running an emulator

=== About === Build version: Android Studio 3.6.2 Build #AI-192.7142.36.36.6308749 March 19, 2020 Java version: 1.8.0_212-release-1586-b4-5784211amd64 Operating System: Linux (5.4.0-31-generic, amd64) ...
0 votes
0 answers
535 views

is it possible to enable WPS to connect to a WiFi using ADB commands?

Is there any way to enable WPS in Android through ADB commands to get to connect to the WiFi? What I want to do is automatically testing this feature in a router with different types of devices ...
0 votes
3 answers
1k views

Android studio not detecting devices

I am currently using windows 10 enterprise and my android studio does not detect devices despite me installing drive pack 17 and also adb fastboot drivers all phones are detected by the machine but ...