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

Unity APK parsing error on phone android version 6.0.1

Discussion in 'Android' started by T00nbink, Jan 14, 2018.

  1. T00nbink

    T00nbink

    Joined:
    Jun 21, 2017
    Posts:
    5
    I've been working on a mobile game and I was trying to build it to android. I wasn't able to get the android SDK working but after hours of research I was able to get unity to build the APK file for my game. But when I transfered the file to my phone I got the parsing error message. I've read that you normally get this message when your phone is using a older version of android but I believe this isn't my case. I've built games before (on my old laptop) and I was able to run those games on my phone without any problem.

    Does anyone know what I'm maybe missing here? I feel like I've tried everything.
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    How did you try to install the game? Generally you can install an APK using "Build and Run" from Unity. Alternately you can use "adb install myfile.apk"
     
  3. T00nbink

    T00nbink

    Joined:
    Jun 21, 2017
    Posts:
    5
    I tried Build and Run (what actually crashed my phone), I transferred the file to my phone with a micro USB cable and via mail. None of them worked.

    I also had a friend downloading the entire project (via Unity Collab) and let him build it for android. He got the project to build and actually install but he ran into this error:

    Error
    Unable to initialize the unity engine.

    We tried changing the NET. of the project because people in the forums said that that worked for them but it didn't work for us. Do you maybe have any suggestions of fixing that problem?
     
  4. Cystus_2

    Cystus_2

    Joined:
    May 5, 2018
    Posts:
    3
    i encountered same problem.
    Unsigned package installs and works fine but the signed apk gives "parse error".