Error when creating Android standalone | DESPERATION!
    panagiotis merakos 
    merakosp at gmail.com
       
    Wed Oct 15 03:56:36 EDT 2025
    
    
  
Hello Klaus,
Have you reached the point where it asks you for your alias and keystore
passwords? Or is the error thrown before reaching this point?
Here is what you can do that _might_ provide some more information.
Open the message box and type:
put true into gRevDevelopment
This will cause any breakpoints in the IDE stacks to be respected. Now time
to add a breakpoint and see what happens line by line and where it fails.
Type in the message box:
edit the script of stack "revSaveAsAndroidStandalone"
This will open the script editor at the script of this stack. Now scroll
down to line 1389 and add a breakpoint at the beginning of this block:
if the result begins with "jarsigner error" then
    throw "signing failed -" && word 4 to -1 of the result
else if the result begins with "jarsigner: Certificate chain not found" then
    throw "signing failed -" && word 2 to -1 of the result
else if (the result begins with "jarsigner: key associated with") and (line
1 of the result ends with "not a private key") then
    throw "signing failed - key password was incorrect or" && word 2 to -1
of the result
end if
Now build an Android standalone - this breakpoint should be hit. If not,
try putting the breakpoint sooner in the handler. Once the breakpoint is
hit, step over line by line to see where it fails, and what is the value of
the various variables at this point.
Also, may I ask why your deadline is the 1st of November? If the issue is
the 16KB page size requirement, note that your app will NOT be removed if
you don't meet it. What this deadline means is that any new app or app
update that is submitted *after* the 1st of November must meet this
requirement. However, we will release a new version that supports this on
tsNet and PDF widget (since only these 2 components are affected now)
before the deadline anyway.
Hope this helps
Panos
--
On Wed, 15 Oct 2025 at 10:34, Klaus major-k via use-livecode <
use-livecode at lists.runrev.com> wrote:
> Hi Panos,
>
> > Am 15.10.2025 um 08:05 schrieb panagiotis merakos via use-livecode <
> use-livecode at lists.runrev.com>:
> >
> > Hello Klaus,
> >
> > Nope, I do not think you need to recreate your self-signed certificate -
> > the version of the Build-Tools that are installed when the certificate is
> > created does not affect the certificate.
>
> OK, I guessed, just grasping at straws...
>
> > Did you follow this lesson to create the key, specifically the section
> > about using Android Studio?
> >
> https://lessons.livecode.com/m/4069/l/32674-how-do-i-create-a-self-signed-certificate-for-an-android-app
> > Did you add the extension ".keystore"  to the filename of the
> certificate you created?
>
> Yes and yes -> android_upload.keystore
>
> Problem is, the SAME keystore file worked on Matthias machine (and
> probably others)
> without any problem, but not on mine, so there must be something in my
> setup that
> is causing this error.
>
> Unfortunately LC does not give furhter infos about this error/problem.
> What can I do?
> Can I "hook" somewhere into the creation process to get better info?
>
> > Kind regards,
> > Panos
> > --
> >
> > On Tue, 14 Oct 2025 at 20:47, Klaus major-k via use-livecode <
> > use-livecode at lists.runrev.com> wrote:
> >
> >> Hi Panos
> >>
> >>> Am 14.10.2025 um 19:43 schrieb Klaus major-k <klaus at major-k.de>:
> >>>
> >>> Hi Panos,
> >>>
> >>> thank you, I had SDK Tool 34 installed?
> >>>
> >>> Removed it and installed 31 (and the obsolete 26, too)
> >>> It now get to the signing, but there I get this error (again,
> >>> get the same error with my last key?)
> >>> -----------------------------------------
> >>> There was an error while saving the standalone application
> >>> signing failed - keystore load: Invalid keystore format
> >>> -----------------------------------------
> >>> Same as with my last selfsigned keystore!?
> >>> What on earth is going on with my setup?
>
> Best
>
> Klaus
>
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> klaus at major-k.de
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
    
    
More information about the use-livecode
mailing list