Android 安卓瓷砖背景“;无法分析文件";

Android 安卓瓷砖背景“;无法分析文件";,android,parsing,background,tile,Android,Parsing,Background,Tile,我使用了以下代码: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center" android:background="@drawable/backrepeat" android:gravity

我使用了以下代码:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:background="@drawable/backrepeat"
android:gravity="center"
android:orientation="vertical" >

我做错了什么?我正在使用Android 2.3.3库。

您需要一个名为mainmenu\u的可绘制背景。这可以是一个图像(/res/drawable/mainmenu_background.png)、一个九块补丁图像(/res/drawable/mainmenu_background.9.png)或在XML(/res/drawable/mainmenu_background.XML)中定义。文件名不得包含大写字母或任何特殊字符,下划线(\除外)

更多的堆栈跟踪将有助于识别问题。我已经有了这些文件,但我找到了解决问题的方法。我刚刚将“android sdk\platform tools”中的文件复制到“android sdk\tools”文件夹中,并将其修复。
<?xml version="1.0" encoding="utf-8"?>

<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/mainmenu_background" 
android:tileMode="repeat" />
Failed to parse file [...]res\drawable\backrepeat.xml