Can't run older Android targets in AVD

五迷三道 提交于 2020-01-01 18:52:14

问题


I'm trying to test an app in an AVD with Android 3.1 as the target but it is running terribly slow and doesn't seem to respond. I created a new AVD with Android 2.1 as the target but this AVD does not show up in the run configurations in Eclipse even when refreshed and restarted.

Does anyone know why I cannot run older versions of Android?


回答1:


I've found that the targetSdkVersion in the manifest file affects what shows up in the run configuration. Setting the target selection mode to Manual in the run configuration should open a popup when you run it that lets you select any AVD, not just ones that meet the targetSdkVersion.




回答2:


Try to increase the emulator RAM to 1024Mb.

Go go to AVD Manager click on the emulator and then edit. You should find Device ram size and set the new value and then "Edit AVD".



来源:https://stackoverflow.com/questions/6430819/cant-run-older-android-targets-in-avd

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