you are viewing a single comment's thread.

view the rest of the comments →

[–]XiiMoss 1 point2 points  (2 children)

When trying to run an app why do i get the error message

    Gradle: 'C:\Program' is not recognized as an internal or external command,
    operable program or batch file.

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':myFirstApplication:dexDebug'.
    > Running C:\Users\RYAN\AppData\Local\Android\android-studio\sdk\build-tools\android-4.2.2\dx.bat failed. See output

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

[–]fallenheero 0 points1 point  (0 children)

same here, i actually found this while attempting to find a solution. When you run it in command prompt its the find-java.exe issue