开发者

Samsung Galaxy Tab AVD with Google API?

开发者 https://www.devze.com 2023-01-19 09:55 出处:网络
I installed the add-on provided by Samsung so开发者_开发问答 I could create an AVD that would emulate a Galaxy Tab, but unfortunately my most important project uses the Google API (for using the Maps

I installed the add-on provided by Samsung so开发者_开发问答 I could create an AVD that would emulate a Galaxy Tab, but unfortunately my most important project uses the Google API (for using the Maps external library) which is not supported by the single additional target that the add-on provides. Does anyone know of any way to have an AVD for the Tab with support for the Google API?


the above posting got mangled. here it is again.

  1. copy (android sdk)/add-ons/(galaxy target/skins/. to (android sdk)/add-ons/(google target)
  2. edit the manifest file in the directory for (google target)
  3. add "skin=GALAXY Tab" (without quotes) to the manifest file. The google target will now launch without the system default and instead use the skin info from Samsung.


The GalaxyTAB AVD does not have the Google APIs, the only way I got a real tablet emulator with Google APIs was creating a virtual machine, using one of these Android images and a virtualization software, such as Virtual Box. Then associating the Android virtual machine with eclipse, detailed instructions can be found here

p.s: This also yields a much faster emulator experience.


I had this problem and found a solution. On my Mac development machine here is what I did.

  1. copy /add-ons//skin/. to /add-ons/
  2. edit the manifest file in directory for your google target
  3. add "skin=GALAXY Tab" (without the quotes) to the manifest file. The google target will now launch without the system default and instead use the skin info from Samsung defined in the skin folder.

hope this helps

0

精彩评论

暂无评论...
验证码 换一张
取 消