Dear Trevor,
Thank you for your response.

Out of the three apps, I have yet to publish one app and the other two
are published under the same google account. The failing app is one of
the published apps. Interesting though, and this may be nothing, the
failing app appears as "update available" in the download section of
the Android market when I am logged in using my publish account, but
the other app I have published doesn't. Should an app be in this state
for the same account that is used to publish the app? Also I am able
to rate the app and leave a comment (I have found this a useful method
for replying to customers comments!). If I try to update the app, it
will bring me on to the Google checkout page, where "Buy Now" fails
with a server error. There must be something wrong with the app in the
market if the publisher is able to rate it and  leave comments, I
certainly can't do this with my second published app!

Some further info:

I'm testing all three apps under the same google account on the same
phone.

I had added another class to the licensing library that contants my
own SALT and public key, this means that I don't have to store
individual copies of the key in my apps. (Note, this is the only
change to the license library I have made).
Just in case my failing app wasn't pulling in the key correctly; I've
tested copying the public key into the app, it's now a static member
of the activity where the licensing is checked. It still fails however
with the same error.

If it makes a difference, I can get the licensing to reply as expected
if I set the test response to one of the errors.
Also, I've also tested changing the response to either NOT_LICENSES
and LICENSED_OLD_KEY and I can see via debug, the responseCode (see
line 94 of LicenseValidator.java) is as expected, but I get the same
"Signature verification failed" response.

Cheers,
Donal




On Aug 5, 9:51 am, Trevor Johns <[email protected]> wrote:
> Hi Donal,
> If you're getting that error, it meas that the RSA public key you're passing
> into LicenseChecker isn't correct.
>
> It's a little odd that it would be working in some of your applications but
> not others, but that's what that error means. You might want to make sure
> that all three applications are published using the same developer account.
>
> --
> Trevor Johns
> Google Developer Programs, Androidhttp://developer.android.com
>
>
>
> On Wed, Aug 4, 2010 at 7:30 AM, Don <[email protected]> wrote:
> > Hi All,
> > I'm having a problem with the LVL in one of my apps.
>
> > Here are the projects in my eclipse workspace:
>
> > com_android_vending_licensing - standard LVL
> > my_app_1
> > my_app_2
> > my_app_3
>
> > All three of the apps use the same licensing library project
> > (including the same SALT), and share the same code in their main
> > activities for checking the license. But when testing, one of the apps
> > continuously fails the license request and the others respond
> > correctly depending on what test response I set in the market "Edit
> > Profile" page.
>
> > The error I get in logcat is:
>
> > 08-04 15:20:20.863: ERROR/LicenseValidator(4883): Signature
> > verification failed.
>
> > And the dontAllow() function of the LicenseCheckerCallback is run.
>
> > This error message originates from line 104 of LicenseValidator.java
> > in the licensing library. I've done some debugging and the
> > responseCode is set to LICENSED (see line 94 of
> > LicenseValidator.java).
>
> > Some help would be very much appreciated.
>
> > I'm testing the apps on a motorola milestone.
>
> > Cheers,
> > Donal
>
> > --
> > 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]<android-developers%2Bunsubs 
> > [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 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

Reply via email to