Android License Test Response - Never works

房东的猫 提交于 2019-12-05 05:35:30

I've spent hours and even days with the same problem, it is documented here and elsewhere, that pre-published license test is hit and miss, and more miss than hit from what I discovered.

The only way I've found to make it work "more reliably" (but still not totally reliable) is to have a hardware device that is a reset to factory defaults, then set it's PRIMARY google user as the same one as your dev account that has the app uploaded to test with.

The special AVDs are also not very reliable.

I had the same issue but was able to resolve it. Here are the things I did to fix: 1) on my device, I removed all google accounts except the test account I had configured for. Apparently, play store was still trying to use a non testing account.

2) I had to activate test status for my developer account even though I'm the main developer and only tester.

the version increment thing did not help and honestly was a distraction.....

I have the same problem when testing using LVL library. I always get the 561 (0x231 NOT_LICENSED) response no matter what I set the License Test Response to in the settings page.

My paid app users don't seem to complain so I'm assuming LVL is working for them.

At first one of my apps had this problem and it went away after 1 day (published Dec 30 2012), now I get valid test response in that app.

However, I still get the 561 (0x231 NOT_LICENSED) response for a newer app (published Jan 31 2013)

So now I just comment out (disable the alert dialog code that pops up for 561) after I publish the APK and continue my development for the next release.

I un-comment (enable the alert dialog code) before I publish again!

I contacted Google Play, they referred me to their developer forums. I posted the same question there but then I can't find my post.

Good to know that I'm not the only one facing this problem.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!