I uninstalled android and reinstalled it in c: \ androidSdktools without spaces. So, now the emulator is working, I see the emulator.
But I tried some âhello worldâ text codes, and when I launch the application and start the emulator, I see the Android emulator, but I do not see wnyhere âhello worldâ. I'm not sure that I didnât do anything good, or maybe because I still get an error when exiting the emulator and stop debugging, getting an error message: deploy erros. If I say yes, he will ask me to rebuild / create my solution before starting / debugging it, but this did not solve this error.
I donât know if this error is due to the fact that I donât see any âhello worldâ in the Android emulator.
I tried to make this code now:
using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace MonoAndroidApplication1 { [Activity(Label = "MonoAndroidApplication1", MainLauncher = true, Icon = "@drawable/icon")] public class Activity1 : Activity { int count = 1; protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle);
I have visual studio C # 2010 pro.
I tried, this is an automatic code created when I selected a new Android application.
But I did not see anything in the emulator. I tried adding to this code as:
using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace MonoAndroidApplication1 { [Activity(Label = "MonoAndroidApplication1", MainLauncher = true, Icon = "@drawable/icon")] public class Activity1 : Activity { int count = 1; TextView tv; protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle);
And again, I didnât see anything in the emulator when launching any text âhello worldâ, and deployment errors still occur when I exit the emulator and stop debugging / launching the application. The emulator now works fine, but still gets these errors on exit.
And why do not I see the text "hello world" in the emulator?
Thanks.