A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.
41

The Snapshot option speeds up the boot of the emulator by saving a snapshot of its RAM once it has booted, and restoring from that snapshot on future uses. That way, it doesn't have to run the boot process (which is slow, because it's emulated) every time you start the emulator. The Use Host GPU option uses the host computer's OpenGL implementation (which ...


18

I have solved my own problem. Those search paths are all messed up! I checked the installation path and it's installed in C:\Program Files (x86)\Android even though I do have a 64-bit version of Windows. But nevertheless, this is the default installation location. So I updated the PATH variable with following line. C:\Program Files (x86)\Android\android-...


10

The Snapshot option allows you to use a feature that's similar to the Hibernate function in Windows. It saves the contents of the emulator's memory to disk when you close the emulator, so that when you open it, it doesn't have to boot the OS, but instead it can load the memory contents from the disk and resume from where you left off. This allows you to ...


10

of course you can, use below link and Download Offline any package's you need : http://downloads.puresoftware.org/files/android/ // i think your ip banned from Google.like IRAN Ip :) For Online packages download. after Download : Extract Folder, (Example : build-tools ) in : SDK Root Directory. or if doesnt exist with this name, Create a folder with this ...


10

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 (chainfire) latest version 2.82 Recovery flashable.zip (contains su binary) (Here is alternative mirror link for flashable zip if the main link is not working : ...


7

This isn't an Android problem at all. You can simply run the commands from flash-all.sh by hand, changing each one to name fastboot by its full path, or you can set the $PATH in your shell. PATH="$PATH:/Applications/Android Developer Tools/sdk/platform-tools/" ./flash-all.sh You should also check that the fastboot executable is executable. This probably ...


7

A few to much questions for a single post, though they are mostly related. Let's roll up from the end: Deep Sleep is a state where the CPU has "nothing to do at all". Depending on the tasks the device has to perform, CPU runs in different "speeds" (frequencies). Say you've got a 1 GHz CPU, that doesn't mean it permanently runs at 1 GHz (and eats your ...


6

Digging through the logcat, immediately after the com.android.browser activity is launched, I found a "Fatal signal 11 (SIGSEGV)" in vold, the volume daemon that handles storage. Lots of other storage related issues in the log too. So I checked the virtual device settings one more time and noticed that the SD Card size was not specified. I had assumed that ...


5

A TCP connection cannot be kept alive during a network change, since you get a new IP address, causing all connections being terminated. TCP builds upon IP to get the data delivered. If you change networks you also change your public IP address which is used by the TCP connection to let TuneIn deliver data to you. This invalidates the current connection and ...


5

After further research, I came across this article from Stack Overflow that explains it and states that the Android command that can be used to update the platform-tools in the SDK directory. You follow these instructions as shown on the above link $ android list sdk $ android update sdk --no-ui --filter 1,platform-tools The first command lists the ...


5

Use of android tool is deprecated; instead use sdkmanager: androidsdk/tools/bin/sdkmanager --update https://developer.android.com/studio/command-line/sdkmanager.html


5

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 me the following:


4

You can download the documentation of Ice Cream Sandwich (Android 4.0) by the SDK Manager. SDK manager-->Android 4.0.3 (API15)-->Documentation for Android SDK It will download all the documentation in <android-sdk>\docs of your PC.


4

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 transparent to the sdk manager -- it still believes it is retrieving the packages from the internet.


4

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) { usage(); return 0; }


3

Screen Shot of Emulator: Firstly start the emulator then go to the DDMS please select the emulator then left side we have button Screen Capture click this button screen Shot is taken.


3

While the answers given so far are true in current practice and certainly when switching between your mobile internet provider and home internet provider, both IPv4 and IPv6 do have mobility solutions, IPv4 by extension and IPv6 natively. They enable a mobile user to have a static home IP address and a dynamic mobile IP address which allows TCP connections ...


3

While android-studio was already running I tried to run "android.bat" at below location by right clicking and choosing run as administrator which ran SDK manager and download worked for me. C:\Program Files (x86)\Android\android-studio\sdk\tools\android.bat


3

One of the newest solutions to this problem is MPTCP (Multi-Path TCP) . But this one is also not yet widely supported (Apple's iOS7 supports Multipath TCP for its traffic generated by Siri). MPTCP can stablish multiple sub TCP connections and if supported by devices on a connection, then The connection can be kept even if your IP changes (Wifi to 3G/4G and ...


3

It's the name of a build system for Java programs. Gradle is the build system currently recommended by Google for building Android apps. To learn more, check out the top item of this list.


3

for offline setup, you also need .inf files. each file that you copied, need a .inf file for example file named sysimg_armv7a-15_r03.zip has a file named sysimg_armv7a-15_r03.zip.inf content of the inf file is like bellow : ### Android SDK Download. #Mon Jan 25 05:16:36 SGT 2016 StatusCode=206 Last-Modified=Thu, 04 Jun 2015 17\:00\:00 GMT ETag="55d25" ...


3

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 rsa key to communicate with the device. When we run adb server it'll create a folder named .android(Linux - /home/--username--/.android, Windows - C:/Users/--...


3

No. You need at least 3 GB RAM. Source.


2

I got it: we need to copy those SDK Manager.exe and AVD Manager.exe to the SDK root folder, I needed to copy them to C:\android-sdk\, this is because, SDK Manager.exe and AVD Manager.exe are looking for tools.


2

It's because it's looking for a relative path from the .../sdk/tools/lib/ folder, as that is where you are running the exe from. I have not run Windows in a while, so bear with me, but if you open a command line, navigate to the .../sdk folder, then run the SDK manager from there by typing tools/lib/SDK Manager.exe I suspect it will work. For easier ...


2

These system images just enable you to run Android emulator with processor of some architecture (depending on system image version; for example, Android 4.0 supports x86) and Android SDK doesn't require these images at all. If you use your phone (or some real device) for android development and don't use emulator at all than you don't need to install them at ...


2

This quotes Andy Rubin in saying that they will move from a twice a year release schedule to a yearly cycle. But I don't know of an actual "official" publication. Also, this "yearly" cycle probably only means "major" releases, but there will still probably be "minor" updates through out the year like they have done in the past. The Quote: So we launched ...


2

The SDK needs to be run as admistrator to be able to write those files. Just retry and run it with elevated rights.


2

Some parts of the SDK are the same between Windows, Linux, and Mac, and some are not. The developer tools, such as adb, fastboot, and hprof, are native binaries so they're different for each OS. The emulator too is different for each OS. The Android system images for the emulator are the same between the different host OSes, so you don't need to download ...


2

There is an app that does provide that: https://play.google.com/store/apps/details?id=com.aoandroid.jiuboo.AndroidManual_MS


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