-
-
Notifications
You must be signed in to change notification settings - Fork 73
ConnectivityChangeBroadcastReceiver thrown on 2.3.0-beta* #30
Comments
I am unable to reproduce this on new builds at all on both Cycle 7 and Cycle 8 targeting against API 23 or API 24. You can try 2.3.0.34-beta which is the latest. |
This is also happening an a Dell Venue 8 - 7840 - which has Android API 22. Reverted to 2.2.12 and it works again. Maybe this helps. |
It happened on a Lenovo Tab 2A7-20F. |
Wow I suddenly started to get this exception with 3.0.3. I am on the latest build tools (26.0.2, 26.1.1 SDK tools). The target is level 26. Visual Studio on Mac. Always getting the class not found exception and this in the output: |
Looks like you are AOTing it... haven't test that out. Would report in bugzilla. |
Thanks for your input on this James, although I don't understand it. What do you mean by "you are AOTing it"? Is there a compiler setting somewhere for it? I haven't set anything on purpose to AOT it. I have to use ProGuard and MultiDex in my project otherwise it doesn't compile at all (error code 1 or 2). |
So the exception (not the output) contains this: |
James, FYI I have a VS2017 Mac Community edition, so I cannot handle the AOT by gui and setting it to false in the csproj file has no effect on anything. Output is the same and the error is the same. |
Bahhh I found the problem. There is a bug in the latest stable Forms release.... I just stepped one release back on Android.... |
I'm still getting this:
On Xamarin.Forms 2.5.0.121934 and Xam.Plugin.Connectivity 3.0.3 |
I have the exact error toooooo I have to Publish today and i have no idea what should i do |
I solve the problem by adding Access Network State and Internet Permission. |
facing the same issue, can't fix that at all |
I've recently tried out the version
2.3.0 beta-7
, you published, and got the following exception:I haven't tested it thorroghly, but found this issue in the Xamarin forum, that looks like the same error: https://forums.xamarin.com/discussion/79841/connectivity-plugin-noclassdef-exception-with-latest-android-version-nougat
Went back to
2.2.12
and it works again.Tested on
Samsung SM-T280 (API 22)
The text was updated successfully, but these errors were encountered: