Cha*_*har 5 android android-image android-drawable android-background
即使我没有选择photothumb.db作为可绘制对象,但我还是收到一条错误消息,说photothumb.db应该以.xml或.png结尾
我的profilesmaller图片是类型png
以下是我的代码
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/profilesmaller"
tools:context="charlenebuena.guest.HomeFragment">
</FrameLayout>
Run Code Online (Sandbox Code Playgroud)
以下是我的Gradle控制台消息
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> C:\Users\Charlene Marie\AndroidStudioProjects\Guest\app\src\main\res\drawable\photothumb.db: Error: The file name must end with .xml or .png
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 2.72 secs
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
17345 次 |
| 最近记录: |