javaandroiddevicevirtual

Android Studio - Unable to run application on virtual device


How to fix these errors? I am using older android studio because of the tutorials I am following, the guy has this version so to keep it as simple as it can get, I am trying to stay on the same version (1.0.0)

Gradle

Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
Error:Execution failed for task ':app:processDebugResources'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command C:\Users\sh4rp_000\AppData\Local\Android\sdk1\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 1

My configuration:

Compile Sdk Version: API 21: Android 5.0 (Lollipop)
Build tools version: 21.1.2

Virtual device

I was unable to create the virtual device, because I was unable to proceed to the "creation" screen, due to mentioned errors.


Solution

  • Updating Android studio fixed the problem and didn't bring up any errors while following tutorial of older version android studio.