question

BrianKramer-3128 avatar image
5 Votes"
BrianKramer-3128 asked AndrZiegler-5755 edited

Unable to build android version after updating packages

No app changes, but get errors:

seems to be related to xamarin,google.android.material

/Users/briankramer/Projects/SWLog/SWLog.Android/obj/Debug/android/src/crc64720bb2db43a66fe9/TabbedPageRenderer.java(8,8): Error JAVAC0000: error: TabbedPageRenderer is not abstract and does not override abstract method onNavigationItemSelected(MenuItem) in OnItemSelectedListener
public class TabbedPageRenderer
(JAVAC0000) (SWLog.Android) javac

/Users/briankramer/Projects/SWLog/SWLog.Android/obj/Debug/android/src/crc643f46942d9dd1fff9/ShellItemRenderer.java(8,8): Error JAVAC0000: error: ShellItemRenderer is not abstract and does not override abstract method onNavigationItemSelected(MenuItem) in OnItemSelectedListener
public class ShellItemRenderer
(JAVAC0000) (SWLog.Android) javac


latest vis stud on mac
all latest updates

dotnet-xamarinforms
· 20
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Same issue for me (after update)

1 Vote 1 ·

Same issue for me as well.

0 Votes 0 ·

I have same issue

0 Votes 0 ·

Did you set the Android target framework to the Android 10.0 like following screenshot?

113713-image.png

If you set the android 10.0, but this issue is still existed, please share a demo here or give me steps to reproduce this issue,

0 Votes 0 ·
image.png (34.1 KiB)

Same issue here. (VS 16.10.3 Windows. Android 9 and 10)

  • Tried downgrading and reverting changes

  • Tried updated JDK (did get additional JAVAC0000: error: ShellItemRenderer is not abstract and does not override abstract method onNavigationItemSelected(MenuItem) in OnItemSelectedListener public class ShellItemRenderer)


0 Votes 0 ·
Show more comments
AndrZiegler-5755 avatar image
2 Votes"
AndrZiegler-5755 answered AndrZiegler-5755 edited

Update to XF5 SR5 5.0.0.2125 to fix the issue as it has a fix for it included. Here you can use latest material package.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Tristan-Kam avatar image
0 Votes"
Tristan-Kam answered AndrZiegler-5755 commented

I did not have this xamarin.google.android.material installed but by installing version 1.3.0.1 it solved the error

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

update to XF5 SR5 to fix it and here you can use Xamarin.Google.Android.Material 1.4.x

0 Votes 0 ·