Ho un keystore e un apk. c'è uno strumento o un metodo per controllare l'apk del file, firmato da questo keystore? Io uso Eclipse. Qualcuno mi aiuti per favore. Grazie mille strumentoCome conoscere il file .apk da usare nel keystore per firmare?
7
A
risposta
15
Usa jarsigner:
jarsigner -verify -verbose -keystore keystore_file apk_file.apk
Questo comando dà output come questo:
SMK 22401 Tue Aug 30 10:20:52 2011 SAMST res/drawable/about_cover. png
SMK 1206 mar 30 ago 10:20:52 SAMST 2011 res/drawable/add_normal.png
SMK 1430 Tue Aug 30 10:20:52 2011 SAMST res/drawable/app_icon.png
smk 133 Tue Aug 30 10:20:52 2011 SAMST res/drawable/background_next_section.pngs = firma è stata verificata
m = ingresso è elencato in palese
k = almeno un certificato è stato trovato in keystore
Problemi correlati
- 1. Come firmare un APK con più di un certificato?
- 2. File keystore Android perso
- 3. Posso creare la mia app per Android come debug ma firmare con il keystore di release
- 4. Esportazione Android: come creare il file .keystore?
- 5. Impossibile caricare il file P7B nel file keystore
- 6. come sostituire il file XML in APK?
- 7. Come inserire il database esistente nel file .apk?
- 8. Come impostare un keystore personalizzato per il debug in eclissi per Android
- 9. Trovare il nome alias nel file del keystore
- 10. Come firmare un'app per Android per il mercato?
- 11. Come verificare il nome e l'alias del certificato nei file keystore?
- 12. Configurare Eclipse per utilizzare il keystore firmato
- 13. Come creare il file .apk dalla riga di comando di Windows?
- 14. Come installare il file .apk nell'emulatore?
- 15. 1 Keystore per firmare tutte le app o 1 per app?
- 16. Come proteggere webservice url nel file di Android APK
- 17. Come aprire file apk
- 18. Formato keystore non valido
- 19. Hai caricato un APK firmato in modalità di debug. Devi firmare il tuo APK in errore modalità di rilascio
- 20. Android: Memorizza SecretKey nel KeyStore
- 21. C'è qualche ragione per cui non dovrei memorizzare il mio keystore nel controllo di versione?
- 22. Estratto certificato X.509 non elaborato da un APK o JAR firmato
- 23. Come zipalign il file apk in Windows
- 24. Il file del keystore non esiste
- 25. Come viene firmato un file .apk
- 26. java - come memorizzare una chiave nel keystore
- 27. Come posso creare un file PFX da un Keystore Java?
- 28. Come impostare l'intestazione per scaricare il file .apk o .jar?
- 29. Errore keystore Android "Impossibile generare la chiave nel keystore"
- 30. Come installare più applicazioni Android (dai file apk) nel dispositivo?
Ciao Sergey Grazie per la risposta, In che modo la differenza tra "apk non firma da questo keystore" e "apk non firma da questo keystore"? Nei parametri s, m, k: usi solo k? – chishi
Ho provato a fare questo comando. Con il keystore che .apk ha firmato, ouput: smk 47100 Wed Aug 31 15:13:38 ICT 2011 classes.dex. D'altra parte, ouput: sm 47100 Wed Aug 31 15:13:38 ICT 2011 classes.dex – chishi
Sì, io uso solo "k". Se l'APK è stato firmato con il certificato dal keystore specificato, allora sarà "k" in output. –