Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App not Ice Cream Sandwich compatible

I've developed an application for Android that cannot be download to Android ICS devices from the Market. Browsing the market with a 4.x device people see a "not compatible warning" and cannot proceed with the download. The app has a minSdkVersion setting of 7. It works well on 2.x and 3.x Android devices. I don't know what to do and how I can fix this. Do I need to setup anything special in order to be compatible with ICS? I cannot find any information on this subject.

Update: I just received confirmation that installing the APK by hand works on a 4.0 device. It just won't install through the market! Again, it shows as "not compatible for your device" in the market. Any ideas?

AndroidManifest.xml:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="nl.tmd.natuurijs" 
android:versionCode="7" android:versionName="1.1.3">

<uses-sdk android:minSdkVersion="7" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<application android:name=".NatuurijsApplication"
    android:icon="@drawable/icon" android:label="@string/app_name">

    <uses-library android:name="com.google.android.maps" android:required="false"/>

    <!-- Main Activity -->
    <activity android:name=".MainActivity" android:label="@string/app_name"
        android:theme="@style/NatuurijsTheme" android:launchMode="singleTask" android:screenOrientation="portrait">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:scheme="natuurijs" android:host="main" />
        </intent-filter>
    </activity>

    <!-- Map Activity -->
    <activity android:name=".NatuurijsMapActivity" android:label="@string/app_name"
        android:theme="@style/NatuurijsTheme" />

    <!-- Map Activity -->
    <activity android:name=".NatuurijsAddVenueActivity" android:label="@string/app_name"
        android:windowSoftInputMode="adjustPan" android:theme="@style/NatuurijsTheme">
    </activity>

    <!-- Locations list Activity -->
    <activity android:name=".NatuurijsLocationsActivity" android:label="@string/app_name"
        android:theme="@style/NatuurijsTheme">
    </activity>

    <!-- Location details Activity -->
    <activity android:name=".NatuurijsLocationDetailsActivity" android:label="@string/app_name"
        android:theme="@style/NatuurijsTheme">
    </activity>

    <!-- Select a location by hand -->
    <activity android:name=".SelectLocationActivity" android:label="@string/app_name"
        android:theme="@style/NatuurijsTheme">
    </activity>

    <!-- Info Activity-->
    <activity android:name=".InfoActivity" android:label="@string/app_name"
        android:theme="@style/NatuurijsTheme">
    </activity>

</application>
</manifest>

Could it be the theme? the theme is not anything special. It simply inherits from Theme.Black.NoTitleBar

<style name="NatuurijsTheme" parent="android:Theme.Black.NoTitleBar"></style>
like image 601
Jeroen Peeters Avatar asked Feb 04 '12 19:02

Jeroen Peeters


People also ask

Is Android Ice Cream Sandwich still supported?

Google is ending Play Service support for Android 4.0 Ice Cream Sandwich.

What version is Android Ice Cream Sandwich?

Android 4.0 Ice Cream Sandwich (ICS) is a version of Google's mobile operating system.


2 Answers

Is your app copy-protected under "publishing options" in the play store publish section? Source: My Android App shows as "this item is not compatible with your device"

like image 196
Daniele Avatar answered Sep 28 '22 04:09

Daniele


I was getting similar complaints from my app. One thing I noticed with my app was that I was using a Tab Activity which is now deprecated in Android 4.0+. (Phones without a hard menu key will not be able to use an Options Menu if you use a TabActivity/TabHost which is a problem.) I replaced my tabs with normal buttons for app navigation and I believe this might have fixed my ICS compatibility issues.

Also, I tried updating my manifest android:minSdkVersion and ADDED android:targetSdkVersion , but I'm not sure if those actually fixed anything.

Note: If you need help finding your deprecated code, try telling Eclipse to show deprecated functionality as an error by changing the project properties.


EDIT:

More information: Apparently I still have some issues with ICS compatibility so the above is not the only thing I need to fix. Still not sure what else I can do. One thing I found in my research is that apparently people with custom ROMS sometimes have "incorrect XML values" which makes the Google Play store say that they aren't compatible. Perhaps downloading through the web version of Google Play and asking users to install remotely from there might solve our problems.

EDIT 2:

Your app should no longer use the copy-protection under "Publishing Options" in the Google Play Store publish section.

like image 35
you786 Avatar answered Sep 28 '22 04:09

you786