Questions tagged [android-sdk]

The Android SDK (Software development kit) is a set of development tools for Android.

Filter by
Sorted by
Tagged with
41
votes
2answers
60k views

What is `Snapshot` and `Use host GPU` emulation option(s) for?

When creating an emulator device, the option Emulation Options makes me confused. What do Snapshot and Use host GPU mean?
17
votes
2answers
16k views

Read APK permission by shell command

I want to read the requested permissions of an .apk file on the computer (android sdk is installed) via command line. I.E.: $ android read-permissions /path/to/someapp.apk I know this is possible, ...
14
votes
1answer
63k views

Root Android virtual device with Android 7.1.1

I'm using the official Android SDK with the Android Emulator to create a virtual Android 7.1.1 (x86). I need to test a number of things, amongst others, some applications require root access to the ...
13
votes
5answers
147k views

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

I am following a Wiki on how to install and set up Android SDK and I am stuck at a step where I am supposed to test if the ADB server works by using the command adb start-server. Is this command ...
11
votes
3answers
117k views

How to install SDK packages offline after download is complete?

I'm trying to setup my Android development environment and for some reason I would rather do that offline instead of using SDK to download the packages. So far I managed to grab a list of packages ...
11
votes
2answers
24k views

Update Android SDK Platform Tools via Command line

I want to write a script to update the Android SDK platform tools and I need the command if available to run in order to achieve this. What I have found is that I can use the Android command under the ...
9
votes
1answer
45k views

How to install kernel module for android?

I currently have a custom kernel and ROM installed on my android device. The kernel I'm using comes with a separate download with kernel modules that you are to install yourself if you want. However ...
8
votes
4answers
3k views

how can android keep a TCP connection alive when changing network provider?

i'm curious about how android can keep a TCP connection alive while i'm switching from 3G ( mobile data ) to WiFi and viceversa. i'm asking this after i seen that i had an uninterrupted radio stream ...
8
votes
1answer
2k views

Android Emulator using Hardware Keyboard has no “Umlauts”

I have the latest ADT installed and when I start the emulator I am not able to type, for example, German umlauts. I have tried to change the settings in android to German keyboard layout but that ...
8
votes
2answers
1k views

Android SDK 2.1: Unable to install app from Android Market on the Emulator

I am testing the Emulator that comes with Android SDK 2.1, but I am Unable to install app from Android Market. I made the Login on www.google.com but still no success: This is the error message: ...
7
votes
1answer
3k views

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

I really wanted to know the CPU word length of Samsung Galaxy A10s, running Android Pie. In the first appearance it looks like it has a 64 bit processor, since, it uses the MediaTek Helios P22 chipset,...
6
votes
1answer
11k views

AVD Emulator, “Unfortunately, Browser has stopped”

I'm trying to get started with development. I have just installed the SDK (ADT v22.3.0-887826) on Linux Mint 15 x86-64. I haven't made any configuration changes to the default installation of ADT, and ...
6
votes
1answer
2k views

Screen-casting/screen-capturing the camera view (appears black)

For demoing an Augmented Reality app, I would like to do a screencast of the Android device's screen (HTC Desire S). The open source project androidscreencast works fine, except for the camera view. ...
5
votes
1answer
13k views

Fastboot doesn't see nexus 6p

Currently trying to unlock my bootloader, but cannot get my nexus 6p to determine that it's connected to my PC. I can use adb commands while it's on, but booting it into fastboot mode with the adb ...
5
votes
2answers
33k views

Android SDK Can't Find android.bat?

I just downloaded the Android SDK (primarily for the purpose of running SDK Manager to install the Google USB drivers to connect a device), but the SDK Manager fails to run. I get the following error:...
4
votes
2answers
37k views

./flash-all.sh: line 16: fastboot: command not found [closed]

I'm trying to "Get Started" with Setting Up the Preview SDK | Android Developers to Install the L Preview System Image Android L Developer Preview | Android Developers on my Nexus 7 (Wifi) "razor". I'...
4
votes
1answer
4k views

How to startd the AVD manager without starting android studio

Use AVD Manager without Starting Android Studio this question is the same as mine, but the answer does nt work for me. There's no executable to launchd AVD manager on my SDK directory (I'm on ubuntu). ...
4
votes
1answer
3k views

