Android Question B4A V5.01 Compiling without signing

Discussion in 'Android Questions' started by iz2bkt, Jun 13, 2015.

  1. iz2bkt

    iz2bkt Member Licensed User

    Hi,
    in version 5.01 of B4A how can compile without signing the apk?
     
  2. Peter Simpson

    Peter Simpson Well-Known Member Licensed User

    Use the keystore called debug.keystore or whatever the debug key is called.
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    Why were you using this option in the past?

    You can compile without signing with the command line builder.
     
  4. iz2bkt

    iz2bkt Member Licensed User

    B4A version 4: Project -> Compile (without signing)

    I need to use non-B4A keystore and sign the apk manually.
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    Use the debug key during development and use the command line builder when you need to release it.
     
  6. iz2bkt

    iz2bkt Member Licensed User

    Ok, thank you, Erel.
     
  7. Dan Harding

    Dan Harding Member Licensed User

    iz2bkt. I need to do the same thing. I have used the command line builder to get the apk file. And I have the keystore file from the previous version created with Ecllipse. Are there any more parts that I need and what are the remaining steps?

    Thanks,
     
  8. Erel

    Erel Administrator Staff Member Licensed User

  9. iz2bkt

    iz2bkt Member Licensed User

    I made a batch command with these instructions:

    "C:\Program Files (x86)\Java\jdk1.7.0_40\bin\jarsigner.exe" -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore eclipse.keystore temp.apk alias_name
    zipalign -v 4 temp.apk YourApp.apk

    where:
    eclipse.keystore : your key used with eclipse
    alias_name : name used to build eclipse.keystore
    temp.apk : apk no signed
    YourApp.apk : final apk signed
     
Loading...