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

android APK built doesn't run on device or emulator

Discussion in 'Android' started by appsy91, Jan 1, 2021.

  1. appsy91

    appsy91

    Joined:
    Oct 29, 2019
    Posts:
    4
    IL2CPP scripting backend ->

    I have tried all the possible combinations in order to create android APK from Unity 2019.4.17f1 but the APK generated doesn't run on any android device(armv7 or arm64) or emulator. I have tried this with my project as well as the endless runner unity project.

    The audio turns on in both the cases for a while when I click open the installed apk and app closes almost immediately.


    also, the logcat doesn't show up anything unusual, if that helps. I have also tried to turn off the automatic backup but it doesn't help me.


    I kinda hit a roadblock here so any suggestion would be greatly appreciated. :)

    Edit: Ok I created fresh new 3d project with nothing in it but skybox and a 3d cube. I tried 'build & run' & the apk runs on the phone but shows blank screen. I am attaching logcat for this project.
     

    Attached Files:

    Last edited: Jan 1, 2021
  2. appsy91

    appsy91

    Joined:
    Oct 29, 2019
    Posts:
    4
    I finally solved this problem by removing `Vulkan` from the graphics API and have opengles3 left over. Hope this helps someone else who faces similar problem.