Is it possible to debug locally Google Play's in-app billing in Android Studio?

后端 未结 5 942
悲&欢浪女
悲&欢浪女 2020-12-02 15:33

I am getting this error testing in-app subscription products locally.

authentication is required. you need to sign in to your google account

5条回答
  •  鱼传尺愫
    2020-12-02 16:26

    The following worked for me launching from my IDE (Android Studio)

    1) Go to your https://play.google.com/apps/publish/ Under 'Developer' Account/Settings/Account details/License Testing

    2) Add the 'Default Google Play' email address that corresponds with the device you are testing

    Source: https://engineering.memrise.com/faster-in-app-billing-subscriptions-testing-8e68551b4e2f

提交回复
热议问题