Android Question Uploading new APK to Playstore - Signing error

GMan

Well-Known Member
Licensed User
Longtime User
I tried some hours and some TUTs to get a new apk uploaded to the playstore.
But the error message is always the same:
---
302/5000

Upload failed
You have uploaded an APK that is signed with a key that is also used to sign APKs that are delivered to the user. Since you are registered for App Signature Key, you must sign the APK with a new key before uploading it.
---

Here is what i have:
B4X:
    Dim publicKey As String
    publicKey = "myAppKeyFromPlaystore"
    Dim test_1 As String

In Activity_Create i am using this:

B4X:
    Dim lc As LicenseChecker
    Dim p As PhoneId
    lc.Initialize("lc", p.GetDeviceId, publicKey, "ztfhbbnc".GetBytes("UTF8"))
    lc.SetVariableAndValue("test1", "some secret value")
    lc.CheckAccess

What am I missing or where I am wrong ?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Top