I have already wasted days with what seams to be an error in the Google license verification framework.
I am testing the Google market License Verification Library. I have thus far: - created a library and test project from the provided library and sample sources with no changes (except public key and other obvious things). - created a publisher account on market - I have not uploaded the application to the market - installed the sample application to a device - In the developer console added test accounts - I have set various test responses in the developer console
My problem is that I always get a NOT_MARKET_MANAGED response - regardless of settings in the developer console test response. The docs state that I have to be signed in a device with a publisher account. It does not say what does this mean specifically. I have added a publisher account to the accounts in the device but this does not help. Since the License Library depends on Market application I have changed the account in Marker application. No effect either. I have googled around and found something in the line "… that I have to be signed in with publisher account as primary account…". What exactly is primary account remains vague. Some sources state that a factory reset is needed for a primary account sign in. I have not tried that but I think you loose whatever you made on the device, installs, messages, contacts and such. This is impossibly impractical. My question is: How does one test the application against various responses?