I am running a gradle-based sample .apk code in Android studio and I face this error:
com.android.tools.r8.errors.b: A member class cannot also be a (non-member) local class at the same time.
This is likely due to invalid EnclosingMethod and InnerClasses attributes:
[enclosingClass: Lcom/androidplot/xy/XYLegendWidget;, enclosingMethod: null]
[access : 2, inner: Lcom/androidplot/Plot$BufferedCanvas;, outer: Lcom/androidplot/Plot;, innerName: BufferedCanvas]
It is related to the implementation files('libs/androidplot-core-0.6.1-SNAPSHOT.jar') in the build.gradle dependencies. Any ideas?