Error with Android Studio 3.0 Build in Windows 10

1

how are you? I downloaded the Android Studio 3 but I can not get it to work for me. I create a new project in white, and as soon as the first automatic Build does, it throws me some errors. I already tried to restart it and reinstall it but it still does not work.

  

* Information: Grade tasks [: app: generateDebugSources,: app: generateDebugAndroidTestSources,: app: mockableAndroidJar]   C: \ Users \ Cam \ AndroidStudioProjects \ MyApplication2 \ app \ build \ intermediates \ incremental \ mergeDebugResources \ merged.dir \ values \ values.xml   Error: error: failed to open file: Invalid data. (13)   Error: java.util.concurrent.ExecutionException:   com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for   details Error: Failed to capture snapshot of output files for task   'mergeDebugResources' property 'incrementalFolder' during up-to-date   check.

     

Failed to create MD5 hash for file   'C: \ Users \ Cam \ AndroidStudioProjects \ MyApplication2 \ app \ build \ intermediates \ incremental \ mergeDebugResources \ merged.dir \ values \ values.xml'. *

    
asked by Camilo 28.12.2017 в 21:46
source

1 answer

-2

When updating your Android Studio, you must invalidate the cache so that it works correctly:

go to File > Invalidate Caches/Restart

    
answered by 28.12.2017 в 23:02