我在PlayStore上上传了一个Flutter应用程序,报告了一些案例,日志如下:
Exception java.lang.RuntimeException:
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3654)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3806)
at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:83)
at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2267)
at android.os.Handler.dispatchMessage (Handler.java:107)
at android.os.Looper.loop (Looper.java:237)
at android.app.ActivityThread.main (ActivityThread.java:8167)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1100)
Caused by java.lang.IllegalStateException: The requested cached FlutterEngine did not exist in the FlutterEngineCache: 'audio_service_engine'
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.setupFlutterEngine (FlutterActivityAndFragmentDelegate.java)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onAttach (FlutterActivityAndFragmentDelegate.java)
at io.flutter.embedding.android.FlutterFragment.onAttach (FlutterFragment.java)
at androidx.fragment.app.Fragment.performAttach (Fragment.java)
at androidx.fragment.app.FragmentStateManager.attach (FragmentStateManager.java)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState (FragmentStateManager.java)
at androidx.fragment.app.FragmentStore.moveToExpectedState (FragmentStore.java)
at androidx.fragment.app.FragmentManager.moveToState (FragmentManager.java)
at androidx.fragment.app.FragmentManager.dispatchStateChange (FragmentManager.java)
at androidx.fragment.app.FragmentManager.dispatchCreate (FragmentManager.java)
at androidx.fragment.app.FragmentController.dispatchCreate (FragmentController.java)
at androidx.fragment.app.FragmentActivity.onCreate (FragmentActivity.java)
at io.flutter.embedding.android.FlutterFragmentActivity.onCreate (FlutterFragmentActivity.java)
at android.app.Activity.performCreate (Activity.java:7963)
at android.app.Activity.performCreate (Activity.java:7952)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1307)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3629)
我试着用谷歌搜索,但结果不好,所以我甚至不知道首先是什么问题。
1条答案
按热度按时间vohkndzv1#
请参阅this bug report。如果您已经使用最新版本,并且它还没有被修复,您需要提交一个新的bug报告来修复它。如果您 * 没有 * 使用最新版本,那么这样做可能会修复它。