Open talamaska opened 4 years ago
I read some docs and it seems to me that the local_auth plugin uses FragmentActivity which inherits from ActivityCompat that makes it important for us to use AppCompat instead of any other theme. If i am correct then how can i help in resolving this I am looking to contribute.
I followed the istructions but I get this error on Android <28
I/zygote ( 9481): Rejecting re-init on previously-failed class java.lang.Class<androidx.appcompat.widget.DialogTitle>: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/core/widget/TintableCompoundDrawablesView; I/zygote ( 9481): (Throwable with no stack trace) I/zygote ( 9481): Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.core.widget.TintableCompoundDrawablesView" on path: DexPathList[[zip file "/data/app/it.izs.flutter.xxx-ORL4DROCJlWnnP-SPlbUdA==/base.apk"],nativeLibraryDirectories=[/data/app/it.izs.flutter.xxx-ORL4DROCJlWnnP-SPlbUdA==/lib/x86, /data/app/it.izs.flutter.xxx-ORL4DROCJlWnnP-SPlbUdA==/base.apk!/lib/x86, /system/lib, /vendor/lib]] I/zygote ( 9481): (Throwable with no stack trace) I/zygote ( 9481): E/MethodChannel#plugins.flutter.io/local_auth( 9481): Failed to handle method call E/MethodChannel#plugins.flutter.io/local_auth( 9481): android.view.InflateException: Binary XML file line #26: Binary XML file line #45: Error inflating class androidx.appcompat.widget.DialogTitle E/MethodChannel#plugins.flutter.io/local_auth( 9481): Caused by: android.view.InflateException: Binary XML file line #45: Error inflating class androidx.appcompat.widget.DialogTitle E/MethodChannel#plugins.flutter.io/local_auth( 9481): Caused by: java.lang.ClassNotFoundException: androidx.appcompat.widget.DialogTitle E/MethodChannel#plugins.flutter.io/local_auth( 9481): at java.lang.VMClassLoader.findLoadedClass(Native Method) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:738) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at java.lang.ClassLoader.loadClass(ClassLoader.java:363) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at java.lang.ClassLoader.loadClass(ClassLoader.java:312) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.createView(LayoutInflater.java:606) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:790) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.rInflate(LayoutInflater.java:863) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.rInflate(LayoutInflater.java:866) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:995) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.rInflate(LayoutInflater.java:859) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.inflate(LayoutInflater.java:515) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.inflate(LayoutInflater.java:423) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.inflate(LayoutInflater.java:374) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:555) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AppCompatDialog.setContentView(AppCompatDialog.java:95) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AlertController.installContent(AlertController.java:232) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AlertDialog.onCreate(AlertDialog.java:279) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.app.Dialog.dispatchOnCreate(Dialog.java:403) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.app.Dialog.show(Dialog.java:302) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.DialogFragment.onStart(DialogFragment.java:486) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.Fragment.performStart(Fragment.java:2632) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:915) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1303) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:439) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2079) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1869) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1824) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1727) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.FragmentManagerImpl.executePendingTransactions(FragmentManagerImpl.java:183) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.biometric.BiometricPrompt.authenticateInternal(BiometricPrompt.java:749) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.biometric.BiometricPrompt.authenticate(BiometricPrompt.java:658) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at io.flutter.plugins.localauth.AuthenticationHelper.authenticate(AuthenticationHelper.java:103) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at io.flutter.plugins.localauth.LocalAuthPlugin.onMethodCall(LocalAuthPlugin.java:120) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:226) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:631) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.os.MessageQueue.nativePollOnce(Native Method) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.os.MessageQueue.next(MessageQueue.java:325) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.os.Looper.loop(Looper.java:142) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.app.ActivityThread.main(ActivityThread.java:6494) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at java.lang.reflect.Method.invoke(Native Method) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807) E/MethodChannel#plugins.flutter.io/local_auth( 9481): Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/core/widget/TintableCompoundDrawablesView; E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AppCompatDelegateImpl.createView(AppCompatDelegateImpl.java:1383) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AppCompatDelegateImpl.onCreateView(AppCompatDelegateImpl.java:1457) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:772) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.inflate(LayoutInflater.java:492) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.inflate(LayoutInflater.java:423) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.inflate(LayoutInflater.java:374) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at com.android.internal.policy.DecorView.onResourcesLoaded(DecorView.java:1933) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at com.android.internal.policy.PhoneWindow.generateLayout(PhoneWindow.java:2586) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at com.android.internal.policy.PhoneWindow.installDecor(PhoneWindow.java:2659) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at com.android.internal.policy.PhoneWindow.getDecorView(PhoneWindow.java:2067) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:717) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:659) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:552) E/MethodChannel#plugins.flutter.io/local_auth( 9481): ... 30 more E/MethodChannel#plugins.flutter.io/local_auth( 9481): Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.core.widget.TintableCompoundDrawablesView" on path: DexPathList[[zip file "/data/app/it.izs.flutter.xxx-ORL4DROCJlWnnP-SPlbUdA==/base.apk"],nativeLibraryDirectories=[/data/app/it.izs.flutter.xxx-ORL4DROCJlWnnP-SPlbUdA==/lib/x86, /data/app/it.izs.flutter.xxx-ORL4DROCJlWnnP-SPlbUdA==/base.apk!/lib/x86, /system/lib, /vendor/lib]] E/MethodChannel#plugins.flutter.io/local_auth( 9481): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at java.lang.ClassLoader.loadClass(ClassLoader.java:379) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at java.lang.ClassLoader.loadClass(ClassLoader.java:312) E/MethodChannel#plugins.flutter.io/local_auth( 9481): ... 44 more
I followed the istructions but I get this error on Android <28
I/zygote ( 9481): Rejecting re-init on previously-failed class java.lang.Class<androidx.appcompat.widget.DialogTitle>: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/core/widget/TintableCompoundDrawablesView; I/zygote ( 9481): (Throwable with no stack trace) I/zygote ( 9481): Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.core.widget.TintableCompoundDrawablesView" on path: DexPathList[[zip file "/data/app/it.izs.flutter.farmaco-ORL4DROCJlWnnP-SPlbUdA==/base.apk"],nativeLibraryDirectories=[/data/app/it.izs.flutter.farmaco-ORL4DROCJlWnnP-SPlbUdA==/lib/x86, /data/app/it.izs.flutter.farmaco-ORL4DROCJlWnnP-SPlbUdA==/base.apk!/lib/x86, /system/lib, /vendor/lib]] I/zygote ( 9481): (Throwable with no stack trace) I/zygote ( 9481): E/MethodChannel#plugins.flutter.io/local_auth( 9481): Failed to handle method call E/MethodChannel#plugins.flutter.io/local_auth( 9481): android.view.InflateException: Binary XML file line #26: Binary XML file line #45: Error inflating class androidx.appcompat.widget.DialogTitle E/MethodChannel#plugins.flutter.io/local_auth( 9481): Caused by: android.view.InflateException: Binary XML file line #45: Error inflating class androidx.appcompat.widget.DialogTitle E/MethodChannel#plugins.flutter.io/local_auth( 9481): Caused by: java.lang.ClassNotFoundException: androidx.appcompat.widget.DialogTitle E/MethodChannel#plugins.flutter.io/local_auth( 9481): at java.lang.VMClassLoader.findLoadedClass(Native Method) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:738) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at java.lang.ClassLoader.loadClass(ClassLoader.java:363) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at java.lang.ClassLoader.loadClass(ClassLoader.java:312) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.createView(LayoutInflater.java:606) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:790) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.rInflate(LayoutInflater.java:863) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.rInflate(LayoutInflater.java:866) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:995) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.rInflate(LayoutInflater.java:859) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.inflate(LayoutInflater.java:515) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.inflate(LayoutInflater.java:423) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.inflate(LayoutInflater.java:374) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:555) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AppCompatDialog.setContentView(AppCompatDialog.java:95) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AlertController.installContent(AlertController.java:232) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AlertDialog.onCreate(AlertDialog.java:279) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.app.Dialog.dispatchOnCreate(Dialog.java:403) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.app.Dialog.show(Dialog.java:302) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.DialogFragment.onStart(DialogFragment.java:486) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.Fragment.performStart(Fragment.java:2632) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:915) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1303) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:439) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2079) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1869) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1824) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1727) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.fragment.app.FragmentManagerImpl.executePendingTransactions(FragmentManagerImpl.java:183) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.biometric.BiometricPrompt.authenticateInternal(BiometricPrompt.java:749) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.biometric.BiometricPrompt.authenticate(BiometricPrompt.java:658) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at io.flutter.plugins.localauth.AuthenticationHelper.authenticate(AuthenticationHelper.java:103) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at io.flutter.plugins.localauth.LocalAuthPlugin.onMethodCall(LocalAuthPlugin.java:120) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:226) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:631) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.os.MessageQueue.nativePollOnce(Native Method) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.os.MessageQueue.next(MessageQueue.java:325) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.os.Looper.loop(Looper.java:142) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.app.ActivityThread.main(ActivityThread.java:6494) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at java.lang.reflect.Method.invoke(Native Method) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807) E/MethodChannel#plugins.flutter.io/local_auth( 9481): Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/core/widget/TintableCompoundDrawablesView; E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AppCompatDelegateImpl.createView(AppCompatDelegateImpl.java:1383) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AppCompatDelegateImpl.onCreateView(AppCompatDelegateImpl.java:1457) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:772) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.inflate(LayoutInflater.java:492) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.inflate(LayoutInflater.java:423) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at android.view.LayoutInflater.inflate(LayoutInflater.java:374) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at com.android.internal.policy.DecorView.onResourcesLoaded(DecorView.java:1933) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at com.android.internal.policy.PhoneWindow.generateLayout(PhoneWindow.java:2586) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at com.android.internal.policy.PhoneWindow.installDecor(PhoneWindow.java:2659) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at com.android.internal.policy.PhoneWindow.getDecorView(PhoneWindow.java:2067) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:717) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:659) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:552) E/MethodChannel#plugins.flutter.io/local_auth( 9481): ... 30 more E/MethodChannel#plugins.flutter.io/local_auth( 9481): Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.core.widget.TintableCompoundDrawablesView" on path: DexPathList[[zip file "/data/app/it.izs.flutter.farmaco-ORL4DROCJlWnnP-SPlbUdA==/base.apk"],nativeLibraryDirectories=[/data/app/it.izs.flutter.farmaco-ORL4DROCJlWnnP-SPlbUdA==/lib/x86, /data/app/it.izs.flutter.farmaco-ORL4DROCJlWnnP-SPlbUdA==/base.apk!/lib/x86, /system/lib, /vendor/lib]] E/MethodChannel#plugins.flutter.io/local_auth( 9481): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at java.lang.ClassLoader.loadClass(ClassLoader.java:379) E/MethodChannel#plugins.flutter.io/local_auth( 9481): at java.lang.ClassLoader.loadClass(ClassLoader.java:312) E/MethodChannel#plugins.flutter.io/local_auth( 9481): ... 44 more
I got this too
guys i think this problem has already been solved, here is the link https://github.com/flutter/flutter/issues/47602
It's work with the last comment , added <style name="LaunchTheme" parent="Theme.AppCompat.Light.NoActionBar">
in style.xml
It has been closed by the bot because of inactivity. The last comment requests all people that have this issue to create a bug report with full logs for the bug and I created this one following. The docs haven't been updated to mention that you have to use the AppCompat, so I'm not sure if this is The fix or a workaround, or can this plugin work with FlutterActivity instead of FlutterFragmentActivity. Maybe we just need an updated Android guide that includes the information about the theme.
Hello,
I am having the same issue using local_auth 0.6.3+3 and having style:
<style name="LaunchTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Show a splash screen on the activity. Automatically removed when
Flutter draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
E/MethodChannel#plugins.flutter.io/local_auth(23744): Failed to handle method call
E/MethodChannel#plugins.flutter.io/local_auth(23744): java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:686)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:649)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:542)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.appcompat.app.AppCompatDialog.setContentView(AppCompatDialog.java:95)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.appcompat.app.AlertController.installContent(AlertController.java:232)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.appcompat.app.AlertDialog.onCreate(AlertDialog.java:279)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at android.app.Dialog.dispatchOnCreate(Dialog.java:528)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at android.app.Dialog.show(Dialog.java:389)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.DialogFragment.onStart(DialogFragment.java:486)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.Fragment.performStart(Fragment.java:2632)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:915)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1303)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:439)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2079)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1869)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1824)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1727)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.FragmentManagerImpl.executePendingTransactions(FragmentManagerImpl.java:183)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.biometric.BiometricPrompt.authenticateInternal(BiometricPrompt.java:749)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.biometric.BiometricPrompt.authenticate(BiometricPrompt.java:658)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at io.flutter.plugins.localauth.AuthenticationHelper.authenticate(AuthenticationHelper.java:103)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at io.flutter.plugins.localauth.LocalAuthPlugin.onMethodCall(LocalAuthPlugin.java:120)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at android.os.MessageQueue.next(MessageQueue.java:379)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at android.os.Looper.loop(Looper.java:144)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at android.app.ActivityThread.main(ActivityThread.java:7529)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
E/MethodChannel#plugins.flutter.io/local_auth(23744): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
I have been seeing the same problem using the master
branch of flutter-plugins
on a Samsung Galaxy S6. It does not seem to be an issue on my Pixel 5.
Seven months and not even a word from @flutter
@talamaska Is this still an issue using latest Flutter and plugin version ? I created a new app on latest master using latest plugin version which compiled and ran properly without any issues. Used the plugin example as sample code.
Launching lib/main.dart on sdk gphone x86 arm in debug mode...
Running Gradle task 'assembleDebug'...
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app.apk...
Debug service listening on ws://127.0.0.1:58889/ZmBlQnGESHI=/ws
Syncing files to device sdk gphone x86 arm...
The plugin has gone through various updates since this issue was logged, so I'd recommend you to upgrade plugin version and try again to see if issue persists or not.
@cspensky My issue also was on physical device Samsung S6 it's on Android 8 @darshankawar Which latest version 0.6.3+4 or 1.1.0? Latest master is 1.1.0 including null safety which I can't run on, also the example in the plugin is quite different from what you have there from pub.dev. Guess this is related to null safety update and also it doesn't have the same configuration in android manifest
<activity android:name="io.flutter.embedding.android.FlutterFragmentActivity"
android:launchMode="singleTop"
android:theme="@style/Theme.AppCompat.Light"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
Notice FlutterFragmentActivity and @style/Theme.AppCompat.Light So it seems that this how it has to be. We just need docs about it. Also I'm kinda confused about that EmbeddingV1Activity.java, Should we have it or shouldn't we? I'm actually using MainActivity.kt
Flutter 1.22.6 • channel stable • https://github.com/flutter/flutter.git Framework • revision 9b2d32b605 (6 weeks ago) • 2021-01-22 14:36:39 -0800 Engine • revision 2f0af37152 Tools • Dart 2.10.5
Tried 0.6.3+4, cause I'm on stable which still doesn't have null safety. Following the same tutorial e.g https://blog.codemagic.io/flutter-local-authentication-using-biometrics/
Without adding configs for Theme.AppCompat I get the same exception. When I change the style to use Theme.AppCompat.Ligh.NoActionBar everything works.
I can confirm that the above activity tag change when placed in my example app 0.6.3+4 without modifying the MainActivity, my app doesn't have any exceptions. I think both changes are doing the same thing in different ways, one changing the activity from the manifest, the other changing the style and the MainActivity to use FlutterFragmentActivity, Seems like the second one is the V1 embeding api? While the first on is the v2?
edit: And now I see you said latest flutter, and I'm not sure do you mean latest Master? I don't think this changes anything in terms of the fact that no instructions or explanation why we have to make any kind of changes related to the theme and the activity type Do you see that here https://pub.dev/packages/local_auth or in the comments of the example?
For me the issue is not that is crashing. The issue is missing docs
Sure there is an example app and if I look at it carefully I might be able to run it without exceptions. The V1 Embedding is confusing in the example app.
Then again I don't know what are the side effects of this activity change, is going to limit me using other native plugins or something else?
I encountered the same behavior on local_auth 1.1.0
. I had to modify the theme set of the Flutter app's Android module to @style/Theme.AppCompat
in order to solve the issue.
If you receive this error:
Exception has occurred. PlatformException (PlatformException(error, You need to use a Theme.AppCompat theme (or descendant) with this activity., null))
Then you need to do this: Go to android > app > src > main > res > values > style.xml
Change the
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
to
<style name="LaunchTheme" parent="Theme.AppCompat.Light.NoActionBar">
Hello,
I am having the same issue using local_auth 0.6.3+3 and having style:
<style name="LaunchTheme" parent="Theme.AppCompat.Light.NoActionBar"> <!-- Show a splash screen on the activity. Automatically removed when Flutter draws its first frame --> <item name="android:windowBackground">@drawable/launch_background</item> </style>
E/MethodChannel#plugins.flutter.io/local_auth(23744): Failed to handle method call E/MethodChannel#plugins.flutter.io/local_auth(23744): java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:686) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:649) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:542) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.appcompat.app.AppCompatDialog.setContentView(AppCompatDialog.java:95) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.appcompat.app.AlertController.installContent(AlertController.java:232) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.appcompat.app.AlertDialog.onCreate(AlertDialog.java:279) E/MethodChannel#plugins.flutter.io/local_auth(23744): at android.app.Dialog.dispatchOnCreate(Dialog.java:528) E/MethodChannel#plugins.flutter.io/local_auth(23744): at android.app.Dialog.show(Dialog.java:389) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.DialogFragment.onStart(DialogFragment.java:486) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.Fragment.performStart(Fragment.java:2632) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:915) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1303) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:439) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2079) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1869) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1824) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1727) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.fragment.app.FragmentManagerImpl.executePendingTransactions(FragmentManagerImpl.java:183) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.biometric.BiometricPrompt.authenticateInternal(BiometricPrompt.java:749) E/MethodChannel#plugins.flutter.io/local_auth(23744): at androidx.biometric.BiometricPrompt.authenticate(BiometricPrompt.java:658) E/MethodChannel#plugins.flutter.io/local_auth(23744): at io.flutter.plugins.localauth.AuthenticationHelper.authenticate(AuthenticationHelper.java:103) E/MethodChannel#plugins.flutter.io/local_auth(23744): at io.flutter.plugins.localauth.LocalAuthPlugin.onMethodCall(LocalAuthPlugin.java:120) E/MethodChannel#plugins.flutter.io/local_auth(23744): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233) E/MethodChannel#plugins.flutter.io/local_auth(23744): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85) E/MethodChannel#plugins.flutter.io/local_auth(23744): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692) E/MethodChannel#plugins.flutter.io/local_auth(23744): at android.os.MessageQueue.nativePollOnce(Native Method) E/MethodChannel#plugins.flutter.io/local_auth(23744): at android.os.MessageQueue.next(MessageQueue.java:379) E/MethodChannel#plugins.flutter.io/local_auth(23744): at android.os.Looper.loop(Looper.java:144) E/MethodChannel#plugins.flutter.io/local_auth(23744): at android.app.ActivityThread.main(ActivityThread.java:7529) E/MethodChannel#plugins.flutter.io/local_auth(23744): at java.lang.reflect.Method.invoke(Native Method) E/MethodChannel#plugins.flutter.io/local_auth(23744): at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245) E/MethodChannel#plugins.flutter.io/local_auth(23744): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
Same issue
If you receive this error:
Exception has occurred. PlatformException (PlatformException(error, You need to use a Theme.AppCompat theme (or descendant) with this activity., null))
Then you need to do this: Go to android > app > src > main > res > values > style.xml
Change the
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
to
<style name="LaunchTheme" parent="Theme.AppCompat.Light.NoActionBar">
Try it, it works for me
If you receive this error:
Exception has occurred. PlatformException (PlatformException(error, You need to use a Theme.AppCompat theme (or descendant) with this activity., null))
Then you need to do this: Go to android > app > src > main > res > values > style.xml
Change the
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
to
<style name="LaunchTheme" parent="Theme.AppCompat.Light.NoActionBar">
This solve for me on version local_auth: ^1.1.10
If you receive this error:
Exception has occurred. PlatformException (PlatformException(error, You need to use a Theme.AppCompat theme (or descendant) with this activity., null))
Then you need to do this: Go to android > app > src > main > res > values > style.xml
Change the
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
to
<style name="LaunchTheme" parent="Theme.AppCompat.Light.NoActionBar">
This works for me on local_auth: ^2.1.0
I have problem Using package Local auth. I already Followed the documentation about using this package but I'm getting this error when I try to launch the Authentication
Steps to Reproduce
import androidx.annotation.NonNull; import io.flutter.embedding.android.FlutterFragmentActivity; import io.flutter.embedding.android.FlutterActivity; import io.flutter.embedding.engine.FlutterEngine; import io.flutter.plugins.GeneratedPluginRegistrant;
import android.os.Build import android.view.ViewTreeObserver import android.view.WindowManager class MainActivity: FlutterFragmentActivity() { override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) { GeneratedPluginRegistrant.registerWith(flutterEngine); } }
[ +52 ms] E/MethodChannel#plugins.flutter.io/local_auth(13287): Failed to handle method call [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:686) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:649) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:542) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.appcompat.app.AppCompatDialog.setContentView(AppCompatDialog.java:95) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.appcompat.app.AlertController.installContent(AlertController.java:232) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.appcompat.app.AlertDialog.onCreate(AlertDialog.java:279) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at android.app.Dialog.dispatchOnCreate(Dialog.java:494) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at android.app.Dialog.show(Dialog.java:342) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.fragment.app.DialogFragment.onStart(DialogFragment.java:486) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.fragment.app.Fragment.performStart(Fragment.java:2627) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:915) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1303) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:439) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2076) [ +2 ms] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1866) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1821) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1727) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.fragment.app.FragmentManagerImpl.executePendingTransactions(FragmentManagerImpl.java:183) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.biometric.BiometricPrompt.authenticateInternal(BiometricPrompt.java:749) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at androidx.biometric.BiometricPrompt.authenticate(BiometricPrompt.java:658) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at io.flutter.plugins.localauth.AuthenticationHelper.authenticate(AuthenticationHelper.java:103) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at io.flutter.plugins.localauth.LocalAuthPlugin.onMethodCall(LocalAuthPlugin.java:120) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:231) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:93) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:642) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at android.os.MessageQueue.nativePollOnce(Native Method) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at android.os.MessageQueue.next(MessageQueue.java:325) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at android.os.Looper.loop(Looper.java:142) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at android.app.ActivityThread.main(ActivityThread.java:6944) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at java.lang.reflect.Method.invoke(Native Method) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327) [ ] E/MethodChannel#plugins.flutter.io/local_auth(13287): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374) [ +4 ms] I/flutter (13287): PlatformException(error, You need to use a Theme.AppCompat theme (or descendant) with this activity., null) [ +1 ms] I/flutter (13287): User is not authenticated.