Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Adding custom android skins to virtual device missing in ADT Eclipse(Juno)

Tags:

android

device

I'm using the Eclipse IDE (Juno 4.2) and the latest Android/Google ADK. The ability to load/use custom skins seems to have disappeared. When creating a device in the AVD (android virtual device manager), it was possible to specify a skin from drop-down {skins had to be loaded into the sdk/android-##/skins}. The directory(s) are still there but adding skins does not allow/permit selecting it in any part of the virtual device creation process.

I'm running Eclipse Juno 4.2 on both a windows and mac os.

developer.android.com docs still show UI that for selecting custom skins. Is is possible to still use custom skins is there now a restriction on skins?

like image 404
user1603721 Avatar asked Nov 16 '12 15:11

user1603721


1 Answers

The only way I've found to do this is to manually edit the config.ini file for your AVD. Change the field "skin_name" to the name of the skin you want to use and change "skin_path" to the path to the skin, relative to the sdk directory.

So if your skin was part of an SDK add-on, an AVD config.ini that looks like this:

skin_name=1280x800
skin_path=1280x800

Would be changed to:

skin_name=MyDevice
skin_path=add-ons\addon_device_vendor_api\skins\MyDevice

Or in your example:

skin_path=platforms\android-##\skins\MySkin

The Docs don't appear to have been updated for revision 21 of the ADT yet, so maybe they'll have more information in the future. I'd really like to know if there's a way to do this from within the Device Manager, but this is the only way I've found to do it.

like image 93
bet3323 Avatar answered Oct 07 '22 00:10

bet3323