Now, May 2013, I always get LVL response NOT_MARKET_MANAGED from my example 
application which worked fine in June, 2011.

In summary, Now you have to additionally:
1. Declare your test app to Google Play (to get its key). 
2. Build a release version containing that key. 
3. Upload (but don't publish) a release version.
Therefore, my original title should change to "HowTo get the LVL example to 
work (note: you do have to upload)"

Cause: Between 2011 and 2013 the Google-generated BASE_64 key changed from 
account specific to application specific. (I missed the bulletin about the 
change, but the current requirement is clearly documented multiple times at 
http://developer.android.com/google/play/licensing/index.html. However, I 
don't understand why "Table 1." on the subpage 
.../licensing/setting-up.html still says "Can the Publisher account check 
license before upload? YES.")

SOLUTION, modify Steps 3. 4. 5. and 6. above as follows:
In Steps 3. and 4. Change "example" in package name and path to something 
else. apk.-s containing "example" and perhaps other such words may not 
upload to a Google Play Console.

Replace old Step 5. with: Add LVLsample with whatever new title you like to 
your Google Play Console. Once you get the "Store listing" page, goto 
"Services and API's" page for your public key. (LVL uses an asymmetric key 
encryption scheme, keeping the private keys to itself.) This new app and 
its key is only for LVLsample testing. Your real application requires 
another "Add new application" with its own new key. That is, from now on 
your Console will have an unpublished LVLsample hanging around--useful for 
continued testing during later development.

Old 6. becomes 6(a).

6(b) Build a draft Release version of the LVLsample (a "-debug.apk" won't 
upload) containing its key and upload it to Google Play. Wait long enough 
(a few hours?) for Google to digest your upload.

Also:    Be sure "airplane mode" under "Networks" is off.

With these changes I get all eight test responses as before. The request on 
my original post stands, "Please offer simplifications, corrections, 
comments."
Hal Harrison.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to