Search Unity

Google Play API warnings started today

Discussion in 'Android' started by Kurt-Dekker, May 12, 2019.

  1. prometeoproduction

    prometeoproduction

    Joined:
    Apr 19, 2019
    Posts:
    17
    I tried to upgrade to 2019.3.7f1 but the warnings persist.
     
  2. Zeeppo-Games

    Zeeppo-Games

    Joined:
    May 13, 2015
    Posts:
    103
    I can confirm the warnings still there
     
  3. Michieal

    Michieal

    Joined:
    Jul 7, 2013
    Posts:
    92
    I can offer that in 2019.2.11f it's still present. I have 13 greylisted SDK results in the prelaunch report. And, I only have unity analytics in the game, not IAP, nor any Google API. Just a basic game.
    Let me know if you want the list of greylisted stuff from the report. Or, let me know where this is actually fixed, so that I can upgrade unity, and build my new game for that version.
    Thank you! :D
     
  4. jamesk5

    jamesk5

    Joined:
    Nov 26, 2012
    Posts:
    16
    I'm getting these warning using Unity 2018.4.19

    • StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V
    • StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionAction(III)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;
    • StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionAction(IIILandroid/view/textclassifier/TextClassification;)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;
    • StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionModified(II)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;
    • StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionModified(IILandroid/view/textclassifier/TextClassification;)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;
    • StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionModified(IILandroid/view/textclassifier/TextSelection;)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;
    • StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionStarted(I)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;
    • StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/textclassifier/logging/SmartSelectionEventTracker;-><init>(Landroid/content/Context;I)V
    • StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/textclassifier/logging/SmartSelectionEventTracker;->logEvent(Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;)V
    • StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/content/Context;->bindServiceAsUser(Landroid/content/Intent;Landroid/content/ServiceConnection;ILandroid/os/Handler;Landroid/os/UserHandle;)Z
     
    Tx likes this.
  5. janiche

    janiche

    Joined:
    Jan 4, 2015
    Posts:
    52
    Unity 2019.3.9 still happening. 10 errors, I thing this errors is making my Game crashes throwing me on Play COnsole: java.lang.Error.
     

    Attached Files:

  6. lyualvin

    lyualvin

    Joined:
    Apr 19, 2019
    Posts:
    2
    Anyone tried to upload an empty project and also get the API warning???
     
  7. any_user

    any_user

    Joined:
    Oct 19, 2008
    Posts:
    374
    @Yury-Habets any update about this? It still happens in 2019.3.9, what's the roadmap?
     
  8. lyualvin

    lyualvin

    Joined:
    Apr 19, 2019
    Posts:
    2
    I tried yesterday,and received the warning,I wander know which Unity Verision has solved out the question.
     
  9. arindamnsit

    arindamnsit

    Joined:
    Nov 15, 2019
    Posts:
    5
    I am getting these StrictMode violation warnings too.

    Code (CSharp):
    1. StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V
    2.     at android.os.StrictMode.lambda
    Anyone from Unity please inform when these will be fixed.
    I'm using Unity 2019.3.9
     
  10. Mohamed_Orabi

    Mohamed_Orabi

    Joined:
    Dec 7, 2018
    Posts:
    2
    I'm getting these warning using Unity 2019.3.10

    I don’t know if I can do anything


    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V
    at android.os.StrictMode.lambda$static$1(StrictMode.java:407)
    at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    at java.lang.Class.getDeclaredConstructorInternal(Native Method)
    at java.lang.Class.getConstructor0(Class.java:2329)
    at java.lang.Class.getDeclaredConstructor(Class.java:2170)
    at bitter.jnibridge.JNIBridge$a.<init>(Unknown Source:25)
    at bitter.jnibridge.JNIBridge.newInterfaceProxy(Unknown Source:8)
    at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
    at com.unity3d.player.UnityPlayer.access$300(Unknown Source:0)
    at com.unity3d.player.UnityPlayer$e$1.handleMessage(Unknown Source:95)
    at android.os.Handler.dispatchMessage(Handler.java:103)
    at android.os.Looper.loop(Looper.java:214)
    at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)


    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V
    at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    at java.lang.Class.getDeclaredConstructorInternal(Native Method)
    at java.lang.Class.getConstructor0(Class.java:2325)
    at java.lang.Class.getDeclaredConstructor(Class.java:2166)
    at bitter.jnibridge.JNIBridge$a.<init>(Unknown Source:25)
    at bitter.jnibridge.JNIBridge.newInterfaceProxy(Unknown Source:8)
    at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
    at com.unity3d.player.UnityPlayer.access$300(Unknown Source:0)
    at com.unity3d.player.UnityPlayer$e$1.handleMessage(Unknown Source:95)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:193)
    at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)
     
  11. cultzone

    cultzone

    Joined:
    Oct 20, 2019
    Posts:
    39
    Landroid/media/AudioSystem;->getPrimaryOutputFrameCount()

    Which archive?
     
  12. tuhinkarfa89

    tuhinkarfa89

    Joined:
    Jan 24, 2019
    Posts:
    8
    The issue is not fixed yet. I am getting 19 API warning, does any official news arrive from unity?
     
  13. nicsure

    nicsure

    Joined:
    Apr 15, 2020
    Posts:
    2
    Well this makes no sense at all.

    "Your pre-launch report with test results will be generated after you publish your app on an alpha or beta track."

    It's hardly a pre-launch report if it's only available after it's been published. I'm trying to use the report feature to identify where the issue is coming from, my guess is it's support for an older API so I submitted an aab targeting only API 28 and ARM64 to see if the warnings go away. But I actually have to roll out the thing to get the report. It's utter stupidity.
     
  14. cultzone

    cultzone

    Joined:
    Oct 20, 2019
    Posts:
    39
    ==> simple warning... the styles xml on folder 'res' try to change the configs of the android manifest and statusbar... can we help...
     
  15. WryMim

    WryMim

    Joined:
    Mar 16, 2019
    Posts:
    69
    How many years will be fixed?

    Unity 2019.3.13

    24 Errors!
    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/lang/invoke/MethodHandles$Lookup;
    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/nio/Buffer;->address:J
    Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionAction(III)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;
    ....
     
  16. jcbhmmn

    jcbhmmn

    Joined:
    Oct 4, 2014
    Posts:
    21
    Unity 2019.3.13f
    @Yury-Habets
    I am unable to test my app on certain devices through the Google Play Internal Test Track and I suspect that this may be the reason. Can someone at Unity please address this issue or at least reply to someone in this thread for an update?



    upload_2020-6-4_15-21-32.png
     
  17. levelappstudios

    levelappstudios

    Joined:
    Nov 7, 2017
    Posts:
    104
    Got same warnings and ended up here. Reading OP post: "It's a post from May 2019, must be fixed already, lets find out".

    Today is June 9th 2020 and still there isn't a solution for this.
     
  18. Zeeppo-Games

    Zeeppo-Games

    Joined:
    May 13, 2015
    Posts:
    103
    There’s no solution. Unity for Android is broken. Totally broken. The only solution I see is to change to another dev tool
     
  19. levelappstudios

    levelappstudios

    Joined:
    Nov 7, 2017
    Posts:
    104
    I would not say totally broken at all, but seems like Android is always at the bottom of the priority queue.

    Just saying "hey, we are working on it and it will be fixed at this point" would be nice, nobody of Unity Technologies says a word about this since last September.
     
  20. Zeeppo-Games

    Zeeppo-Games

    Joined:
    May 13, 2015
    Posts:
    103
    This is not about working on it or not. It's clear for me that they are unable to fix those issues on Android. They don't have a clue on fixing it. Everybody gets the crashes on every Android live app. It's easy to see the erros, warnings, logs and everything.
    Right now, there's a brand new 2019.4.0 release. There's ONE (yes, ONE!) Android fix:
    Android: Fixed an issue where master sprite atlases did not use the specified ETC2 fallback format

    What about these warnings that have been around for more than 1 year? The absurd number of crashes that makes impossible to mantain Unity games with a decent performance on Play Store?

    Nothing. Every release I expect to see a long, fat list of Android fixes. But nothing again.
    No serious company just leaves its product to rot like this. And Unity is a serious company. So, the conclusion is: They are trying hard, but they just can't do it.
     
  21. JuliusM

    JuliusM

    Unity Technologies

    Joined:
    Apr 17, 2013
    Posts:
    835
    When this thread was created there were warnings about three different graylisted APIs. Two of them were related to audio. We worked with Google and addressed them last year since there were alternative public APIs which we could use. The third one - MethodHandles$Lookup is different. With suggestions from Google we have tried a couple of alternatives, however they did not work (the behaviour was different). After getting a confirmation from Google that it will not affect Android Q and without having any additional things to try we've left it as is. Recently Google has provided one more alternative which we have yet to try, however they have also confirmed that this warning will not affect Android R. For now there is no need to panic as this is just a warning which does not cause any issues. I'm writing this to let you know that we do not ignore this issue. We upload test applications to the Playstore daily in our CI and periodically check for warnings there to ensure we are always on top of these issues. One thing to add, in this thread some of you have reported other graylisted API warnings than those three. Those APIs are not used by Unity. If you currently see any other graylisted API warnings than MethodHandles$Lookup, inspect your code and plugins.
     
  22. Zeeppo-Games

    Zeeppo-Games

    Joined:
    May 13, 2015
    Posts:
    103
    2019.4.2. No Android fixes. Lots of the same crashes.
     
  23. PepoRuiz

    PepoRuiz

    Joined:
    Feb 12, 2019
    Posts:
    1
    so , Google won't reject my app for this warning?? thank!...
     
  24. kaarloew

    kaarloew

    Joined:
    Nov 1, 2018
    Posts:
    360
    Greylist warnings won't get your app rejected. Blacklist ones will get your app rejected.
     
  25. game4444

    game4444

    Joined:
    Feb 7, 2017
    Posts:
    5
    any updates about the issue? I am still getting the problem.
     
  26. game4444

    game4444

    Joined:
    Feb 7, 2017
    Posts:
    5
    Anyone find the solution?
     
  27. jjkinsley

    jjkinsley

    Joined:
    Aug 2, 2020
    Posts:
    1
    In case it is of use to Unity, I am getting this msg as of today using 20.1.2f1 with a couple of asset store plugins
     
  28. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,735
    I assume you're using source control, so if you are NOT (why not?!) then be sure to back your project up completely before doing this:

    REMOVE those plugins, comment out any lines that cause compiler errors, and build a fresh APK/AAB and push it up to google, see if you still get the warnings.

    If not then you know it's in one of the plugins and you can start trying to isolate which one. If you still get the warnings, then it might be a Unity thing... but then I would try it with a completely blank project before filing a bug.

    But if you can repro it, file the bug. Unity does a lot of fixes based on good solid bug reports.
     
  29. gericktoro

    gericktoro

    Joined:
    Sep 1, 2017
    Posts:
    2
    same problem here
     
  30. cultzone

    cultzone

    Joined:
    Oct 20, 2019
    Posts:
    39
    See the ANDROID Manifest for the all ordinary warnings... the manifest isnt the same for all the mobile devices... we solved all the warnings one by one... its a time mind in the one problem for a time...
    The Manifest of the unity isnt the same fo the android-studio and the builder ist not the same in gradle...
    is there many solutions for the same problem on android-unity.... dont give-up man!!!!
     
  31. mustyoziey12

    mustyoziey12

    Joined:
    Aug 27, 2020
    Posts:
    1
    Published the APK for my game for testing and I also have 10 non-sdk error used unity 2020. So I guess they have not done anything about it
     
  32. HankLazer

    HankLazer

    Joined:
    Aug 15, 2019
    Posts:
    1
    Any news yet?
     
  33. Charlieb928

    Charlieb928

    Joined:
    Jul 28, 2019
    Posts:
    7
    I am getting this ridiculous warning from google can anyone please tell me what this means and is there a solution?


    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V
    at android.os.StrictMode.lambda$static$1(StrictMode.java:407)
    at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    at java.lang.Class.getDeclaredConstructorInternal(Native Method)
    at java.lang.Class.getConstructor0(Class.java:2329)
    at java.lang.Class.getDeclaredConstructor(Class.java:2170)
    at bitter.jnibridge.JNIBridge$a.<init>(Unknown Source:25)
    at bitter.jnibridge.JNIBridge.newInterfaceProxy(Unknown Source:8)
    at com.unity3d.player.UnityPlayer.nativeDone(Native Method)
    at com.unity3d.player.UnityPlayer.shutdown(Unknown Source:0)
    at com.unity3d.player.UnityPlayer.access$1700(Unknown Source:0)
    at com.unity3d.player.UnityPlayer$25.run(Unknown Source:2)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:214)
    at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)
     
  34. jbecana

    jbecana

    Joined:
    Feb 14, 2012
    Posts:
    22
    Same here, using 2019.4.10f1. This was going to be my first Unity game published, but I'm loosing my enthusiasm rather quickly.

    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V
    at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    at java.lang.Class.getDeclaredConstructorInternal(Native Method)
    at java.lang.Class.getConstructor0(Class.java:2325)
    at java.lang.Class.getDeclaredConstructor(Class.java:2166)
    at bitter.jnibridge.JNIBridge$a.<init>(Unknown Source:25)
    at bitter.jnibridge.JNIBridge.newInterfaceProxy(Unknown Source:8)
    at com.unity3d.player.UnityPlayer.nativeDone(Native Method)
    at com.unity3d.player.UnityPlayer.shutdown(Unknown Source:0)
    at com.unity3d.player.UnityPlayer.access$1700(Unknown Source:0)
    at com.unity3d.player.UnityPlayer$25.run(Unknown Source:2)
    at android.os.Handler.handleCallback(Handler.java:873)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:193)
    at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)

    Did anybody sort this out?
    Edited: Another one on the light-grey list:
    Landroid/content/Context;->bindServiceAsUser
     
    Last edited: Oct 12, 2020
  35. kaarloew

    kaarloew

    Joined:
    Nov 1, 2018
    Posts:
    360
  36. spikyggames

    spikyggames

    Joined:
    Jun 2, 2020
    Posts:
    1
    first answer in this link
    https://stackoverflow.com/questions...nings-in-the-pre-launch-report-in-google-play

    give you another link that shows greylisted apis depending on android version. I had 12 warnings and looked it up. For android pie, all my warnings are in greylist. You can search for other android versions in there and find other blacklists and greylists for each android version.

    I don't know if this helps to anyone but as long as it is in greylist, nothing to worry for now, but if it is in blacklist it needs to be fixed somehow to be used on that android version.
     
  37. AbdurRehman_Gamination

    AbdurRehman_Gamination

    Joined:
    Mar 3, 2020
    Posts:
    4
    i am facing this problem on unity 2019.2.3f1
     
  38. AbdurRehman_Gamination

    AbdurRehman_Gamination

    Joined:
    Mar 3, 2020
    Posts:
    4
    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V
    at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    at java.lang.Class.getDeclaredConstructorInternal(Native Method)
    at java.lang.Class.getConstructor0(Class.java:2325)
    at java.lang.Class.getDeclaredConstructor(Class.java:2166)
    at bitter.jnibridge.JNIBridge$a.<init>(Unknown Source:25)
    at bitter.jnibridge.JNIBridge.newInterfaceProxy(Unknown Source:8)
    at com.unity3d.player.UnityPlayer.nativeDone(Native Method)
    at com.unity3d.player.UnityPlayer.g(Unknown Source:0)
    at com.unity3d.player.UnityPlayer.k(Unknown Source:0)
    at com.unity3d.player.UnityPlayer$24.run(Unknown Source:2)
    at android.os.Handler.handleCallback(Handler.java:873)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:193)
    at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)






    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V
    at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    at java.lang.Class.getDeclaredConstructorInternal(Native Method)
    at java.lang.Class.getConstructor0(Class.java:2325)
    at java.lang.Class.getDeclaredConstructor(Class.java:2166)
    at bitter.jnibridge.JNIBridge$a.<init>(Unknown Source:25)
    at bitter.jnibridge.JNIBridge.newInterfaceProxy(Unknown Source:8)
    at com.unity3d.player.UnityPlayer.nativeFocusChanged(Native Method)
    at com.unity3d.player.UnityPlayer.a(Unknown Source:0)
    at com.unity3d.player.UnityPlayer$e$1.a(Unknown Source:19)
    at com.unity3d.player.UnityPlayer$e$1.handleMessage(Unknown Source:150)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:193)
    at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)




    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V
    at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    at java.lang.Class.getDeclaredConstructorInternal(Native Method)
    at java.lang.Class.getConstructor0(Class.java:2325)
    at java.lang.Class.getDeclaredConstructor(Class.java:2166)
    at bitter.jnibridge.JNIBridge$a.<init>(Unknown Source:25)
    at bitter.jnibridge.JNIBridge.newInterfaceProxy(Unknown Source:8)
    at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
    at com.unity3d.player.UnityPlayer.c(Unknown Source:0)
    at com.unity3d.player.UnityPlayer$e$1.handleMessage(Unknown Source:88)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:193)
    at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)



    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/media/AudioTrack;->getLatency()I
    at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    at java.lang.Class.getDeclaredMethodInternal(Native Method)
    at java.lang.Class.getPublicMethodRecursive(Class.java:2075)
    at java.lang.Class.getMethod(Class.java:2063)
    at java.lang.Class.getMethod(Class.java:1690)
    at com.google.android.gms.ads.exoplayer3.audio.k.<init>:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:3)
    at com.google.android.gms.ads.exoplayer3.audio.n.<init>:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:4)
    at com.google.android.gms.ads.internal.video.exoplayer3.y.<init>:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:5)
    at com.google.android.gms.ads.internal.video.gmsg.exoplayer3.d.<init>:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:2)
    at com.google.android.gms.ads.internal.video.gmsg.q.a:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:21)
    at com.google.android.gms.ads.internal.webview.p.a:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:61)
    at com.google.android.gms.ads.internal.webview.p.a:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:15)
    at com.google.android.gms.ads.internal.webview.ag.run(Unknown Source:5)
    at android.os.Handler.handleCallback(Handler.java:873)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at qc.a:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:0)
    at com.google.android.gms.ads.internal.util.f.a:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:1)
    at qc.dispatchMessage:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:0)
    at android.os.Looper.loop(Looper.java:193)
    at android.app.ActivityThread.main(ActivityThread.java:6718)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)



    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/content/Context;->bindServiceAsUser(Landroid/content/Intent;Landroid/content/ServiceConnection;ILandroid/os/Handler;Landroid/os/UserHandle;)Z
    at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    at java.lang.Class.getDeclaredMethodInternal(Native Method)
    at java.lang.Class.getMethod(Class.java:2064)
    at java.lang.Class.getDeclaredMethod(Class.java:2047)
    at aLZ.a(PG:11)
    at aMw.a(PG:11)
    at aMa.a(PG:43)
    at cBg.<init>(PG:4)
    at cAx.run(PG:9)
    at android.os.Handler.handleCallback(Handler.java:873)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:193)
    at android.os.HandlerThread.run(HandlerThread.java:65)



    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/media/AudioSystem;->getPrimaryOutputFrameCount()I
    at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
    at com.unity3d.player.UnityPlayer.c(Unknown Source:0)
    at com.unity3d.player.UnityPlayer$e$1.handleMessage(Unknown Source:88)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:193)
    at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)
    [ 10-06 04:24:07.503 18457:18684 D/ ]
    PlayerBase::playerBase()
    [ 10-06 04:24:07.504 18457:18684 D/ ]
    TrackPlayerBase::TrackPlayerBase()



    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/media/AudioSystem;->getPrimaryOutputSamplingRate()I
    at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
    at com.unity3d.player.UnityPlayer.c(Unknown Source:0)
    at com.unity3d.player.UnityPlayer$e$1.handleMessage(Unknown Source:88)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:193)
    at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)



    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionAction(III)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;
    at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    at java.lang.Class.getDeclaredMethodInternal(Native Method)
    at java.lang.Class.getPublicMethodRecursive(Class.java:2075)
    at java.lang.Class.getMethod(Class.java:2063)
    at java.lang.Class.getMethod(Class.java:1690)
    at cEa.a(PG:9)
    at cEi.a(PG:12)
    at org.chromium.content.browser.selection.SmartSelectionClient.<init>(PG:5)
    at cEQ.a(Unknown Source:7)
    at org.chromium.android_webview.AwContents.e(PG:245)
    at org.chromium.android_webview.AwContents.d(PG:210)
    at org.chromium.android_webview.AwContents.<init>(PG:77)
    at to.run(PG:15)
    at aJK.a(PG:13)
    at aJL.run(Unknown Source:2)
    at org.chromium.base.task.PostTask.b(PG:16)
    at aJK.a(PG:7)
    at com.android.webview.chromium.WebViewChromiumFactoryProvider.b(PG:6)
    at com.android.webview.chromium.WebViewChromium.init(PG:105)
    at android.webkit.WebView.<init>(WebView.java:422)
    at android.webkit.WebView.<init>(WebView.java:348)
    at android.webkit.WebView.<init>(WebView.java:331)
    at android.webkit.WebView.<init>(WebView.java:318)
    at android.webkit.WebView.<init>(WebView.java:308)
    at com.google.android.gms.ads.internal.webview.ab.<init>:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:1)
    at com.google.android.gms.ads.internal.webview.r.a(Unknown Source:3)
    at com.google.android.gms.ads.internal.util.bm.a:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:14)
    at com.google.android.gms.ads.internal.webview.u.a:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:4)
    at com.google.android.gms.ads.internal.js.w.<init>:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:5)
    at com.google.android.gms.ads.internal.js.y.run(Unknown Source:3)
    at android.os.Handler.handleCallback(Handler.java:873)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at qc.a:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:0)
    at com.google.android.gms.ads.internal.util.f.a:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:1)
    at qc.dispatchMessage:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:0)
    at android.os.Looper.loop(Looper.java:193)
    at android.app.ActivityThread.main(ActivityThread.java:6718)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)



    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionAction(IIILandroid/view/textclassifier/TextClassification;)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;
    at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    at java.lang.Class.getDeclaredMethodInternal(Native Method)
    at java.lang.Class.getPublicMethodRecursive(Class.java:2075)
    at java.lang.Class.getMethod(Class.java:2063)
    at java.lang.Class.getMethod(Class.java:1690)
    at cEa.a(PG:11)
    at cEi.a(PG:12)
    at org.chromium.content.browser.selection.SmartSelectionClient.<init>(PG:5)
    at cEQ.a(Unknown Source:7)
    at org.chromium.android_webview.AwContents.e(PG:245)
    at org.chromium.android_webview.AwContents.d(PG:210)
    at org.chromium.android_webview.AwContents.<init>(PG:77)
    at to.run(PG:15)
    at aJK.a(PG:13)
    at aJL.run(Unknown Source:2)
    at org.chromium.base.task.PostTask.b(PG:16)
    at aJK.a(PG:7)
    at com.android.webview.chromium.WebViewChromiumFactoryProvider.b(PG:6)
    at com.android.webview.chromium.WebViewChromium.init(PG:105)
    at android.webkit.WebView.<init>(WebView.java:422)
    at android.webkit.WebView.<init>(WebView.java:348)
    at android.webkit.WebView.<init>(WebView.java:331)
    at android.webkit.WebView.<init>(WebView.java:318)
    at android.webkit.WebView.<init>(WebView.java:308)
    at com.google.android.gms.ads.internal.webview.ab.<init>:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:1)
    at com.google.android.gms.ads.internal.webview.r.a(Unknown Source:3)
    at com.google.android.gms.ads.internal.util.bm.a:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:14)
    at com.google.android.gms.ads.internal.webview.u.a:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:4)
    at com.google.android.gms.ads.internal.js.w.<init>:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:5)
    at com.google.android.gms.ads.internal.js.y.run(Unknown Source:3)
    at android.os.Handler.handleCallback(Handler.java:873)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at qc.a:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:0)
    at com.google.android.gms.ads.internal.util.f.a:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:1)
    at qc.dispatchMessage:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:0)
    at android.os.Looper.loop(Looper.java:193)
    at android.app.ActivityThread.main(ActivityThread.java:6718)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)



    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionModified(II)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;
    at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    at java.lang.Class.getDeclaredMethodInternal(Native Method)
    at java.lang.Class.getPublicMethodRecursive(Class.java:2075)
    at java.lang.Class.getMethod(Class.java:2063)
    at java.lang.Class.getMethod(Class.java:1690)
    at cEa.a(PG:6)
    at cEi.a(PG:12)
    at org.chromium.content.browser.selection.SmartSelectionClient.<init>(PG:5)
    at cEQ.a(Unknown Source:7)
    at org.chromium.android_webview.AwContents.e(PG:245)
    at org.chromium.android_webview.AwContents.d(PG:210)
    at org.chromium.android_webview.AwContents.<init>(PG:77)
    at to.run(PG:15)
    at aJK.a(PG:13)
    at aJL.run(Unknown Source:2)
    at org.chromium.base.task.PostTask.b(PG:16)
    at aJK.a(PG:7)
    at com.android.webview.chromium.WebViewChromiumFactoryProvider.b(PG:6)
    at com.android.webview.chromium.WebViewChromium.init(PG:105)
    at android.webkit.WebView.<init>(WebView.java:422)
    at android.webkit.WebView.<init>(WebView.java:348)
    at android.webkit.WebView.<init>(WebView.java:331)
    at android.webkit.WebView.<init>(WebView.java:318)
    at android.webkit.WebView.<init>(WebView.java:308)
    at com.google.android.gms.ads.internal.webview.ab.<init>:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:1)
    at com.google.android.gms.ads.internal.webview.r.a(Unknown Source:3)
    at com.google.android.gms.ads.internal.util.bm.a:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:14)
    at com.google.android.gms.ads.internal.webview.u.a:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:4)
    at com.google.android.gms.ads.internal.js.w.<init>:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:5)
    at com.google.android.gms.ads.internal.js.y.run(Unknown Source:3)
    at android.os.Handler.handleCallback(Handler.java:873)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at qc.a:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:0)
    at com.google.android.gms.ads.internal.util.f.a:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:1)
    at qc.dispatchMessage:)com.google.android.gms.policy_ads_fdr_dynamite@21880057@21880057.316985907.316985907:0)
    at android.os.Looper.loop(Looper.java:193)
    at android.app.ActivityThread.main(ActivityThread.java:6718)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
     
  39. LascauxMontignac

    LascauxMontignac

    Joined:
    Aug 14, 2017
    Posts:
    2
    same error here!!
     
  40. melchizadez

    melchizadez

    Joined:
    Nov 19, 2020
    Posts:
    1
    wasted my time here.
     
    Baschti-aus-s and ivan_uspenskiy like this.
  41. Knrg-Modz

    Knrg-Modz

    Joined:
    Nov 23, 2018
    Posts:
    5
    Same errors in unity 2020, mine are google firebase related.
    in unity, Change "MINIMUM" API Level to Android 5.1 (API 22) seems to do the job temporary fix
     
  42. Bersaelor

    Bersaelor

    Joined:
    Oct 8, 2016
    Posts:
    111
    Seeing the same issue after uploading an app to google play console.

    AppCompat says the problem is
    Code (CSharp):
    1. #1: Linking greylist Landroid/media/Image$Plane;-><init>()V use(s):
    2.        La/a/a;-><init>()V
    3.  
    4. #2: Linking greylist Landroid/media/Image;-><init>()V use(s):
    5.        La/a/b;-><init>()V
    6.  
    Errors in the google play console look like this:
    Code (CSharp):
    1.  
    2. StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V
    3.     at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    4.     at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    5.     at java.lang.Class.getDeclaredConstructorInternal(Native Method)
    6.     at java.lang.Class.getConstructor0(Class.java:2325)
    7.     at java.lang.Class.getDeclaredConstructor(Class.java:2166)
    8.     at bitter.jnibridge.JNIBridge$a.<init>(Unknown Source:25)
    9.     at bitter.jnibridge.JNIBridge.newInterfaceProxy(Unknown Source:8)
    10.     at com.unity3d.player.UnityPlayer.nativeDone(Native Method)
    11.     at com.unity3d.player.UnityPlayer.shutdown(Unknown Source:0)
    12.     at com.unity3d.player.UnityPlayer.access$1700(Unknown Source:0)
    13.     at com.unity3d.player.UnityPlayer$23.run(Unknown Source:2)
    14.     at android.os.Handler.handleCallback(Handler.java:873)
    15.     at android.os.Handler.dispatchMessage(Handler.java:99)
    16.     at android.os.Looper.loop(Looper.java:193)
    17.     at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)
    18.  
     
  43. MikeMnD

    MikeMnD

    Joined:
    Jan 17, 2014
    Posts:
    13
    Just to add one more to the list:

    Unity 2020.2.1f1


    Code (CSharp):
    1. API
    2. Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V
    3. Stack trace #1
    4. StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V
    5. StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V
    6.     at android.os.StrictMode.lambda$static$1(StrictMode.java:407)
    7.     at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    8.     at java.lang.Class.getDeclaredConstructorInternal(Native Method)
    9.     at java.lang.Class.getConstructor0(Class.java:2329)
    10.     at java.lang.Class.getDeclaredConstructor(Class.java:2170)
    11.     at bitter.jnibridge.JNIBridge$a.<init>(Unknown Source:25)
    12.     at bitter.jnibridge.JNIBridge.newInterfaceProxy(Unknown Source:8)
    13.     at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
    14.     at com.unity3d.player.UnityPlayer.access$300(Unknown Source:0)
    15.     at com.unity3d.player.UnityPlayer$e$1.handleMessage(Unknown Source:83)
    16.     at android.os.Handler.dispatchMessage(Handler.java:103)
    17.     at android.os.Looper.loop(Looper.java:237)
    18.     at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)
    19. Stack trace #2
    20. StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V
     
    Combat-Wombat and nav1lan like this.
  44. Ziplock9000

    Ziplock9000

    Joined:
    Jan 26, 2016
    Posts:
    360
    Unity 2020.2.4f1


    Code (CSharp):
    1. StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V
    2.     at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    3.     at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    4.     at java.lang.Class.getDeclaredConstructorInternal(Native Method)
    5.     at java.lang.Class.getConstructor0(Class.java:2325)
    6.     at java.lang.Class.getDeclaredConstructor(Class.java:2166)
    7.     at bitter.jnibridge.JNIBridge$a.<init>(Unknown Source:25)
    8.     at bitter.jnibridge.JNIBridge.newInterfaceProxy(Unknown Source:8)
     
  45. daveMennenoh

    daveMennenoh

    Joined:
    May 14, 2020
    Posts:
    107
    2+ years and this bug is still around. Great... 2020.1.15f1

    Code (CSharp):
    1. StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V
    2.     at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    3.     at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    4.     at java.lang.Class.getDeclaredConstructorInternal(Native Method)
    5.     at java.lang.Class.getConstructor0(Class.java:2325)
    6.     at java.lang.Class.getDeclaredConstructor(Class.java:2166)
    7.     at bitter.jnibridge.JNIBridge$a.<init>(Unknown Source:25)
    8.     at bitter.jnibridge.JNIBridge.newInterfaceProxy(Unknown Source:8)
    9.     at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
    10.     at com.unity3d.player.UnityPlayer.access$300(Unknown Source:0)
    11.     at com.unity3d.player.UnityPlayer$e$1.handleMessage(Unknown Source:95)
    12.     at android.os.Handler.dispatchMessage(Handler.java:102)
    13.     at android.os.Looper.loop(Looper.java:193)
    14.     at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)
     
    Ziplock9000 likes this.
  46. itmhz

    itmhz

    Joined:
    Mar 1, 2019
    Posts:
    1
    Almost 2 years and we still get these warnings.
    I use Unity 2019.4.4f
     
    Ziplock9000 likes this.
  47. sohailciit38

    sohailciit38

    Joined:
    Apr 2, 2019
    Posts:
    14
    Any Update?
     
  48. Maxmikee

    Maxmikee

    Joined:
    Oct 1, 2017
    Posts:
    1
    Same error, Unity 2019.4.16f1 (64-bit). Any news?
     
  49. tomekkie2

    tomekkie2

    Joined:
    Jul 6, 2012
    Posts:
    973
    I am getting exactly the same as Stack trace #1 from Unity 2020.1.3.
    and exactly the same as here as Stack trace #2
     
  50. khrysller

    khrysller

    Joined:
    Mar 14, 2019
    Posts:
    125
    Same bunch of warnings here