You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
@passsy already added a workaround for the BackstackReader with AndroidX for #149.
However, with ProGuard enabled I encountered the following issue:
Fatal Exception: java.lang.NoSuchMethodError: No virtual method isInBackStack()Z in class Landroidx/e/a/d; or its super classes (declaration of 'androidx.e.a.d' appears in /data/app/de.memorian.gzg-Mcx2ZyPo55208bHcZq319Q==/base.apk)
at androidx.core.app.BackstackReader.isInBackStack(BackstackReader.java:23)
at net.grandcentrix.thirtyinch.TiFragment.isFragmentInBackstack(TiFragment.java:235)
at net.grandcentrix.thirtyinch.TiFragment.net.grandcentrix.thirtyinch.internal.TiFragmentDelegate.onDestroy_afterSuper(TiFragment.java:10204)
at androidx.fragment.app.FragmentManagerImpl.androidx.fragment.app.Fragment.performDestroy(FragmentManager.java:16699)
Adding a ProGuard rule -keep class androidx.** { *; }
resp. -keep class androidx.fragment.app.Fragment { *; }
fixed the problem.
We could add this ProGuard rule to the library ProGuard rules to avoid it for now.
The text was updated successfully, but these errors were encountered:
@passsy already added a workaround for the
BackstackReader
with AndroidX for #149.However, with ProGuard enabled I encountered the following issue:
Adding a ProGuard rule
-keep class androidx.** { *; }
resp.
-keep class androidx.fragment.app.Fragment { *; }
fixed the problem.
We could add this ProGuard rule to the library ProGuard rules to avoid it for now.
The text was updated successfully, but these errors were encountered: