Why are no Sony Xperia devices showing up in the AVD Manager? I have installed the Sony DeviceDefinitions through Android SDK Manager.
In order to have access to the devices, you must be running Android SDK Tools version 21.1 or above.
I get the error message “Failed to fetch URL” when I am downloading the Sony Add-on SDK. What to do?
This may be due to a slow Internet connection, or because you are behind a firewall. Make sure that you are connected to the Internet and that you are not behind a firewall. Also, make sure that the correct link was included in the list of Add-on sites in the Android SDK Manager.
The Sony Add-on SDK does not appear in the list of Available packages in the Android SDK and AVD Manager. The only Sony entry in the list says “Some packages were found but are not compatible updates.” How can I find the Sony Add-on SDK package in the Available packages list?
The message appears if the Sony Add-on SDK is already installed. You can determine if it is installed by viewing the installed packages in the Android SDK. If you see the Sony Add-on SDK in the installed packages list, and want to re-install a new version, and then delete the existing version − then follow the installation instructions on the Sony Add-on SDK install page again.
I have previously installed the Sony Add-on SDK but I don’t see any update for the latest version in the Android SDK Manager. How can I find it?
Clear the cache of the Android SDK Manager and reload the packages list. In most cases, this solves the problem.
When I refresh the Android SDK Manager, I see several downloadable packages: “Sony Add-on SDK”, and “Device Profiles”. Which one should I download?
The Sony Add-on SDK package is the actual SDK including our latest APIs, code examples and more. The DeviceProfiles package contains the default configuration for how to create emulators for Sony Devices. This package requires Android SDK Tools version 21.0.0 and above.
I manually downloaded the Sony Add-on SDK. When I extracted the binary, I encountered the following errors: “skipping file: unable to create a sensible filename” and “The system cannot find the path specified.” What is wrong?
These errors are quite common to devices with limitations to the maximum length of the file path. The maximum path of the Windows NTFS is up to 260 characters only. Please make sure that your Android SDK installation directory is not too deep in the folder hierarchy. It is best to keep the Android SDK folder as close to the root folder as possible.
Sony Add-on SDK emulator
I get the “Failed to allocate memory: 8″ error when I tried to start the Sony Add-on SDK emulator. What is wrong?
The default emulator configuration may require more memory than what is currently available in your computer. Reduce the RAM setting for the AVD to 512MB and restart the emulator.
I tried to launch the Xperia Z and Xperia Tablet Z emulator but I only get a black screen? What is wrong?
For emulators with high display resolutions, the GPU emulation feature of the Android SDK should be used to aid in the screen transitions. Please make sure that your computer is equipped with a working GPU, and that the checkbox for Use Host GPU in the AVD settings is checked.
When I was using the emulator, I noticed that in some emulator devices, there are no buttons displayed. How do I access the hardware button functionality?
If you want the emulator buttons to show up in the UI, you have to make sure that the option Display a skin with hardware controls is checked in the AVD settings. Otherwise, the hardware buttons can be simulated in the emulator using following key commands:
- Home – HOME key
- Menu – F2 or Page-up
- Back – ESC key
For more information on key mappings, go to the Android Developer web site.