Android Question App incompatible with device

Discussion in 'Android Questions' started by carloz, Aug 3, 2015.

  1. carloz

    carloz Member Licensed User

    hello all,

    Facing a new issue... i have a app published on the appstore..below is the manifest
    The app has a service with StartatBoot=true

    Code:
    'This code will be applied to the manifest file during compilation.
    'You do not need to modify it in most cases.
    'See this link for for more information: http://www.basic4ppc.com/forum/showthread.php?p=78136
    AddManifestText(
    <uses-sdk android:minSdkVersion=
    "4" android:targetSdkVersion="14"/>
    <supports-screens android:largeScreens=
    "true"
        android:normalScreens=
    "true"
        android:smallScreens=
    "true"
        android:anyDensity=
    "true"/>)
    SetApplicationAttribute(android:icon, 
    "@drawable/icon")
    SetApplicationAttribute(android:
    label"$LABEL$")
    'End of default text.
    SetManifestAttribute("android:installLocation""auto")
    AddManifestText(<permission android:name=
    "$PACKAGE$.permission.C2D_MESSAGE" android:protectionLevel="signature" />)
    AddPermission($PACKAGE$.permission.C2D_MESSAGE)
    AddPermission(com.google.android.c2dm.permission.RECEIVE)
    ' Push Service Receiver Attribute
    SetReceiverAttribute(PushService, android:permission, "com.google.android.c2dm.permission.SEND")
    ' Service Receiver Text
    AddReceiverText(PushService,
    <
    intent-filter>
    <action android:name=
    "com.google.android.c2dm.intent.RECEIVE" />
    <category android:name=
    "$PACKAGE$" />
    </
    intent-filter>
    <
    intent-filter>
    <action android:name=
    "com.google.android.c2dm.intent.REGISTRATION" />
    <category android:name=
    "$PACKAGE$" />
    </
    intent-filter>)
    plz see attached image for permissions displayed on play store..
    Some customers get the "this app is incompatible with your device", for example..
    one customer has a lenovo A369i, Andrid OS 4.2.2, he still gets this error.

    Does anyone else face this issue? what should i be looking at?
    regards
    carloz
     

    Attached Files:

  2. Enrique Gonzalez R

    Enrique Gonzalez R Well-Known Member Licensed User

    why dont you compile it with
    android:targetSdkVersion="19" or
    android:targetSdkVersion="21"

    android 14 is ICS and 4.2.2 is level 17.
    may be it could solve the compatibility Issue.
     
    Peter Simpson likes this.
  3. carloz

    carloz Member Licensed User

    hi enrique,

    thnx for replying.
    will try that.. but funnily some other apps i have published with same settings do not show incompatible device..

    regards
    carloz
     
    Enrique Gonzalez R likes this.
  4. DonManfred

    DonManfred Expert Licensed User

    Peter Simpson likes this.
  5. carloz

    carloz Member Licensed User

    is using targetsdkversion compulsory? or necessary?
     
  6. Enrique Gonzalez R

    Enrique Gonzalez R Well-Known Member Licensed User

    As a user here in the forum said: "may be Mr Robot is having a bad day"
    Or.

    if you target your app to <= 14, you must have the most updated sdk of that target, google releases updates even if several years passed, if you dont have the most updated then Google implies that your sdk will not be compliant with newer devices.

    ... well something like that, i prefer the first answer to explain most of the issues with incompatibility.
     
  7. carloz

    carloz Member Licensed User

    ok.. thnx.. ill go with the first answer

    regards
    carloz
     
  8. DonManfred

    DonManfred Expert Licensed User

    !
    I suggest to always compile your app against the newest android version and be sure to test it on actual devices.
     
  9. carloz

    carloz Member Licensed User

    i do test on actual devices...the app works fine on the lenovo 369i even though google says incompatible...thats what completely stumped me !!
     
  10. carloz

    carloz Member Licensed User

    Well... Updated app on store ..changed manifest as per Enrique's instructions..but no luck..
    I still get the app incompatible with device

    Now what to try next?
    Regards
    Carloz
     
  11. Enrique Gonzalez R

    Enrique Gonzalez R Well-Known Member Licensed User

    the problem seems to be not the device version but the country as you can see in the attached screenshot.
     

    Attached Files:

  12. carloz

    carloz Member Licensed User

    the app is limited to india only... im getting incompatible device in india store :(
     
  13. Enrique Gonzalez R

    Enrique Gonzalez R Well-Known Member Licensed User

    if that is so, is not the android sdk the problems but the permissions.

    One posible solution is changing (example):

    Code:
    <uses-permission android:name="android.permission.VIBRATE"/>
    to:

    Code:
    <uses-feature android:name="android.hardware.vibrate" android:required="false"/>
    the one that makes me wonder is the Device id and Call information

    Hope it helps.
     
  14. carloz

    carloz Member Licensed User

    Thnx Enrique ..will try that now
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice