Missing dependency to PaNaVTEC/DrawableView - ClassNotFoundException at runtime
A crash is happening every time user clicks on screenshot miniature in order to edit it.
Maomi version used
implementation 'org.rm3l:maoni:9.1.0@aar'
Workaround
- add dependency to build.gradle implementation 'me.panavtec:drawableview:0.6.0'
Stacktrace:
Caused by java.lang.ClassNotFoundException: me.panavtec.drawableview.DrawableView at java.lang.Class.classForName(Class.java) at java.lang.Class.forName(Class.java:454) at android.view.LayoutInflater.createView(LayoutInflater.java:813) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1004) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:959) at android.view.LayoutInflater.rInflate(LayoutInflater.java:1121) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1082) at android.view.LayoutInflater.rInflate(LayoutInflater.java:1124) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1082) at android.view.LayoutInflater.inflate(LayoutInflater.java:680) at android.view.LayoutInflater.inflate(LayoutInflater.java:532) at android.view.LayoutInflater.inflate(LayoutInflater.java:479) at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:455) at android.app.Dialog.setContentView(Dialog.java:569) at org.rm3l.maoni.ui.MaoniActivity$3.onClick(MaoniActivity.java:459) at android.view.View.performClick(View.java:7448) at android.view.View.performClickInternal(View.java:7425) at android.view.View.access$3600(View.java:810) at android.view.View$PerformClick.run(View.java:28305) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at androidx.test.espresso.base.Interrogator.loopAndInterrogate(Interrogator.java:10) at androidx.test.espresso.base.UiControllerImpl.loopUntil(UiControllerImpl.java:7) at androidx.test.espresso.base.UiControllerImpl.loopUntil(UiControllerImpl.java:1) at androidx.test.espresso.base.UiControllerImpl.injectMotionEvent(UiControllerImpl.java:5) at androidx.test.espresso.action.MotionEvents.sendUp(MotionEvents.java:6) at androidx.test.espresso.action.MotionEvents.sendUp(MotionEvents.java:1) at androidx.test.espresso.action.Tap.sendSingleTap(Tap.java:5) at androidx.test.espresso.action.Tap.-$$Nest$smsendSingleTap() at androidx.test.espresso.action.Tap$1.sendTap(Tap.java:1) at androidx.test.espresso.action.GeneralClickAction.perform(GeneralClickAction.java:4) at androidx.test.espresso.ViewInteraction$SingleExecutionViewAction.perform(ViewInteraction.java:2) at androidx.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:21) at androidx.test.espresso.ViewInteraction.-$$Nest$mdoPerform() at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:2) at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:1) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7664) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Thanks for reporting this issue. I was unfortunately not able to reproduce this in a separate app. Can you tell me which version of Gradle and Android you are using? Also, do you have any specific Proguard configuration that could have caused the class to be removed from the final APK?
A friendly reminder that this issue had no activity for at least 90 days. Stale issues will be closed after an additional 30 days of inactivity.
A friendly reminder that this issue had no activity for at least 90 days. Stale issues will be closed after an additional 30 days of inactivity.
This issue was closed because it has been inactive for 90 days since being marked as stale.