search cancel

Android 11/12 error

book

Article ID: 228795

calendar_today

Updated On:

Products

CA Application Experience Analytics SaaS (AXA)

Issue/Introduction

When trying to wrap Android 11 and 12 we are receiving the following error:

java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4200010 (has extras) } in [email protected]

  at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1689)

  at android.app.LoadedApk$ReceiverDispatcher$Args$$ExternalSyntheticLambda0.run(Unknown Source:2)

  at android.os.Handler.handleCallback(Handler.java:938)

  at android.os.Handler.dispatchMessage(Handler.java:99)

  at android.os.Looper.loopOnce(Looper.java:201)

  at android.os.Looper.loop(Looper.java:288)

  at android.app.ActivityThread.main(ActivityThread.java:7839)

  at java.lang.reflect.Method.invoke(Native Method)

  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)

  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

Caused by: java.lang.SecurityException: getDataNetworkTypeForSubscriber

  at android.os.Parcel.createExceptionOrNull(Parcel.java:2425)

  at android.os.Parcel.createException(Parcel.java:2409)

  at android.os.Parcel.readException(Parcel.java:2392)

  at android.os.Parcel.readException(Parcel.java:2334)

  at com.android.internal.telephony.ITelephony$Stub$Proxy.getNetworkTypeForSubscriber(ITelephony.java:9300)

  at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:2928)

  at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:2892)

  at com.ca.mdo.CAMobileDevOps.a(SourceFile:55)

  at com.ca.mdo.d.onReceive(SourceFile:1637)

  at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1679)

  ... 9 more

java.lang.SecurityException: getDataNetworkTypeForSubscriber

  at android.os.Parcel.createExceptionOrNull(Parcel.java:2425)

  at android.os.Parcel.createException(Parcel.java:2409)

  at android.os.Parcel.readException(Parcel.java:2392)

  at android.os.Parcel.readException(Parcel.java:2334)

  at com.android.internal.telephony.ITelephony$Stub$Proxy.getNetworkTypeForSubscriber(ITelephony.java:9300)

  at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:2928)

  at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:2892)

  at com.ca.mdo.CAMobileDevOps.a(SourceFile:55)

  at com.ca.mdo.d.onReceive(SourceFile:1637)

  at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1679)

  at android.app.LoadedApk$ReceiverDispatcher$Args$$ExternalSyntheticLambda0.run(Unknown Source:2)

  at android.os.Handler.handleCallback(Handler.java:938)

  at android.os.Handler.dispatchMessage(Handler.java:99)

  at android.os.Looper.loopOnce(Looper.java:201)

  at android.os.Looper.loop(Looper.java:288)

  at android.app.ActivityThread.main(ActivityThread.java:7839)

  at java.lang.reflect.Method.invoke(Native Method)

  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)

  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

 

Cause

It is due to the incompatibility of the currently AXA SDK

Environment

Release : SAAS

Component : CA APP EXPERIENCE ANALYTICS SAAS

Resolution

Download the latest 21.3 SDK and wrap again.