Aplicativos instantâneos - Erro: org.gradle.process.internal.ExecException: processo 'command' concluído com valor de saída diferente de zero 1
Estou tentando criar meu primeiro aplicativo instantâneo que foi introduzido no Google IO 2017. Eu baixei o SDK do Google Instant Apps e segmenteminSDKVersion
para 23
Criei um primeiro projeto e estou enfrentando os erros abaixo ao tentar construí-lo. Existe alguém que também enfrenta os mesmos erros ao criar aplicativos instantâneos? Isso é devido a algum bug no processo de construção deles?
Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :base:generateDebugSources, :base:generateDebugAndroidTestSources, :base:mockableAndroidJar, :feature:generateDebugSources, :feature:mockableAndroidJar, :feature:generateDebugAndroidTestSources, :instantapp:generateDebugSources]
Error:java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Error while executing process C:\Users\williams\AppData\Local\Android\Sdk\build-tools\25.0.2\aapt2.exe with arguments {link -I C:\Users\williams\AppData\Local\Android\Sdk\platforms\android-25\android.jar --manifest C:\Users\williams\AndroidStudioProjects\InstantAppDemo\base\build\intermediates\manifest\androidTest\debug\AndroidManifest.xml -R @C:\Users\williams\AndroidStudioProjects\InstantAppDemo\base\build\intermediates\incremental\processDebugAndroidTestResources\aapt-temp\aapt-resources-list.txt --auto-add-overlay --java C:\Users\williams\AndroidStudioProjects\InstantAppDemo\base\build\generated\source\r\androidTest\debug -o C:\Users\williams\AndroidStudioProjects\InstantAppDemo\base\build\intermediates\res\androidTest\debug\resources-debugAndroidTest.ap_ -0 apk --output-text-symbols C:\Users\williams\AndroidStudioProjects\InstantAppDemo\base\build\intermediates\symbols\androidTest\debug\R.txt --no-version-vectors}
Error:com.android.ide.common.process.ProcessException: Error while executing process C:\Users\williams\AppData\Local\Android\Sdk\build-tools\25.0.2\aapt2.exe with arguments {link -I C:\Users\williams\AppData\Local\Android\Sdk\platforms\android-25\android.jar --manifest C:\Users\williams\AndroidStudioProjects\InstantAppDemo\base\build\intermediates\manifest\androidTest\debug\AndroidManifest.xml -R @C:\Users\williams\AndroidStudioProjects\InstantAppDemo\base\build\intermediates\incremental\processDebugAndroidTestResources\aapt-temp\aapt-resources-list.txt --auto-add-overlay --java C:\Users\williams\AndroidStudioProjects\InstantAppDemo\base\build\generated\source\r\androidTest\debug -o C:\Users\williams\AndroidStudioProjects\InstantAppDemo\base\build\intermediates\res\androidTest\debug\resources-debugAndroidTest.ap_ -0 apk --output-text-symbols C:\Users\williams\AndroidStudioProjects\InstantAppDemo\base\build\intermediates\symbols\androidTest\debug\R.txt --no-version-vectors}
Error:org.gradle.process.internal.ExecException: Process 'command 'C:\Users\williams\AppData\Local\Android\Sdk\build-tools\25.0.2\aapt2.exe'' finished with non-zero exit value 1
Error:Execution failed for task ':base:processDebugAndroidTestResources'.
> Failed to execute aapt
Information:BUILD FAILED in 3s
Information:4 errors
Information:0 warnings
Information:See complete output in console