Questions tagged [android-lvl]

Android licensing verification library

android-lvl stands for android license verification library, a system introduced by Google for developers to check if an application has been bought through the Android market. See more information here: Android Licensing

308 questions
46
votes
1 answer

How can I implement Google Play Licensing for an Android app?

I saw the stock Android-Developer licensing library instructions, but the overview seems to omit several key steps in the process and fails to fully explain how to get something working. Can someone provide an explicit set of operations that worked…
Code_Insanity
  • 2,648
  • 3
  • 17
  • 21
30
votes
5 answers

Lucky patcher, how can I protect from it?

I know this topic has been opened multiple times and I learnt a lot but I stumbled across a problem I really need advice on. I'm using LVL with Obfuscation. I changed the default LVL ALOT so that anti-LVL does not break it. However, Lucky Patcher…
Snake
  • 14,228
  • 27
  • 117
  • 250
27
votes
2 answers

Android LVL Signature Verification Failed

I am trying to implement the APK Expansion Downloader Library into my application, but I am struggling to get past the LVL verification check. Everytime I run up the application, I get a "Signature verification failed" message back from the…
Mimminito
  • 2,803
  • 3
  • 21
  • 27
25
votes
9 answers

Android "Not_Market_Managed" error

Working on trying out the market licensing service, and I'm running into a few problems with the sample application. When I first ran the sample, I got an error saying that the application was not licensed. I linked my account to the simulator in…
AndyD273
  • 7,177
  • 12
  • 54
  • 92
19
votes
1 answer

Android app licensing new and old - doubts

Just few weeks ago Google changed Android LVL API (License Verification Library). In old LVL license checking was based on license verification using public/private keys generated on per account base. New one suppose to use public/private keys per…
Barmaley
  • 16,638
  • 18
  • 73
  • 146
19
votes
4 answers

LicenseChecker checkAccess leaks ServiceConnection

I am receiving this exception in LogCat every time I press the Back button in my app: Activity has leaked ServiceConnection com.android.vending.licensing.LicenseChecker@471cc039 that was originally bound here The code responsible for this leak…
Bill The Ape
  • 3,261
  • 25
  • 44
19
votes
1 answer

Android licensing sample returns code 3. What does it mean?

I tried licensing sample. It said "application error=3". I found the sheet of licensing response codes at developer.android.com, but how does number 3 corresponds to the above list? What does that code mean?
nms
  • 577
  • 1
  • 10
  • 27
18
votes
5 answers

How to migrate from a paid android application to an application paid for with in-app billing?

I currently have two versions of my app in the Android market, a paid one and a free one. But I want to integrate in-app billing into my free application, and charge customers on a subscription base, for a lower price than the current price of the…
Jan-Henk
  • 4,864
  • 1
  • 24
  • 38
16
votes
5 answers

How do you deal with LicenseCheckerCallback.ERROR_NOT_MARKET_MANAGED error code?

Using com.android.vending.licensing you can check if your app is licensed or not. There is a callback, applicationError() that tells you if anything went wrong. Today I encountered error ERROR_NOT_MARKET_MANAGED and I can't figure out how I should…
l33t
  • 18,692
  • 16
  • 103
  • 180
15
votes
1 answer

Android: app licensing, copy protection

I have an apk file, that is non-free My questions is the following: 1, If Copy Protection is set to "true" on the market, the users can copy my apk file from the device or not? (rooted/non rooted) copy apk from device 2, If they can: what is the…
lacas
  • 13,928
  • 30
  • 109
  • 183
15
votes
1 answer

Unknown classes ILicensingService notes when obfuscating Android project

I'm trying to build an Android release with Ant and ProGuard. I uncommented the following line in project.properties, despite the comment in said file noting that you shouldn't modify it…
Roger Rapid
  • 956
  • 1
  • 8
  • 28
15
votes
1 answer

Would this Google LVL policy implementation be reasonably secure?

The default ServerManagedPolicy that Google provides in their License Verification Library relies on the server responses to determine the license revalidation interval. This results in requiring a revalidation every few days, in perpetuity. This is…
Ted Hopp
  • 232,168
  • 48
  • 399
  • 521
13
votes
3 answers

Protect android application from piracy

I am creating an application in Android. I want that once my application is installed on one device, user should not be able to copy the ".apk" and run it on other device. Please help me out. Thanks in advance. :)
iPhoneCoder
  • 237
  • 1
  • 3
  • 11
12
votes
7 answers

Allow users to download your own paid app for free in Android

I have a paid app in the Play Store (Profile Widget, in case anyone is wondering ;)) and I want to allow some users (friends, or people who do not have a credit card) to download it for free. Of course I could just send them the APK, but they…
luthier
  • 2,674
  • 4
  • 32
  • 35
12
votes
4 answers

Android App base 64 public key

How do I get (or view) an Android app base 64 public key? I have the license file, and I have published my app before. I need the key for licensing.
MontrealDevOne
  • 1,034
  • 3
  • 17
  • 30
1
2 3
20 21