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
0 votes
0 answers
16 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 ...
user avatar
0 votes
0 answers
9 views

Android Emulator Failure

I am using Android Studio on a Ubuntu virtual machine. Android Studio allows us to pick a virtual device from a list of devices and system images. After find out my computer could not handle a high ...
user avatar
  • 113
0 votes
0 answers
11 views

Can I use android studio with an EMUI phone over USB?

My phone is not being recognized but I am unsure why :(. Maybe I cannot use EMUI phones?
user avatar
-1 votes
0 answers
6 views

I want to count the numbers of elements before itself from the list [closed]

Lets suppose positionList1 has the elements like [0,4,3,2,7] now by using for loop I fetched the values one by one as positionList.get(j). Imagine an element in positionList.get(j) is 3, now I want to ...
user avatar
1 vote
1 answer
25 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 ...
user avatar
  • 113
0 votes
0 answers
19 views

Wireless Android Debugging Not Working

I am using 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 seems ...
user avatar
  • 101
0 votes
0 answers
6 views

Why does it say "Resolved: 28" in red under Project Structure > Default Config in Android Studio? [migrated]

I'm not sure if this is an error or not.
user avatar
-1 votes
1 answer
28 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? ...
user avatar
0 votes
0 answers
13 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. ...
user avatar
0 votes
1 answer
56 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 ...
user avatar
0 votes
0 answers
56 views

Why do I get "emulator: command not found" while running the command $emulator on Ubuntu?

I am trying to emulate a custom android AOSP 12L build by using the $emulator command. I get the error : emulator: command not found The AOSP image I built is from Sony's open device project, AOSP ...
user avatar
0 votes
0 answers
31 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 ...
user avatar
0 votes
0 answers
38 views

Android studio error starting emulator from command line

Im getting the following 2 errors when trying to start an emulator through android studio command line 1. qemu-system-x86_64 stopped responding 2. program cant start because glib-2-vs11.dll is missing ...
user avatar
0 votes
0 answers
57 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 default settings: but it does not work. Each time I select anything lower than LTE I get like 0.01Mbps. Any ...
user avatar
  • 101
0 votes
0 answers
276 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". ...
user avatar
0 votes
1 answer
629 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 &...
user avatar
1 vote
1 answer
119 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 -...
user avatar
  • 73
0 votes
0 answers
25 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 ...
user avatar
0 votes
0 answers
22 views

Android Studio sluggish and crashing

I've downloaded an installed the latest version of Android Studio, it is taking a long time to load and when I run a program, at the beginning of emulator start it is crashing. My PC is Ryzen 3 3200G, ...
user avatar
1 vote
1 answer
425 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 (...
user avatar
  • 73
1 vote
1 answer
72 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 ...
user avatar
  • 73
0 votes
0 answers
203 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 ...
user avatar
  • 163
1 vote
0 answers
288 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 / ...
user avatar
0 votes
0 answers
16 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 ...
user avatar
0 votes
0 answers
90 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 ...
user avatar
  • 131
0 votes
0 answers
209 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 ...
user avatar
  • 111
0 votes
1 answer
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 ...
user avatar
3 votes
1 answer
12k 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/...
user avatar
1 vote
0 answers
51 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 ...
user avatar
1 vote
1 answer
229 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 ...
user avatar
  • 11
1 vote
0 answers
37 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 ...
user avatar
  • 11
1 vote
0 answers
56 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 ...
user avatar
1 vote
0 answers
33 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 ...
user avatar
1 vote
0 answers
5k views

NDK does not contain any platforms [closed]

I am getting this error pls help me out
user avatar
2 votes
0 answers
18k 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 ...
user avatar
1 vote
0 answers
898 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 ...
user avatar
2 votes
1 answer
6k views

Why "adb remount" retruns "remount failed" on Android emulator? [closed]

I'm using Android Studio. I was trying to set up dev environment and it requires to modify hosts file. So, I created new devices in ADM (Nexus 4, Android 10 x86_64 without Google API and without ...
user avatar
  • 123
0 votes
0 answers
27 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 ...
user avatar
0 votes
1 answer
252 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 ...
user avatar
  • 101
0 votes
0 answers
138 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 ...
user avatar
0 votes
0 answers
261 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":"...
user avatar
  • 129
1 vote
1 answer
1k 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 ...
user avatar
-1 votes
1 answer
64 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?
user avatar
  • 103
0 votes
1 answer
514 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, ...
user avatar
1 vote
0 answers
691 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) ...
user avatar
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 ...
user avatar
0 votes
0 answers
338 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 ...
user avatar
  • 27
1 vote
1 answer
604 views

How can I launch AVD Manager without opening or creating a project in Android Studio?

Sometimes I just want to open the AVD Manager GUI that is reachable from Android Studio's Tools menu, but without having to start Android Studio and creating or opening a project. How can I do this?
user avatar
  • 581
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 ...
user avatar
2 votes
1 answer
375 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)...
user avatar