Search Unity

CommandInvokationFailure Encountered When Signing App for Android

Discussion in 'Vuforia' started by EKraemer, Nov 6, 2017.

  1. EKraemer

    EKraemer

    Joined:
    Feb 1, 2017
    Posts:
    3
    Hello, all! My company is trying to publish our AR app, and I am currently running into an issue with this. I have tried every solution I can find/comprehend from the answer hub and here, but none have worked. I figured checking here may be helpful, seeing as the other posts didn't seem to use the Vuforia integration.

    I've been getting a variety of errors, but the most persistent seems to be the "CommandInvokationFailure: Gradle build failed". I'm currently using 2017.2.0f3. I've been having issues navigating everyone's answer of "downgrade to JDK 6", which just gives another error.

    Is there anyone who has some idea of what I might be doing wrong?
     
  2. Vuforia-Strasza

    Vuforia-Strasza

    Official Vuforia Employee Vuforia

    Joined:
    Jun 13, 2017
    Posts:
    548
    Issues related to this are often resolved by installing the Android build support that is provided with a Unity install or by going into Unity's Preferences -> External Tools and downloading the Android SDK and the JDK from the buttons within this menu.
     
    EKraemer likes this.
  3. EKraemer

    EKraemer

    Joined:
    Feb 1, 2017
    Posts:
    3
    That worked! I had to install Java 8 instead of 9 or 7. Thanks so much!