Search Unity

I Cannot install my .apk signed

Discussion in 'Android' started by mohammedaitouzilige, Mar 22, 2018.

  1. mohammedaitouzilige

    mohammedaitouzilige

    Joined:
    Mar 22, 2018
    Posts:
    3
    Hello
    i build a .apk unsigned and i can install on my device.
    but when i build a .apk signed , i cannot install on my device.
    And i have no error message of the build.
    i need help please
     
  2. JuliusM

    JuliusM

    Unity Technologies

    Joined:
    Apr 17, 2013
    Posts:
    835
    Did you uninstall the unsigned application before trying to install the signed version? In any case, there should be the error message. Have you checked the console inside of Unity editor?
     
    mohammedaitouzilige likes this.
  3. mohammedaitouzilige

    mohammedaitouzilige

    Joined:
    Mar 22, 2018
    Posts:
    3
    yes i did uninstall the unsigned application before trying to install the signed version.
    And i have no error in the console.
     
  4. JuliusM

    JuliusM

    Unity Technologies

    Joined:
    Apr 17, 2013
    Posts:
    835
    Sorry for a delayed reply. If you are still experiencing this issue, try to install your application from the command line. Maybe then you'll get an error message which will let you know what's wrong. You should use the adb tool which is in <Android SDK root>/platform-tools. Run the following command and see if you get any errors (change <Android SDK root> to the path where your android sdk is installed and <APK file> to the path of your apk file)
    Code (CSharp):
    1. <Android SDK root>/platform-tools/adb install -r <APK file>