facebook-android-sdk icon indicating copy to clipboard operation
facebook-android-sdk copied to clipboard

App caught an exception caused in the Facebook SDK,Please help me find out what caused it。

Open ravizhou opened this issue 11 months ago • 1 comments

Checklist before submitting a bug report

Java version

VERSION_1_8

Android version

Android 11

Android SDK version

16.2.0

Installation platform & version

Gradle

Package

Login

Goals

Use facebook to log in

Expected results

This exception does not occur

Actual results

App caught an exception caused in the Facebook SDK,Please help me find out what caused it。

`Fatal Exception: java.lang.ArrayIndexOutOfBoundsException
 length=1; index=1
 com.facebook.appevents.codeless.ViewIndexingTrigger.onSensorChanged 
(ViewIndexingTrigger.kt:32)
 android.hardware.SystemSensorManager$SensorEventQueue.dispatchSensorEvent 
 (SystemSensorManager.java:833)
  android.os.MessageQueue.nativePollOnce (MessageQueue.java)
   android.os.MessageQueue.next (MessageQueue.java:326)
  android.os.Looper.loop (Looper.java:160)
  android.app.ActivityThread.onCreate (ActivityThread.java:6671)
  java.lang.reflect.Method.invoke (Method.java)
  com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
  com.android.Activity.onCreate (ZygoteInit.java:858)` 

Steps to reproduce

No response

Code samples & details

// INSERT YOUR CODE HERE

    `Fatal Exception: java.lang.ArrayIndexOutOfBoundsException
     length=1; index=1
     com.facebook.appevents.codeless.ViewIndexingTrigger.onSensorChanged 
    (ViewIndexingTrigger.kt:32)
     android.hardware.SystemSensorManager$SensorEventQueue.dispatchSensorEvent 
     (SystemSensorManager.java:833)
      android.os.MessageQueue.nativePollOnce (MessageQueue.java)
       android.os.MessageQueue.next (MessageQueue.java:326)
      android.os.Looper.loop (Looper.java:160)
      android.app.ActivityThread.onCreate (ActivityThread.java:6671)
      java.lang.reflect.Method.invoke (Method.java)
      com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
      com.android.Activity.onCreate (ZygoteInit.java:858)`

ravizhou avatar Nov 14 '24 12:11 ravizhou