Can't create AVD or test any application with AVD after update build tools to 22.6

感情迁移 提交于 2019-11-26 06:08:13

问题


After update SDK-Build-Tools to 22.6 and ADT-Plugin can\'t create AVD or launch any application via any emulator those which were previously created before updating.There was no error message has shown in console or in log-cat.So can\'t track the issue.

Here is the Screen shot. After clicking on OK button nothing happened.

\"enter


回答1:


This is a known issue, we'll have an update out with the fix shortly.




回答2:


You can avoid doing all the reverting to older versions by using the command line;

For unix systems:

android list targets

Will list the available api targets you have

 android create avd -n <name> -t <targetID> [-<option> <value>] ...

Will create the avd, then you should be able to see the AVD in your AVD Manager in eclipse. You can check the documentation at http://developer.android.com/tools/devices/managing-avds-cmdline.html




回答3:


Unfortunately in the latest SDK, Emulator isn't working that way. It's still a bug.

But don't worry. There is an alternative way to do it.
To start the emulator:
Go to Window-> Android SDK Manager-> Tools-> Manage AVDs
Then select any AVD of your choice and click start.

Please comment for further questions.



来源:https://stackoverflow.com/questions/22215958/cant-create-avd-or-test-any-application-with-avd-after-update-build-tools-to-22

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!