AppsFlyerSDK / appsflyer-android-sdk

AppsFlyer Android SDK
Other
9 stars 2 forks source link

[java.lang.IllegalAccessException] - com.appsflyer.internal.AFa1xSDK$$.valueOf #48

Closed VinuPolly-Bonnet closed 1 year ago

VinuPolly-Bonnet commented 1 year ago

I am getting a few crashes due to IllegalAccess Exception from AppsFlyer Internal SDK. Crashlog as seen below:

Caused by java.lang.IllegalAccessException: Class java.lang.Class<java.lang.reflect.Method> cannot access protected  method java.lang.Class com.appsflyer.internal.AFa1xSDK$$.loadClass(java.lang.String, boolean) of class java.lang.Class<com.appsflyer.internal.AFa1xSDK$$>
       at java.lang.reflect.Method.invokeImpl(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:411)
       at com.appsflyer.internal.AFa1xSDK$$.valueOf(:100)
       at com.appsflyer.internal.AFa1xSDK$$.AFKeystoreWrapper(:26)
       at java.lang.reflect.Method.invokeImpl(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:411)
       at com.appsflyer.internal.AFa1ySDK.values(:108)
       at com.appsflyer.internal.AFc1xSDK.AFInAppEventType(:142)
       at com.appsflyer.internal.AFd1tSDK.AFKeystoreWrapper(:65)
       at com.appsflyer.internal.AFc1hSDK.valueOf(:113)
       at com.appsflyer.internal.AFc1mSDK$5.run(:109)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
       at java.lang.Thread.run(Thread.java:764)

This issue seems to be only happening on Android 8

Devices

  1. Motorola One Vision running on Android 8.1.0
  2. Samsung Galaxy A70 running on Android 8.1.0
github-actions[bot] commented 1 year ago

👋 Hi @VinuPolly-Bonnet and Thank you for reaching out to us. In order for us to provide optimal support, please submit a ticket to our support team at support@appsflyer.com. When submitting the ticket, please specify:

KevinJ1008 commented 1 year ago

Same issue here not most users facing this problem, Device: Vivo S1 Android 8.1.0

Turalllb commented 1 year ago

appsflyer : '6.10.1', apsflyerInstallReferrer: '2.2',

one crash per Device: Vivo S1 Android 8.1.0


       at java.lang.reflect.Method.invokeImpl(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:411)
       at com.appsflyer.internal.AFa1wSDK$$.AFKeystoreWrapper(:100)
       at com.appsflyer.internal.AFa1wSDK$$.AFInAppEventParameterName(:16)
       at java.lang.reflect.Method.invokeImpl(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:411)
       at com.appsflyer.internal.AFa1vSDK.values(:117)
       at com.appsflyer.internal.AFc1pSDK.values(:140)
       at com.appsflyer.internal.AFd1hSDK.AFInAppEventParameterName(:87)
       at com.appsflyer.internal.AFd1nSDK.AFKeystoreWrapper(:114)
       at com.appsflyer.internal.AFd1vSDK$2.run(:109)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
       at java.lang.Thread.run(Thread.java:764)```
github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.

anyasamoylova commented 1 year ago

The issue is still relevant in version 6.11.1. Found only on android 8. Devices:

pazlavi commented 1 year ago

@anyasamoylova Please open a support ticket and provide the stack trace.

anyasamoylova commented 1 year ago

@pazlavi By opening a support ticket, do you mean creating a new issue?

pazlavi commented 1 year ago

@anyasamoylova contact our support team at support@appsflyer.com as mentioned in the first comment in this thread.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

roblframpton commented 1 year ago

This is most likely this issue, which for some reason has been raised in the Android sample app repo instead of this one. Apparently a fix is in progress and due in v6.12.2, but no word on when that will be yet

ge-af commented 1 year ago

Hi, We've just released a new Android SDK version that fixes this issue. The new version is v6.12.2.