Supported devices 0 on Google play

前端 未结 5 902
别跟我提以往
别跟我提以往 2020-12-18 04:05

I know similar question is posted here. I uploaded an app to Google Play Store but it is incompatible with all the devices. The app is actually a SignalR based chat applicat

5条回答
  •  忘掉有多难
    2020-12-18 04:43

    I had faced same situation last week.

    And I found the main problem is the "signalr-client-sdk.jar" was packed not correct for android.

    folder inside the "signalr-client-sdk.jar"

    signalr-client-sdk.jar
    |
    |-lib
    |  |
    |  |-getLibs.ps1
    |  |-getLibs.sh
    |  |-gson-2.2.2.jar
    

    These three file will be pack into apk "lib" folder. It will work fine when your app with armeabi,x86,x86_64 native supprot library(*.so), but wrong with none. And make google developer console web to filter qualifier support device wrong.

    put this code to fix the problem

    packagingOptions {
      exclude 'lib/getLibs.ps1'
      exclude 'lib/getLibs.sh'
      exclude 'lib/gson-2.2.2.jar'
    }
    

    Hope this helps

提交回复
热议问题