Android Studio top level exception in libGDX project

I have a fresh libGDX project that gives the above error message when trying to build it.

Error:Execution failed for task ':android:dexDebug'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
    D:\SDK_2015\build-tools\21.1.2\dx.bat --dex --no-optimize --output C:\Users\Ákos\Downloads\physics\android\build\intermediates\dex\debug --input-list=C:\Users\Ákos\Downloads\physics\android\build\intermediates\tmp\dex\debug\inputList.txt
Error Code:
    1
Output:
    UNEXPECTED TOP-LEVEL EXCEPTION:
    java.lang.RuntimeException: C:\Users\Ă?kos\Downloads\physics\android\build\intermediates\classes\debug: file not found

      

Strange, I've never seen anything like it. What could be causing this? I am using the most recent version 1.2 of Android Studio.

+3


source to share


1 answer


May suggest you try a few things:

  • C:\Users\Ákos\Downloads...

    This symbol is on the way Á

    , possibly not recognized IDE

    . Also on the second path

    . Try to avoid any ASCII characters .

  • C:\Users\Ă?kos\Downloads\physics\android\build\intermediates\classes\

    Delete the folder on the way classes

    . Then clean

    and rebuild

    execute the project.



But, in my opinion, both experience and, as others say, it is because of the symbols.

+4


source







All Articles