繁体   English   中英

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

[英]Android Studio - Unable to run application on virtual device

我是android studio和java的新手。 您能给我一些建议来解决这些错误吗? 由于正在使用的教程,我使用的是较旧的android studio,此人拥有此版本,因此为了使其尽可能简单,我尝试使用同一版本(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

虚拟装置

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

更新Android Studio可以解决此问题,并且在遵循旧版android studio的教程时也不会出现任何错误。

感谢您的所有帮助。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM