FernandoPaiva
FernandoPaiva

Reputation: 4460

Trying open a project made with Android Studio?

I created a project with Android Studio on Linux, works fine. Now, I'm trying open this project on Windows but when I try open throws an exception.

How could I solve it ?

Exception

Error:Execution failed for task ':app:processDebugResources'.
    > com.android.ide.common.internal.LoggedErrorException: Failed to run command:
        C:\desenvolvimento\SDK\sdk\build-tools\21.0.0\aapt.exe package -f --no-crunch -I C:\desenvolvimento\SDK\sdk\platforms\android-21\android.jar -M C:\Users\fernando\AndroidstudioProjects\GuiaStore\app\build\intermediates\manifests\full\debug\AndroidManifest.xml -S C:\Users\fernando\AndroidstudioProjects\GuiaStore\app\build\intermediates\res\debug -A C:\Users\fernando\AndroidstudioProjects\GuiaStore\app\build\intermediates\assets\debug -m -J C:\Users\fernando\AndroidstudioProjects\GuiaStore\app\build\generated\source\r\debug -F C:\Users\fernando\AndroidstudioProjects\GuiaStore\app\build\intermediates\res\resources-debug.ap_ --debug-mode --custom-package br.com.williarts.guiastore -0 apk --output-text-symbols C:\Users\fernando\AndroidstudioProjects\GuiaStore\app\build\intermediates\symbols\debug
    Error Code:
        -1073741819

Upvotes: 0

Views: 50

Answers (1)

Leandro Carracedo
Leandro Carracedo

Reputation: 7345

From my own experience: working with an existence project in Android Studio on Windows using build tools "21.0.0", it results on the published error.

Changing the build tools to "21.0.2" fixed the issue.

Upvotes: 1

Related Questions