Can I test MAUI apps with Android on Mac
Just looking into Rider as an alternative to Visual Studio and VS Code for a MAUI project I'm starting and it looks great for Mac and iOS, but I can't see any reference to Android. I have Android Studio on my Mac. How do I configure Rider to test on Android?
Please sign in to leave a comment.
Hello Brian,
Thank you for contacting JetBrains Support. I'm glad to work with you on this ticket.
To configure Rider to run or debug Android MAUI app:
1. Follow Microsoft document to install 1) Java SDK 2) Android SDK 3) Android emulator.
2. Install Rider Android Support plugin on Rider
3. Go to Rider Settings | Build, Execution, Deployment | Android, and configure SDK location like below:
After the setup is done, you may use View | Tool Windows | Device Manager to manage devices.
Let me know if you have any questions.
Regards,
Tom
Hi Tom
Thanks for the reply. However, I'm struggling with it. I've followed the M$ instructions for installing the SDK - I already had Android Studio installed, and managed to find the SDK Manager in Android Studio. I duly installed the SDK and the emulator using the SDK Manager, and it gave me the SDK path as /Users/brianpreece/Library/Android/sdk but when I looked in the Finder, there was no Library folder directory in my users area. I also looked in the main Library folder and there was no Android directory in there either. I'm not sure whether I've done something wrong but I don't know what to try next - maybe uninstalling Android Studio and reinstalling it. Unfortunately Einstein's definition of insanity is doing the same thing again and expecting a different result doesn't always apply in IT!
Thanks
Brian
Hey Brian,
The Library folder under user home directory is hidden by default. You may try to press
CMD+SHIFT+. (period)
to make it visible.Regards,
Tom
Thanks, Tom, yes, that's revealed it. Discovered the problem was a typing error in my VSCode terminal command, so I'll carry on following the M$ instructions and then yours.
Your help is much appreciated!
Regards
Brian
Hi Tom
Now I'm getting a series of errors when I try to test iOS, which was working before. Here's a screen shot of the error messages
PPS Trying to test with MacOS, I get the second error message, telling me I need to add some command into info.plist and the app never appears