Is there any way around this? If I compile a standard build, everything works as it should. However, when i compile an Obfuscated release it will throw a java exception stating bad base 64 for the license key.
java.lang.IllegalArgumentException:
com.android.vending.licensing.util.Base64DecoderException: Bad Base64 input character at 1: -65(decimal)
Not sure what you mean by add a log. I have it logging the license check and even while plugged in for debugging it still will not show me the logs, filtered or not. Previous versions of B4A I had no issues viewing the logs.
B4X:
Sub Activity_Create(FirstTime As Boolean)
lc.Initialize("lc", ph.GetDeviceId, publicKey, "etc".GetBytes("UTF8"))
lc.SetVariableAndValue("lca_1", "Value")
lc.CheckAccess
Note that you can check the logs from the IDE, it is simpler.
For obfuscation to work properly the version code attribute must match the value in the manifest file. Have you checked "Do not overwrite manifest file" option?
Note that you can check the logs from the IDE, it is simpler.
For obfuscation to work properly the version code attribute must match the value in the manifest file. Have you checked "Do not overwrite manifest file" option?
Wow, I cannot believe it was right in front of my face the entire time and I did not even see it LOL. I changed the manifest around using the editor, made it pull values from the scripting in the app. and ofuscation worked for the license. wow. Thanks again Erel
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.