Android build compiling error.

I made a VERY easy Android game (2 pictures and a move control). It told me the following error when I compile it:

C:/Users/Administrator/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.xiaomi@1.0.2/XiaomiSupport/Editor/AppStoreSettingsEditor.cs(4,19): error CS0234: The type or namespace name ‘Connect’ does not exist in the namespace ‘UnityEditor’. Are you missing an assembly reference?

The missing namespace also include Editor and SerializedProperty

Plus another error:

C:/Users/Administrator/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.xiaomi@1.0.2/XiaomiSupport/Editor/AppStoreSettingsEditor.cs(88,30): error CS0115: ‘AppStoresSupport.AppStoreSettingsEditor.OnInspectorGUI()’ is marked as an override but no suitable method found to override

I had uninstalled the old Unity and downloaded the newest one from Unity and a different Android SDKs with no avail!

Could somebody PLEASE help me out please!? Thank you very VERY much! God bless you!!!

This error is everywhere, and in fact I haven’t seen anyone who has been actually able to make Unity work with Android. There are about 6 different ways everyone says work, but they actually don’t, and when you push it, nobody can offer any proof that they were able to get unity to build to Android.

I’m looking for another platform to work with as Unity is completely broken at the moment. If you find something that uses C#, let me know!

#if UNITY_EDITOR” for editor code, Android build will ignore them