13 votes
Accepted

Root Android virtual device with Android 7.1.1

How to root android emulator (Android 7.1.1/ Nougat) I’m pleased to inform the community of an easier way to root android emulator (run from standalone Android SDK) Requirements: SuperSU app (...
xavier_fakerat's user avatar
9 votes
Accepted

Is the CPU of Samsung Galaxy A10s 64 bit or 32 bit?

As suspected by OP, the hardware is 64 bit but it is running in 32 bit mode as mentioned in this reddit which in turn refers to geek bench for proof. Apps like AIDA 64 can reveal this Source Also ...
beeshyams's user avatar
  • 40.7k
8 votes

Update Android SDK Platform Tools via Command line

Use of android tool is deprecated; instead use sdkmanager: androidsdk/tools/bin/sdkmanager --update https://developer.android.com/studio/command-line/sdkmanager.html
Peter Tran's user avatar
5 votes
Accepted

Fastboot doesn't see nexus 6p

Install the Google USB Driver while in phone is booted to bootloader. Those are in your SDK folder location - extras - google - usb_driver. When my N6 is booted to bootloader, Windows 10 shows ...
DukeSilversJazz's user avatar
4 votes

What do I type in PATH variable for ADB server to start from CMD?

I had platform-tools installed right from Android studio and that is where they were placed: C:\Users\{USERNAME}\AppData\Local\Android\sdk\platform-tools Then this is the directory needed for the ...
Joshua Szuslik's user avatar
4 votes

How to install SDK packages offline after download is complete?

You could consider using https://github.com/icefapper/offdroid; it creates a server on local host and serves the sdk manager with the packages you have on the disk. the process is completely ...
icefapper's user avatar
4 votes
Accepted

fastboot: usage: no command

Use fastboot --help instead. This is a kinda standard way to get usage help in Linux world. However sometimes writing only the command name also works as you expect. Reference: if (argc == 0) { ...
Irfan Latif's user avatar
  • 20.4k
4 votes

How to startd the AVD manager without starting android studio

It is just the android avd command, where the android shell script is in the tools/ directory of your SDK installation. Or go to the directory and cd ~/Android/Sdk/tools/bin/ ./avdmanager ...
Tarek's user avatar
  • 159
3 votes
Accepted

How to use Android sdk to flash android system images

The Android SDK contains fastboot for flashing images. But Samsung devices are usually not flashable via fastboot. Instead you need a software named Odin or for Linux an "Odin clone" named ...
Robert's user avatar
  • 20.3k
3 votes

Would I install android studio with 2 GB RAM

No. You need at least 3 GB RAM. Source.
Άνδρας's user avatar
  • 1,113
3 votes
Accepted

ADB not finding device with Galaxy S8 and Windows 7

I suggest you to connect your phone to your PC, and on your computar to go on Device Manager in control pannel and remove devices related to your smartphone. Then, disconnect the smartphone from you ...
Rui Oliveira's user avatar
3 votes

Allow USB debugging popup does not come in my new PC

I also got the same issue in my lenovo mobile. But when i deleted the .android folder in the home directory, my problem is solved. For me the issue is the adb don't have enough permission to read the ...
Mahendran Sakkarai's user avatar
3 votes
Accepted

ADB server version (40) doesn't match this client (41) {Not using Genymotion}

Since this adb server version (XX) doesn't match this client (YY); killing... seems to be a very prominent question, let me present the quite straight forward solution - I actually wonder why it wasn'...
Cadoiz's user avatar
  • 201
3 votes

How to transfer USB debugging authorization permission from one laptop to another?

You can simply copy the adb private adb public key file to a new computer or a different user profile: # Windows %USERPROFILE%\.android\adbkey %USERPROFILE%\.android\adbkey.pub # Linux/MacOS ~/....
Robert's user avatar
  • 20.3k
2 votes

Android Studio (Windows 7) does not detect ASUS Zenfone. Cannot run my app

You need to turn on the USB debugging for ADB to work. To turn on USB debugging: Navigate to Settings > About Phone > scroll to the bottom > tap Build number seven 7 times. You'll get toast saying ...
B45i's user avatar
  • 175
2 votes

Does anyone know how to install Android SDK/NDK on Ubuntu VirtualBox?

Those console warnings are not relevant here. Your first screenshot tells you exactly what's wrong — you're trying to install something without first installing what it depends on. You should ...
Matthew Read's user avatar
  • 50.6k
2 votes

How to Install OEM USB Drivers for my LYF phone?

I have a LYF Phone (LS-4005) which I wanted to connect with Android Studio to debug apps on real phone in place of emulator. So I searched for endless hours on Google Search for correct ADB driver of ...
Rahul Dhangar's user avatar
2 votes

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

The app you are trying to run has a larger minimum SDK requirement than what is provided by the device you are trying to run on (22 vs. 23). Check out the changes you need to make in your manifest ...
Michael Banzon's user avatar
2 votes
Accepted

Why SDK version in recovery is different from SDK version in build.prop

The recovery is a miniature OS in itself, built with separate sources from the OS. For your case, the recovery is built from Lollipop source. This does not affect anything, for this SDK level is not ...
Andy Yan's user avatar
  • 9,539
2 votes

ADB not finding device with Galaxy S8 and Windows 7

What worked for me was to go to Settings -> Developer Options -> Revoke USB debugging authorizations in my Galaxy S8+.
Jean Knapp's user avatar
2 votes

Android-Studio in VM. Emulator: audio: Failed to create voice `goldfish_audio_in'

Uninstall Intel x86 Emulator Accelerator from windows control panel. Then install it again in android studio. Tools => Android => SDK manager => SDK tools => Intel x86 Emulator Accelerator (HAXM ...
Thanasis's user avatar
  • 121
2 votes

Why files/directories under Android's root filesystem don't change across different version updates?

Android OS has two parts: kernel and userspace binaries, libraries, configuration etc. Android's kernel is taken from Linux, slightly modified and rarely gets major updates in years (other than ...
Irfan Latif's user avatar
  • 20.4k
2 votes
Accepted

Would I install android studio with 2 GB RAM

8 GB RAM recommended 2 GB of RAM isn't enough for any of the platforms. 3 GB RAM is the minimum plus 1 GB for Emulator = 4 GB minimum. However 8 GB RAM is recommended. From Android Studio Requirements:...
WinEunuuchs2Unix's user avatar
1 vote

Illegal option -o pipefail

You're using the fast shell interpreter, sh, while apparently, as the file name suggests, that it's made for Bash. (In fact, set -o pipefail is a Bash-specific option). To run that script properly, ...
iBug's user avatar
  • 7,757
1 vote

Cannot start android emulator64 due to Qt unable to load xcb

I tried every possible solution I could find on the net but I still got: Cannot load library /home/darkstar/android/emulator/lib64/qt/plugins/platforms/libqxcb.so: (/lib64/libQt5XcbQpa.so.5: ...
aGuyInLasVegas's user avatar
1 vote
Accepted

How do I keep android SDK and reuse it on other PCs without the internet

I have separate partition for Android Studio and SDK and it works fine after Installling my OS again & again. Process is simple Download zip version of Android Studio. Open Android Studio for ...
Ravindra's user avatar
  • 111
1 vote

ADB not finding device with Galaxy S8 and Windows 7

Yep I forgot a step. You have to "enable developer options" then go to "developer options" on the (S7 in my case) and enable "USB debugging".
rogerdpack's user avatar
1 vote

How to Install OEM USB Drivers for my LYF phone?

LYF phones are basically developed by Chinese manufacturer named ZTE (https://en.wikipedia.org/wiki/LYF#Production) So try choosing ZTE OEM's USB drivers for LYF handset. Let me know if it helps.
Rahul Dhangar's user avatar
1 vote
Accepted

Any way to have hardware accelerated virtualization without changing HW?

Basically you can't. Your best bet would be a Virtual Machine in VirtualBox but this is more like hoping for it to work and not break after installing. The reason is Intel HAXM that is building on ...
GiantTree's user avatar
  • 4,062

Only top scored, non community-wiki answers of a minimum length are eligible