开发者

Open the web browser on Android emulator

I just installed the Android SDK on my Windows 7 64-bit. I'm creating a web app, so all I'd like to do is open the Android web browser. I double clicked on tools/emulator.exe, but all it did was flash a CMD box on the screen for a split second. I proceeded to read the documentation. It says I ha开发者_如何转开发ve to type this command in CMD to open the emulator:

emulator -avd <avd_name>

What exactly do I put in <avd_name> to open the web browser?


First you must create an AVD (Android Virtual Device). How to do that, find out here. Afterwards, you can start it using the command you provided. When the emulator has started, you can simply click on web browser's icon to start it.

To create an AVD, I'd recommend using Eclipse and Android development tools for Eclipse; it's easier than using command line if you're just beginning Android development.


this has nothing to do with your app : you ave to create an AVD first, by using the AVD & SDK Manager, lauched by android-sdk-dir\tools\android.bat


AVD represents the name of the emulator and it has nothing to do with the application that you want to run, follow this procedure if you are using eclipse : go to run, select run configuration>>select your project>>go to target>> here you can select the specific android device according to your needs >> hit run. i think that will solve your problem.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