Android Studio - 无法在虚拟设备上运行应用程序

时间:2017-08-01 21:14:02

标签: java android device virtual

我是android studio和java的全新手。 你能给我一些如何解决这些错误的建议吗?我正在使用较旧的android工作室因为我正在关注的教程,这个人有这个版本所以保持它尽可能简单,我试图保持相同的版本(1.0.0)

编辑:我无法发布图片,因此我只会在此处粘贴错误代码行。

摇篮

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

我的配置:

编译Sdk版本:API 21:Android 5.0(Lollipop)
构建工具版本:21.1.2

虚拟设备

我无法创建虚拟设备,因为由于提到的错误,我无法进入“创建”屏幕。

1 个答案:

答案 0 :(得分:0)

更新Android工作室修复了问题,并且在遵循旧版本android studio的教程时没有出现任何错误。

感谢您的帮助。