This question already has answers here:
Cannot install Android Emulator Hypervisor Driver for AMD Processors (installer)
(2 answers)
Closed 18 days ago.
I am new to Xamarin forms and I'd like to create a simple mobile application with it. I'm trying to use the Android emulator in order to view the application that I'm working on in real time. The problem is, the emulator recommends that my PC has an intel processor to run the emulator. I have an AMD processor and by no means would I say it's bad , but when I open up the emulator, the android emulator won't even start and it is just sitting on a black screen.
Is there any way to use the Android emulator on Xamarin with an AMD CPU? If so could someone please tell me how? Thank You!
Have a look here.
Android emulator not responding problem on the AMD process for Xamarin
https://github.com/google/android-emulator-hypervisor-driver.
The android emulators on AMD cpus do work they are just slow.
Working on Xamarin myself, i found it easier to use an android device as my debugging tool.
Related
I am new to Xamarin development but want to learn the basics. I can't make my android emulator Pixel 3 x86 Android 9 Pie to open and see the very default app. System UI isn`t responding is the main error. I tried almost everything I've found online. I have considered installing an older version of VS but I am not sure. Can you help please?
I've been doing some research on this, but it seems like I couldn't find anything yet. So, I'm new to Xamarin and I've been building some small apps for fun. I cannot, however, use the VS Android emulator, as it is pretty heavy for my machine. Is there a way to use another emulator to run the apps?
Thanks a lot! :)
Provide more details about your problem so we can find a solution and make the VS Android Work.
You can use other Emulators like :
Xamarin Android Player
Genymotion
Andy OS
Refer : Visual Studio Android Emulator
If you have an Android Phone or Tablet my best advice would be to debug on that. If not (and you're not looking at investing in a new computer any time soon) my advice would be to look on eBay for a cheap, older Android phone (which is what I did as I like to use an iPhone) and debug on that. This proved to be an ideal solution for me as all I wanted to do was play about.
There are a lot of options with visual studio emulators for android. You can use devices from 1-3 RAM.
You can also create devices with Android Virtual Device and configure the RAM there.
Hi guys I have some questions regarding deploying apps from Xamarin for Android. I have a samsung s3 with jellybean 4.1 in it and I want to deploy my app that I developed from Xamarin to my phone. But my problem is I do not know how to deploy it on a jellybean 4.1 OS. We have tried ice cream sandwhich before but jellybean is something I'm not even sure about whether it is supported by Xamarin for android or not? Is it possible to deploy my app in my phone? And anyone of you guys who knows how to do it??? I'd appreciate the help thank you!
Yes, you can deploy to the S3 running JellyBean 4.1 (we are using one for testing).
Install the Samsung Kies manager on your dev machine so that you can get the latest device drivers. If your phone still doesn't come up as an option when debugging your code then make sure that USB Debugging is enabled on the device.
Also, make sure that your application is targeting the Android version you want at a minimum (right click the project -> Properties... -> Application -> Minimum Android to target).
There is no difference in procedure for deploying an app to Ice Cream Sandwich vs Jelly Bean.
Make sure your app's target SDK version is API 16 (API 17 if you want JellyBean 4.2). Follow the instructions I posted here to get the correct ADB drivers installed. Samsung ADB driver installation via Samsung Kies
Also make sure you have the Jelly Bean SDKs installed by opening Android SDK Manager. If the SDKs for APIs 16 & 17 are not installed you will need to install them.
It should be the same procedure to deploy to a Jellybean phone.
You just have to make sure your phone has USB debugging activated, it's usually found in the "Developer Options" part of the settings, which must be enabled before you can activate USB debugging mode.
If you're not debugging on the device, make sure you set Build Configuration to Release so you get the Xamarin runtimes.
Recently I was asked to work on a project which was developed for an aviculture company.
The client asked if I can make the application which was being developed in C#, to work on a tablet.
So i want to know if i finish the application in c# normally Will I be able to:
1.Use the mono for android and compile the whole project with that and get an android app easily for being used in android devices?
2.Use the executable project on a Windows 8 tablet without any changes?
I would be grateful if any one could answer these two questions.
It depends which tablet you're talking about.
On a Windows RT (ARM based) tablet like Surface, only Metro apps are supported. There are a few desktop apps, but only Microsoft can make them. So if your app is a desktop app, it won't run on Surface RT.
On a tablet with the "real" Windows 8 (x86 based, e.g. Surface Pro), you can run the same apps as on a PC.
Helo.apk
and Hello-signed.apk (by vs2010 monodroid)(default monodroid app from template
I have lg android2.2 phone and i load by usb to my phone those files.
When i run it i see "Unexpected error process Hello.apk")
In emulator device application works fine
Mycompilation config-debug all cpu
Should i install mono to my device?
Should i use another build
configuration(linking sd and user assemblies)
What is use shared
libraries?
p.s i am using trial version of monodroid
The trial version of monodroid does not support pushing to phones, you will have to try your sample app on an emulator.
Edit:
Yes the emulator is pretty bad, I feel your pain - it's too the point where the trial version is almost useless. This is not monodroid's problem to solve though, even if it paints their product in a very bad picture. Developing and debugging on the phone with monodroid works actually much better.