So you decided to give it a try and make some Android screenshots. Well, be ready that it might be a bit tricky to get all prerequisites for Android Screen Capture in place, especially on Windows. But don’t worry. We are here to help. Lets get started.
First of all you will need to get Java Development Kit 1.6+ installed on your system.
- You may follow this direct link to get recent package.
- Click Download JDK.
- Choose Accept License Agreement.
- Click file which corresponds your platform.
- Run downloaded exe file and follow onscreen instructions. You may accept all the defaults.
- It may take several minutes for installer to do its job.
NOTE: that you may need to manually add Java directory to your PATH variable if ddms and/or Ashot won’t launch.
2. Android SDK
Then you need to get and install Android SDK.
- Follow this link to get latest Android SDK for Windows platform.
- Download installer_r12-windows.exe.
- Launch downloaded installation package and accept defaults.
- Click Finish to open SDK Manager.
- Go to the next section to install USB Driver.
Note: Please remember the full path to the SDK for further steps. In this guide we will assume that SDK path is “C:\Program Files\Android\android-sdk-windows“.
3. Windows USB driver & Platform Tools
Wow, this looks tough for getting your phone connected to Windows computer. Anyway here are the steps.
- Please make sure your phone is NOT CONNECTED to your computer.
- (Skip this step if you have SDK Manager running already after installation) Run SDK Manager.exe from SDK path. And wait until it has finished refreshing sources.
- (Only on the first run of SDK Manager) Click Cancel since you don’t need anything but Platform-tools and USB driver for screen capture application.
- Select Available packages on the left panel.
- Expand the Android Repository and set check next to Android SDK Platform-tools.
- Expand Third party Add-ons –> Google Inc. add-ons and set check next to Google USB Driver Package.
- Click Install Selected.
- Click Accept All to accept License and then click Install.
- When install finishes, the USB Driver will be in “C:\Program Files\Android\android-sdk-windows\google-usb_driver“.
- Close SDK Manager.
- Connect your phone. You will be prompted for driver, which is located in the path mentioned above.
- For more details installing driver please visit http://developer.android.com/sdk/win-usb.html.
It could be the end story, but there are some extra steps:
- Make sure that standard SDK tool ddms.bat (from C:\Program Files\Android\android-sdk-windows\tools) launches successfully. Otherwise Screen Capture Tool won’t work either.
- If ddms won’t launch, add the platform-tools to your system PATH variable like this: Right-click My computer –> Advanced –> Environment Variables –> select Path in System Variables box –> Edit –> append “;C:\Program Files\Android\android-sdk-windows\platform-tools” to the existing Path. Please note the semicolon “;” preceding the path being appended.
- If ddms won’t launch even after you have accomplished the step above, try disconnecting your phone, then launch ddms and then connect your phone back.
- Copy adb.exe from platform-tools to tools folder.
- Also copy AdbWinApi.dll and AdbWinUsbApi.dll from platform-tools to tools folder.
4. USB Debugging for Android
To capture screens from your Android phone, it needs to have USB Debugging setting activated.
- On your Android device click Menu button.
- Click Settings.
- Click Applications
- Click Development
- Make sure USB Debugging is checked.
5. Android Screen Capture.
Wheeew. Now you have all set for Android Screen Capture.
- Download latest installation package from SourceForge: https://sourceforge.net/projects/ashot/
- Run AndroidScreenCapureSetup.vX.X.exe.
- Follow onscreen instructions.
- When finished, run application and go to File -> Set Android SDK folder to set SDK path.
- If Ashot won’t connect with your phone, try disconnecting your phone, turn computer off, then on, then launch Ashot and then connect your phone back.
- If reconnecting phone does not help, please make sure all steps in Windows USB Driver & Platform Tools section are accomplished as described.
Now everything is ready for Android Screen Capture. Continue reading at Android Screen Capture product page to get know application features.
UPDATE on “Unable to connect” issue
It turns out that latest Android SDK update moved adb.exe from tools to platform-tools folder. The most weird finding is that a standard ddms tool won’t work out-of-the-box on Windows unless platform-tools is specified on your PATH system variable. More details here.
Anyhow, until we publish an update, to make Android Screenshots and Screen Capture tool work with the updated SDK, just copy adb.exe, AdbWinApi.dll, and AdbWinUsbApi.dll, from platform-tools to tools folder.
Sorry for temporary inconvenience.