I just upgraded my support library from compile 'com.android.support:appcompat-v7:23.1.1'
from compile 'com.android.support:appcompat-v7:23.1.0'
.
It gave me this error:
package android.support.v7.internal.view.menu does not exist: cannot find symbol class MenuBuilder
I use popupmenu's in my app.
According to google, PopUpMenu inherits interface com.android.internal.view.menu.MenuBuilder.Callback and hence I got a list of errors when I gradle build my app: http://developer.android.com/reference/android/widget/PopupMenu.html
Does anyone know whether this interface is deprecated?
They changed the package slightly, removing the 'internal'. You just need to change your imports:
android.support.v7.internal.view.menu.MenuBuilder
to
android.support.v7.view.menu.MenuBuilder
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With