开发者

Noob at MonoDroid, Emulator is not running my app, what am I missing?

开发者 https://www.devze.com 2023-04-12 05:40 出处:网络
I am a C# developer, but completely new to MonoDroid and Android development in general. I just downloaded MonoDroid a few minutes ago, fired up VS 2010, and followed the directions here (http://docs.

I am a C# developer, but completely new to MonoDroid and Android development in general. I just downloaded MonoDroid a few minutes ago, fired up VS 2010, and followed the directions here (http://docs.xamarin.com/android/getting_started/hello_world) to create the HelloWorld application. Should be 开发者_运维百科pretty simple, right? Everything compiles, and I ran the app in non-debug mode as instructed. The emulator starts up, but... the app doesn't start. And when I look in the Apps directory, I don't see anything that says HelloWorld or looks like my app.

What am I missing?


After you start the emulator, does it then show up in the device list? If so, when you select it, does it say stuff like "Packaging your Application", "Deploying your Application", etc? Is there any reported error?


What you need to do is, after the emulator shows as selected (like you said you should be on the slide to unlock screen), click OK again on the Select Device/Start Emulator screen. Then in the bottom left corner of Visual Studios 2010 you will see it deploying and packaging your application. If this is the first time you've done this it will need to install some onetime programs, mono shared runtime, etc.

It in theory should work after that.

0

精彩评论

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

关注公众号