In-App Update gives InstallException (ERROR_API_NOT_AVAILABLE)

前端 未结 7 888
野性不改
野性不改 2021-02-01 23:04

Implemented in-app update feature, using the following code snippet:

private void showInAppUpdateDialog(boolean isMandat         


        
7条回答
  •  旧时难觅i
    2021-02-01 23:42

    After long time of debugging. I found, this is because of we are testing the app directly in mobile. Even though we generate and use signed apk, this error will occur. The only way to get rid of this error is, we need to download the app from google play.

    We can use Internal app sharing to test or simply publish our app.

提交回复
热议问题