0

I have error when try to override protected methods from Androidplot 0.6.0 Core Library in Android Studio

Libs was added to /libs/ dir and to build.gradle and compiled successfully

Also was done: Sync Project with Gradle files and Invalidate Caches / Restart -> not help

libs:

libs

libs

class for overriding:

overriding class

Generate->override methods (only public methods shown):

generate methods

try override protected method:

try override

Oleksandr B
  • 3,400
  • 1
  • 25
  • 28

1 Answers1

0

The screenshot under class for overriding is coming from the sources jar. If you'll drop this jar from the libs and take a look on this class from core jar, you'll see another picture, with another number of methods

So Android Studio is showing methods for overriding according to this picture.

nikis
  • 11,166
  • 2
  • 35
  • 45