I want to try out Xamarin to build my first sample app using VS and C#.
But I obvious ran into problems with my develop environment.
I can’t start the most basic setup.
This may interest some of you. Perhaps you can comment my questions.
This should only require up to date hardware and software.
Here is what I did:
I am working on a standard hardware notebook (HP 255 G7) with an AMD Ryzen3 cpu and Radeon graphics using Microsoft software Windows 10 Home version 2004. I normally only create asp.net apps, so I needed to extended my Microsoft software Visual Studio 2019 16.7.7 with mobile Xamarin.Forms for development with .NET.
I then picked a video series from Microsoft Developer Network channel9.msdn.com – Xamarin 101 with 11 parts to help me enter this new world.
First I needed to set the settings of the Android SDK Manager. I selected Androit 8.0 and 9.0.
Then I needed to setup an Android device. This is the emulator for an Android mobile working with the VS during development. Nice, all software environment.
Troubles started when I had to pick the cpu of the android device or of the emulating pc? X86 or AMD v8a?
I kept the Android Pie 9.0 – API 28 for a x86 (default) setting and choose to edit the Android 8 to an amd v8a thereby forcing the operating system to change to Nougat 7.1 – API 25.??
Stepped back and installed the Android Nougat 7.1 with the SDK Manager.
Let me now just try the two emulators out by pressing the START button.
• The Android Pie 9.0 (x86) pop up with:
Hyper-V is not configured. Turn on “Hyper-V” feature to switch to the Native Hypervisor and accelerate your emulator.
Hmm..? I tried: Run Anyway, now that it is an option. It displays, but says: Pixel Launcher isn’t responding.
Is it good or bad? I guess it is not quite ok.
• The Nougat 7.1 (amd v8a) pop up with:
Could no start emulator using HOST GPU Mode. Please check if you can update video driver. If it doesn’t help, try to edit the AVD and set “hw.gpu.mode=off”. Then another form from Android Emulator tell you that the emulator has closed due to an internal error. AMD is found but no Vulkan driver found. And it wants to file a report to ? MS perhaps? Will it help??
Well, lets check out if everything is working by deploy emulator Android 9.0 with the blank project solution (part 4 in the video).
A Performance Warning (Intel) pops up: pixel_2_pie_9_0_-_api_28 will run unaccelerated.
This machine does not have an Intel processor, which is required to accelerate the Android emulator. The emulator performance will be impacted. We recommend to use a physical Android device for development.
I guess the choice of cpu was for the pc, but it is just a recommendation. Cancel or Start Anyway?
Lets try and continue. Emulator pop up immediately, but after a couple of minutes it says that there is no reply and the system keeps running in the background. How to break?
Lately there has been much talk about Intellectual Property theft. This can not be the case here, I am not impressed.
Can it be so difficult to build a compiler framework for today’s smart phone?
I just wanted to try and create a test app for my Samsung Galaxy Tab A (2016) Android 8.1. Maybe later try it out on my iPhone 6 iOS 12.4.8. Is that too much to ask?
General News Suggestion Question Bug Answer Joke Praise Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.