Signera apk-filer

Diskussion i 'Applikationer' startad av ttozig, 6 maj 2010.

  1. ttozig

    ttozig Infant Droid Medlem

    Blev medlem:
    6 maj 2010
    Inlägg:
    1
    Mottagna gillanden:
    0

    MINA ENHETER

    Jag här kontaktat en utvecklare för att få tag i ett program. Han skickade då en ...unsigned.apk och en fil vid namn signature.asc. hur
    gör jag för att installera programmet?
     
    Last edited: 6 maj 2010
  2. bernard

    bernard Droidmin Moderator

    Blev medlem:
    14 maj 2009
    Inlägg:
    42 241
    Mottagna gillanden:
    47 307
    Operatör:
    Tre+Fello
    Telefon:
    Pixel 9 Pro+iPhone 13 mini

    MINA ENHETER

    Operatör:
    Tre+Fello
    Telefon:
    Pixel 9 Pro+iPhone 13 mini
    ROM:
    Stock
    Platta:
    Watch Series 7
    Övrigt:
    Huawei Watch GT (2019)
    Du kan lägga applikationen (APK-filen) i roten på microSD-kortet och sedan ladda hem Astro file manager från Market för att installera den som den är. Vill du däremot lägga upp den på Android Market, då måste du signera den först.

    För att signera applikationer kan man göra på lite olika vis, men enklast är att installera Eclipse och sedan använda guiden här: http://developer.android.com/guide/publishing/app-signing.html


    "Compile and sign with Eclipse ADT

    If you are using Eclipse with the ADT plugin, you can use the Export Wizard to export a signed .apk (and even create a new keystore, if necessary). The Export Wizard performs all the interaction with the Keytool and Jarsigner for you, which allows you to sign the package using a GUI instead of performing the manual procedures to compile, sign, and align, as discussed above. Once the wizard has compiled and signed your package, it will also perfom package alignment with zipalign. Because the Export Wizard uses both Keytool and Jarsigner, you should ensure that they are accessible on your computer, as described above in the Basic Setup for Signing.

    To create a signed and aligned .apk in Eclipse:

    Select the project in the Package Explorer and select File > Export.
    Open the Android folder, select Export Android Application, and click Next.
    The Export Android Application wizard now starts, which will guide you through the process of signing your application, including steps for selecting the private key with which to sign the .apk (or creating a new keystore and private key).
    Complete the Export Wizard and your application will be compiled, signed, aligned, and ready for distribution."

    Eclipse hittar du här: http://www.eclipse.org/downloads/do...alileo/SR2/eclipse-java-galileo-SR2-win32.zip

    Sedan behöver du även installera ADT i Eclipse genom att följa guiden här: http://developer.android.com/sdk/eclipse-adt.html

    Allt förutsätter förstås att du har SDK:n för både Android och Java installerad först.