简体   繁体   English

错误获取'android:name'属性:

[英]ERROR getting 'android:name' attribute:

Hey guys im getting this error when i try to upload to the android market. 嘿伙计们,当我尝试上传到Android市场时,我得到这个错误。 Ive read some othere articles and have found that it comes from the manifest file, but i havent been able to locate it. 我已经阅读了一些其他文章,并发现它来自清单文件,但我还没能找到它。 Anybody have any suggestions? 有人有什么建议吗?

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="h6ttp://schemas.android.com/apk/res/android"
    package="com.gymessentials.android"
    android:versionCode="7"
    android:versionName="1.6" >

    <uses-sdk android:minSdkVersion="10" />

    <uses-permission android:name="android.permission.INTERNET" />

    <application
        android:icon="@drawable/gymessentials"
        android:label="@string/app_name" >
        <activity
            android:name="com.gymessentials.android.WebViewActivity"
            android:theme="@android:style/Theme.NoTitleBar" />
        <activity
        android:name="com.gymessentials.android.WebViewActivity2"
        android:theme="@android:style/Theme.NoTitleBar" />
        <activity
            android:name="com.gymessentials.android.WebViewActivity3"
            android:theme="@android:style/Theme.NoTitleBar" />
        <activity
            android:name="com.gymessentials.android.WebViewActivity4"
            android:theme="@android:style/Theme.NoTitleBar" />
        <activity
        android:name="com.gymessentials.android.WebViewActivity5"
        android:theme="@android:style/Theme.NoTitleBar" />
        <activity
            android:name="com.gymessentials.android.WebViewActivity6"
            android:theme="@android:style/Theme.NoTitleBar" />
        <activity
            android:label="@string/app_name"
            android:name="com.gymessentials.android.MainActivity" >
            <intent-filter >
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>

Looks like you have a typo in the URL to the android namespace - in the manifest element at the very top of your file: 看起来你在android命名空间的URL中有一个拼写错误 - 在你文件最顶层的manifest元素中:

<manifest xmlns:android="h6ttp://schemas.android.com/apk/res/android"
...

Try taking out the "6". 尝试取出“6”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM