I'm trying to create my first instant application that was introduced in Google IO 2017. I downloaded the Google Instant Apps SDK and set it minSDKVersionto 23
I created the first project, and I encountered errors when trying to create it. Does anyone who also faces the same bugs for creating instant applications? Is this due to some error during the assembly process from them?
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
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
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
source
share