我是 Android 世界的新手,我遇到了一个问题。我正在尝试在我的第一个练习中执行这段代码 http://developer.android.com/guide/topics/resources/drawable-resource.html#Shape我有错误但没有错误。我的意思是我有红色感叹号,但没有出现错误消息。 我不知道我做错了什么。有任何想法吗?将不胜感激任何帮助:)
最佳答案
answer通过 Youngjae 发送至 this question应该给你答案:
Don't worry, it's for the new Android Studio 1.4, it's appear becasuse there, normally, appear a little icon showing the image from Drawable but if you are using a drawable xml (not being an image), the IDE cannot show a little preview but, don't worry for that error because It's not an error
简而言之:这不是代码中的错误。它告诉您“Android Studio 无法显示给定可绘制对象的缩略图”。
关于android - Android Studio 中的形状和背景错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29244653/