views:

197

answers:

1

Hi, i m uploading my apk for 1st time on market and getting Error:The server could not process your apk. Try . My manifest file is:-

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="packagename" android:versionCode="1" android:versionName="1.0">

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

    <application android:icon="@drawable/iccicon"    
        android:label="@string/app_name" android:debuggable="false">

        <activity android:name=".Activity1" android:label="@string/app_name">

            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>

        </activity>

        <activity android:name=".Activity2" android:label="@string/app_name"
            android:windowSoftInputMode="adjustPan" android:configChanges="keyboardHidden|orientation">
    </activity>

    </application>
    <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4" />
    <uses-configuration android:reqHardKeyboard="true"
        android:reqKeyboardType="qwerty">
    </uses-configuration>
</manifest> 

Please help. Thanks.

A: 

Have you signed the apk?

Jim Blackler
yes i have done that.
Farha Ansari
OK try specifying something different from package="packagename" This should be the package name of your app. In my case my apps are packaged under net.jimblackler.nameofapp where nameofapp is the name of the app, e.g. 'quickcalendar'.
Jim Blackler
I did not mention it deliberately here. Ofcourse in the actual manifest, it has my app's real package name
Farha Ansari
I finally removed the <uses-configuartion> tag and the market accepted it. Did anyone experience the same issue?Does anyone know the reason for this?
Farha Ansari