我目前正在 android studio 中处理一个项目,作为我项目的一部分,我需要清理它。我遵循了正确的步骤,但现在我的作业无法加载。
我不断收到这些错误,但我不知道它们是什么意思。请帮忙!
最佳答案
尝试将您的 ImageView 定义更改为:
<ImageView
android:src="@drawable/sundae"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
android:id="@+id/imageView" />
我不相信标签“layout_centerCrop”存在。
关于Android-studio 项目运行失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38317744/