Android的工作室空白活动会抛出错误 [英] Android studio blank activity throws error
问题描述
我在这个机器人发展的领域很新。我只是想运行在 Hello World程序在默认情况下在Android的工作室给出下空白活动启动。我没有做什么与code或任何元素。但它引发的以下错误。我该怎么办?请人帮我。 它抛出这样的:
I'm very much new in this android developing field. I just wanted to run the hello world program that is given by default in android studio as a startup under blank activity. I have done nothing with the code or any elements. But it throws following errors. What should I do? Please anyone help me. It throws something like this:
错误检索父项:没有资源的发现,匹配给定的name'android:TextAppearence.Materials.Widget.Button.Inverse
Error retrieving parent for item: No resource found that match the given name'android:TextAppearence.Materials.Widget.Button.Inverse'
和更2的错误像这样
推荐答案
在你build.gradle文件,在更新下列值Android的:
In your build.gradle file, update the following values under "android":
compileSdkVersion 23
buildToolsVersion '23.0.0'
另外,还要确保你已经下载了Android的中号库(V23)。您可以通过通过在Android Studio工具栏中的SDK管理器中查看这一点。
Also, ensure that you have Android M Libraries (v23) downloaded. You can check this by going through the SDK Manager in the Android Studio toolbar.
这篇关于Android的工作室空白活动会抛出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!