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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

App not working on Android12; Failed to load 'libmain.so'

Discussion in 'Android' started by sun201801010, Jan 17, 2022.

  1. sun201801010

    sun201801010

    Joined:
    Dec 26, 2018
    Posts:
    8
    I got this failure message on the mobile screen when running, It just happen in aab building,
    if i build apk, it works find.
    And it works find on android 5-11,but fail on android 12.
    somebody help?

    Environment
    unity:2020.3.26f1c1 person
    android studio:4
    gradle:4.0.1
    android os:12

    just
     
    Last edited: Jan 17, 2022
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,679
    Could you please submit a bug with small repro attached - https://unity3d.com/unity/qa/bug-reporting, be sure to mention what phone you're using. Also please attach logcat for more information, which contains this error message.
     
  3. sun201801010

    sun201801010

    Joined:
    Dec 26, 2018
    Posts:
    8
    I can't open the url,it is a blank page.
    my phone: oppo find 12
    And i upload a test project here,it just a empty project,i got the failure too.
    And logcat showed this error:
     

    Attached Files:

    Last edited: Jan 18, 2022