崩溃详细信息 android.view.View.onRestoreInstanceState

Crash details android.view.View.onRestoreInstanceState

提问人:fekhreddine bouziane 提问时间:11/5/2023 更新时间:11/5/2023 访问量:18

问:

我在 crashlytics 中遇到了一些例外。但找不到文件或异常原因。另外,我每次都会得到不同的行号。

我没有太多信息正在寻找细节。

三星 A20 (Galaxy A20) Android 9 (SDK 28)

类型

java.lang.IllegalArgumentException

Exception java.lang.IllegalArgumentException:
  at android.view.View.onRestoreInstanceState (View.java:20290)
  at android.widget.TextView.onRestoreInstanceState (TextView.java:6000)
  at android.view.View.dispatchRestoreInstanceState (View.java:20262)
  at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4045)
  at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4045)
  at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4045)
  at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4045)
  at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4045)
  at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4045)
  at android.view.View.restoreHierarchyState (View.java:20240)
  at com.android.internal.policy.PhoneWindow.restoreHierarchyState (PhoneWindow.java:2184)
  at android.app.Activity.onRestoreInstanceState (Activity.java:1195)
  at android.app.Activity.performRestoreInstanceState (Activity.java:1150)
  at android.app.Instrumentation.callActivityOnRestoreInstanceState (Instrumentation.java:1321)
  at android.app.ActivityThread.handleStartActivity (ActivityThread.java:3161)
  at android.app.servertransaction.TransactionExecutor.performLifecycleSequence (TransactionExecutor.java:180)
  at android.app.servertransaction.TransactionExecutor.cycleToPath (TransactionExecutor.java:165)
  at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:142)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:70)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1955)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:214)
  at android.app.ActivityThread.main (ActivityThread.java:7091)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:965)

如果您遇到这样的例外情况,请告诉我,或者您可能知道任何原因。

谢谢!

我的项目中没有两个具有相同 ID 的 Viwe

Java Android-Studio 异常移动

评论

0赞 Community 11/6/2023
请澄清您的具体问题或提供其他详细信息,以准确说明您的需求。正如目前所写的那样,很难确切地说出你在问什么。

答: 暂无答案