Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

How to access MySql Database from Android in Xamarin Forms?

$
0
0

Nobody yet solve this problem i guess...

When i'm using the MySql.Data package with Xamarin.Forms, my code works on iOS and Windows, it successfully connects to the online server MySQL DB, but the same code throws a System.TypeInitializationException exception on Android at the point where I call the MySqlConnection .Open(); function.

Can anyone help ? Is there any documentation available that definitively makes it clear whether Oracle's MySql.Data nuget package is compatible with Xamarin on Android or not?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>