2013-05-13 85 views
2

我试图通过我的语言创建应用程序名称,但我从android清单中得到错误 标记属性包具有无效字符' '。Android清单错误

<?xml version="1.0" encoding="utf-8"?> 
<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
    package="com.example.chơi" 
    android:versionCode="1" 
    android:versionName="1.0" > 

有没有人可以帮助我解决这个问题,我试过Google,但没有显示任何积极的结果。

+1

使用普通英文字符作为应用程序名称。 – bakriOnFire 2013-05-13 10:52:31

回答

1

Don't在包名中使用任何special character。在manifest中只使用简单的英文字符。

0

在你的包名中,你有这个词:“chơi”也许印度字母字符!

您可以将“ơ”更改为“o”。

或尝试用Unicode字符来代替它:\ u01A1

0

变化清单这样

<?xml version="1.0" encoding="utf-8"?> 
<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
package="com.example.choi" 
android:versionCode="1" 
android:versionName="1.0" > 

变化从你的包名特殊字符,并给予Ø

之后运行..它将成功编译