Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Xamarin.GooglePlayServices.Wearable compatibility in VS2017 Community version 15.5.1

$
0
0

After updating VS2017 Community to version 15.5.1 I cannot get my old Xamarin.Forms PCL apps to start. When creating a new app in either Shared or .NET Standard it will run the app on my device after I downgrade Xamarin.Forms to version 2.4.0.280 (the Xamarin.Android.Support.v4 and other references are of version 25.4.0.2) . As soon as I reference Xamarin.GooglePlayservice.Wearable (I tried all versions) I get errors in the Android MainActivity.cs when running the app on my device.

Sometimes it stops at LoadApplication(new App()); giving the error: System.NullReferenceException: Object reference not set to an instance of an object.

Mostly it stops at base.OnCreate(bundle); with either a runtime exception or the error:Java.Lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

Since I used these versions in my former PCL solutions, I was hoping it would work on the new version of VS2017, but it does not.
I have attached the output files of the errors.

It seems like it is a compatibility error, but I can't find the problem. What can I do to make my app run again. I need Xamarin.GooglePlayservice.Wearable since Xamarin.Android.Wear is not compatible with Xamarin.Forms.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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