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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Android .APK won't work

Discussion in 'Linux' started by alexispolak, Aug 28, 2015.

  1. alexispolak

    alexispolak

    Joined:
    Mar 3, 2013
    Posts:
    39
    Hi there ! I'm using Unity on linux (dah) and i import aproject that i use in Windows. I compiled it to an Android .apk but when i try to install the .apk on the phone, the instalation fails. The projects works ok in Unity+Wine and in Windows, and the APK compiled in both works ok, but in ubuntu 15 won't work. I'm using "android-sdk_r24.3.2-linux"
     
  2. Tak

    Tak

    Unity Technologies

    Joined:
    Mar 8, 2010
    Posts:
    1,001
    How does it fail? What's the error?
     
  3. alexispolak

    alexispolak

    Joined:
    Mar 3, 2013
    Posts:
    39
    "No se instaló la aplicación" (The application was not installed)
     
  4. z3ntu

    z3ntu

    Joined:
    Aug 27, 2015
    Posts:
    24
    I already tried exporting my project for Android and it worked! So it is not a general problem.
     
  5. alexispolak

    alexispolak

    Joined:
    Mar 3, 2013
    Posts:
    39
    What SDK and JDK are you using ? I change 3 diferents JDK and still not working.
     
  6. Nicholas-Rishel

    Nicholas-Rishel

    Joined:
    May 7, 2013
    Posts:
    16
    Do you have development builds enabled? That caused me trouble but with a different error message.
     
  7. z3ntu

    z3ntu

    Joined:
    Aug 27, 2015
    Posts:
    24
    I have SDK for Lollipop and Java 8 Update 60 installed.
     
  8. spacepluk

    spacepluk

    Joined:
    Aug 26, 2015
    Posts:
    243
    It's working for me as well, it sounds like some kind of problem with adb? Or maybe you don't have space in your phone?