簡體   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