Search Unity

Build 2020.3.4f1 crashes on kitkat device

Discussion in 'Editor & General Support' started by IndieFist, Apr 23, 2021.

  1. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    520
    Hi!
    I have 2 devices with kitkat release of android, and any apk i made from any of my projects crashes while starting without log anthing on terminal.
    Maybe is releated to this version of unity?
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,909
    That's an extremely old version of Android. I wouldn't be surprised if there was some breaking change made in the interim to how Android apps are built that prevents them working on such an old Android version.

    Maybe related to the transition from APKs to AABs?
    https://developer.android.com/guide/app-bundle
     
    IndieFist likes this.
  3. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    520
    Yes, i think is time to remove support for this version :(
     
  4. Mathijs333

    Mathijs333

    Joined:
    May 20, 2014
    Posts:
    15
    Did you find any solution?

    I found the same issue with version 2020.3.7f1.
    We did an upgrade from 2020.1.16 to 2020.3.7 after which it doesn't run on Android 4.4. All other versions are fine.
    It seems it can't find some android libs and others and then it fails to start the player after.

    Example;
    > Failed resolving Lcom/unity3d/player/f$a; interface 568 'Landroid/view/PixelCopy$OnPixelCopyFinishedListener;'

    Exception:
    > Caused by: java.lang.VerifyError: com/unity3d/player/f



    Screenshot 2021-05-11 at 19.56.30.png