Search Unity

how to preserve android native plugins while set managed stripping level to medium?

Discussion in 'Scripting' started by songguangze, Jun 25, 2021.

  1. songguangze

    songguangze

    Joined:
    Dec 26, 2018
    Posts:
    8
    i want build android apk.if i set the managed stripping level = low it is normal .But i set it to medium the plugins maybe stripped .how can i solve it ? The runtime error message as below.





    021-06-25 22:02:26.602 17364-17485/? I/e.villascrushe: Rejecting re-init on previously-failed class java.lang.Class<com.appsflyer.FirebaseMessagingServiceListener>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/messaging/FirebaseMessagingService;
    2021-06-25 22:02:26.602 17364-17485/? I/e.villascrushe: at boolean com.appsflyer.internal.ba.valueOf(android.content.Context) :)60)
    2021-06-25 22:02:26.602 17364-17485/? I/e.villascrushe: at java.util.Map com.appsflyer.internal.ah.AFKeystoreWrapper(com.appsflyer.internal.h) :)1876)
    2021-06-25 22:02:26.602 17364-17485/? I/e.villascrushe: at void com.appsflyer.internal.ah.AFInAppEventParameterName(com.appsflyer.internal.ah, com.appsflyer.internal.h) :)50958)
    2021-06-25 22:02:26.602 17364-17485/? I/e.villascrushe: at void com.appsflyer.internal.ah$a.run() :)3092)
    2021-06-25 22:02:26.602 17364-17485/? I/e.villascrushe: at java.lang.Object java.util.concurrent.Executors$RunnableAdapter.call() (Executors.java:459)
    2021-06-25 22:02:26.602 17364-17485/? I/e.villascrushe: at void java.util.concurrent.FutureTask.run() (FutureTask.java:266)
    2021-06-25 22:02:26.602 17364-17485/? I/e.villascrushe: at void java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run() (ScheduledThreadPoolExecutor.java:301)
    2021-06-25 22:02:26.602 17364-17485/? I/e.villascrushe: at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1167)
    2021-06-25 22:02:26.602 17364-17485/? I/e.villascrushe: at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:641)
    2021-06-25 22:02:26.602 17364-17485/? I/e.villascrushe: at void com.appsflyer.internal.l$2$2.run() :)31)
     
unityunity