Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Other google play prelaunch Crached java.lang.SecurityException: No active admin

Discussion in 'Android' started by domdev, Jun 7, 2023.

  1. domdev

    domdev

    Joined:
    Feb 2, 2015
    Posts:
    375
    we got issue in prelaunch in google play review, app was testing and see no issue in the devices but cant pass in google play prelaunch review.. any idea? here is error
    Unity 2022.3.0f
    with google ads, unity ads, and IAP

    Code (CSharp):
    1. Exception Process: com.google.android.apps.mtaas.deviceadmin, PID: 4024
    2. java.lang.SecurityException: No active admin ComponentInfo{com.google.android.apps.mtaas.deviceadmin/com.google.android.apps.mtaas.deviceadmin.DeviceAdminReceiver}
    3.   at android.os.Parcel.createException (Parcel.java:2088)
    4.   at android.os.Parcel.readException (Parcel.java:2056)
    5.   at android.os.Parcel.readException (Parcel.java:2004)
    6.   at android.app.admin.IDevicePolicyManager$Stub$Proxy.setNetworkLoggingEnabled (IDevicePolicyManager.java:15305)
    7.   at android.app.admin.DevicePolicyManager.setNetworkLoggingEnabled (DevicePolicyManager.java:11627)
    8.   at com.google.android.apps.mtaas.deviceadmin.EnableNetworkLogging.onStart (EnableNetworkLogging.kt:27)
    9.   at android.app.Instrumentation$InstrumentationThread.run (Instrumentation.java:2214)
    10. Caused by android.os.RemoteException: Remote stack trace:
    11.   at com.android.server.devicepolicy.DevicePolicyManagerService.getActiveAdminWithPolicyForUidLocked (DevicePolicyManagerService.java:3259)
    12.   at com.android.server.devicepolicy.DevicePolicyManagerService.getActiveAdminOrCheckPermissionForCallerLocked (DevicePolicyManagerService.java:3155)
    13.   at com.android.server.devicepolicy.DevicePolicyManagerService.getActiveAdminForCallerLocked (DevicePolicyManagerService.java:3136)
    14.   at com.android.server.devicepolicy.DevicePolicyManagerService.enforceCanManageScopeOrCheckPermission (DevicePolicyManagerService.java:7206)
    15.   at com.android.server.devicepolicy.DevicePolicyManagerService.enforceCanManageScope (DevicePolicyManagerService.java:7192)
     
    aicrumit and akitandmedia like this.
  2. domdev

    domdev

    Joined:
    Feb 2, 2015
    Posts:
    375
    any?
     
    aicrumit and akitandmedia like this.
  3. akitandmedia

    akitandmedia

    Joined:
    Apr 14, 2023
    Posts:
    2
    I'm having the exact same issue since yesterday. I could really use some help.
     
  4. aicrumit

    aicrumit

    Joined:
    Jun 8, 2023
    Posts:
    1
    Im also facing the same issue, any solutions?
     
  5. ozodic

    ozodic

    Joined:
    Jan 3, 2019
    Posts:
    6
    Interesting, I'm facing the same issue too
     
  6. tachyon-particle

    tachyon-particle

    Joined:
    Jan 5, 2016
    Posts:
    79
    I also have same issue
     
  7. tachyon-particle

    tachyon-particle

    Joined:
    Jan 5, 2016
    Posts:
    79
  8. tachyon-particle

    tachyon-particle

    Joined:
    Jan 5, 2016
    Posts:
    79
    I just contacted Google Play support about that issue, and this is what they responded:

    Support: "Please note that pre-launch reports do not block releases to any tracks."
    Support: "It only helps to identify issues proactively before your app reaches testers."
    Support: "This means that it only informs you of any possible issues in your testing tracks' new releases, but it does not prevent you from continuing to publish those releases."
    Support: "Furthermore, pre-launch reports only test releases you've uploaded to the open, closed, and internal testing tracks; it does not test for releases uploaded to the Production track."
    Support: "If you are confident that your release does not have any errors, then you can proceed to ignore the error in the pre-launch report and publish your release."
    Support: "For more information about the pre-launch reports, please refer to our Help Center.
    https://support.google.com/googleplay/android-developer/answer/9842757 "

    Me: "So the report does not have an affect on final review before publishing to production, correct?"

    Support: "Yes, that is correct."
     
  9. domdev

    domdev

    Joined:
    Feb 2, 2015
    Posts:
    375
    any from unity?
     
  10. krishna_vincellstudios

    krishna_vincellstudios

    Joined:
    Oct 19, 2020
    Posts:
    6
    Hi all,
    We faced this issue with Unity version 2021.3.15 and sdks like Firebase, Admob, Facebook and some other analytics sdks. For me it started happening after I updated Firebase and Admob. The fix I did was, first i removed Firebase and Admob completely including dlls and android manifest entries later I imported the plugins again. It worked for me.
     
    user_spartans likes this.
  11. Minato243

    Minato243

    Joined:
    Feb 28, 2017
    Posts:
    2
    You got issue in prelaunch in google play review or in your test devices?