How to use -net-tap with android sdk emulator?

I am trying to create a bridge between android emulator (from android sdk) and host system using -net-tap. Is there any working manual for that case? I have tried to launch emulator with -net-tap tap0 ...
4
votes
2answers
52k views

Problem with Android Emulator on Android Studio. HAXM Kernel Module not Installed [duplicate]

I recently switched over from Eclipse ADT to Android Studio and as soon as I tried to fire up the emulator, I saw the following message: emulator: ERROR: x86 emulation currently requires hardware ...
3
votes
4answers
7k views

What is the best way to get the android sdk reference offline on my android device?

I want to study the Android API on my phone during my frequent and long metro rides (where I cannot connect to the internet). What would be the best way to make the documentation available (I would ...
3
votes
5answers
15k views

ADB not finding device with Galaxy S8 and Windows 7

I'm trying to get my Galaxy S8 to work with unity for gear VR development but I cannot seem to get ADB to find the phone. I've enabled USB debugging in development options and also have the latest ...
3
votes
1answer
18k views

URL Not Found Error in SDK Manager

As of lately i have not being able to update / install SDKs from Android SDK Manager. I get the following errors: Preparing to install archives Downloading Android SDK Platform-tools, revision 20 ...
3
votes
2answers
2k views

Cannot start android emulator64 due to Qt unable to load xcb

I cannot start the (android) emulator64-x86. It always fails with: --> ./emulator64-x86 -avd loli -gpu off This application failed to start because it could not find or load the Qt platform ...
2
votes
1answer
22k views

What is Android's sleep mode [closed]

Many developers speak of Android's sleep mode. When exactly the device goes into sleep mode ? What is st standby mode ? How standby and sleep mode are different (or related)? When the device goes ...
2
votes
1answer
3k views

How to unbrick/reflash Nexus S using stock ROM, stock tools

I have a Nexus S that seems to have bricked itself. I have never modded the ROM or phone, and it was totally stock. Now, it boots right int the white Google logo and stays there forever (I let it ...
2
votes
2answers
3k views

Cannot take screenshots of Android L emulator

No matter which method I use, I cannot take screenshots of the Android L emulator. I tried through Android Studio, using the Android Device Monitor app, and through adb with this method (first answer) ...
2
votes
2answers
19k views

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

Hello, I am trying to setup Android Studio 3.1.3 in a windows 10 x64 pro VM. I have installed Android 6.0 in AVD for ARM EABI architecture on a Pixel. However, when I try to launch the emulator I get ...
2
votes
2answers
6k views

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

So, I will list the problems one by one. Please help. I plug phone into laptop's USB using Phone's own data/ charger cable. Everything is ok. Phone is in MTP mode. Android Studio does not detect the ...
2
votes
1answer
16k views

Unable to install system images for the Android SDK: “Failed to create directory”

I've just installed Xamarin, to use C# on Android: on their tutorial about how to install the emulator here. I saw they installed Intel x86 Atom system image and ARM v7a system image, so I did the ...
2
votes
1answer
5k views

Is ARM EABI v7a System Image and Mips System Image important?

I noticed that what makes installing SDK packages so slow is because these two packages take too long to be downloaded and sometimes it hangs on these two. Do you really need to download these two ...
2
votes
1answer
1k views

Droid Explorer does not recognize Android Studio as a valid Android SDK during install.

Trying to install droid explorer on a Win7 laptop. To get Droid Explorer installed and working, do I need to: 1. Install older version of Android SDK? 2. Wait for Droid Explorer to catch up? 3. Do ...
2
votes
2answers
3k views

Large files on machine after installing Eclipse and Android Studio

After installing and uninstalling both Eclipse and Android Studio several times, I have some very large (> 200MB) files on my PC (Windows 7). I currently use the Android Studio version that is ...
2
votes
0answers
592 views

Application Installation Error in Genymotion emulator [closed]

I am trying to run an application which I am developing currently in Android Studio 3.0 using Genymotion emulator with Android 5.0 - API 21 (Kernel version 4.4.10). All set up on Linux (Fedora 26). ...
2
votes
0answers
98 views

where/how to find/extract official android os (open source) translation/localization/glossary

Since the open source android (https://source.android.com) is available in multiple languages, can I extract all the translated strings in the OS so I can use them as a reference for my own app's ...
2
votes
0answers
259 views

Droid Explorer Cannot Start because Unable to locate aapt.exe in the SDK path

Iam just installed Droid Explorer version 0.9.04 (x64) This morning and already locate the SDK folder but when i luch the application it's show me that Droid Explorer can't locate aapt.exe in the SDK ...
2
votes
0answers
5k views

SDCard permission issue

I have a Samsung S3 which I have installed Cyanogenmod on with a view to carry out some procedures with root permissions. At the minute I am trying to create a .img file of the userdata memory block ...
2
votes
0answers
32k views

How to regenerate/create adbkey and adbkey.pub from the command line?

I'm starting to mess with Android SDK (on Ubuntu GNU/Linux), and am seeing stuff like running the tools/android and its GUI, adb or gradlew for the first time. So, I'm trying to set this up, and in ...
1
vote
3answers
922 views

How to Install OEM USB Drivers for my LYF phone?

I'm a newbie. Recently, I have installed Android Studio 2 on my PC. Run my first "hello world" project on Emulator. But the Emulator is taking too much time to load. So, I thought I would directly ...
1
vote
1answer
17k views

Allow USB debugging popup does not come in my new PC

I am using a Nexus 10 Tablet( Android 4.4.4) . I have 3 PCs where I was already doing android development and one new PC on which I started today. All are windows 7 64-bit Service Pack1. The only ...
1
vote
1answer
625 views

How does S Pen (Samsung) show cursor on screen?

I would like to know how does samsung android os show the pen cursor when I took the pen out and point over screen without touching the screen? It is a miracle for me. I cannot find any sources.
1
vote
1answer
8k views

How to install adb/fastboot in cmd (with usb-drivers)?

I need adb for some reason, but don't know how to install it and getting the usb-drivers? I heard you have to download the full android sdk? What is to do?
1
vote
1answer
617 views

NullPointerException, getPhone error when trying SKD-21, Messages displaying on Samsung Galaxy s4 after update to Lollipop 5.0.1

Yesterday I updated my Samsung Galaxy s4 to Lollipop 5.0.1. It is important to note that my phone is not moded in any way nor has it been rooted. It is the standard user version phone. After the ...
1
vote
1answer
1k views

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

Disclaimer: this is not a duplicate to this SO question as the source of the question is different and the answers don't apply.* I hope, it is correctly placed in AE and that the note about not using ...
1
vote
1answer
796 views

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

I compared 2 devices; one running Android v5.1.1 and other v9.0. So I noticed that files under /proc are same in both. Can anyone explain why there is no difference even though OEM's are different and ...
1
vote
1answer
2k views

Is it possibile to extract individual files from a .ab backup file?

If I run: adb backup -apk -shared -all -f \Path\to\backup.ab Can I then later extract the .ab file on OSX to view and edit individual files?
1
vote
1answer
1k views

Why Android device screen rotate only in Portrait and Landscape orientation?

I have android device LG E400 which has only two types of orientation first one is Portrait and Second is Landscape. It works on 90° Orientation(Left Landscape), 270° Orientation (Right landscape). ...
1
vote
1answer
7k views

System images do not show up in SDK Manager

When I try to create a new AVD, I get the error that there is no system image available. A quick search on the internet tells me that I should download it via the SDK manager, but no system images are ...
1
vote
1answer
84 views

Install your own software [duplicate]

Possible Duplicate: How can I install an app given only its APK file? I'm thinking abount getting a smartphone, mainly for tinkering with it. On iOS, in order to install your own code, you need ...
1
vote
0answers
30 views

How to “adb push” files from linux to android without the non-permissive symlinks

I want to push over 120K small files including symlinks using "adb" but without those links if they fail in "remote symlink failed: Permission denied" to Android device.
1
vote
0answers
77 views

Why does the Android SDK show Android 10.0+ (R) instead of 11.0?

If I open Android Studio and then open the SDK manager, I see 10.0+ (R). I checked for updates, but no other updates. Why is it 10.0+, instead of 11.0?