当前位置:网站首页>Sign APK with command line
Sign APK with command line
2022-07-01 13:34:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
One 、 demand
Put apk Reinforced , Then let me sign again
Two 、 Signature
2.1 It is suggested that apk and Signature (keystore perhaps jks) Put it in the same directory , It's more convenient
2.2 Command line cd Run the following command after reaching the directory ( Be careful , This is for the same directory , And make sure that cd To the current directory ), Will pseudo command Just replace it jarsigner -verbose -keystore Your signature document -storepass Signature file password -signedjar Signed apk name -digestalg SHA1 -sigalg MD5withRSA To be signed apk Signature file alias
2.3 Take a chestnut ( Your favorite part )
2.3.1 Put it under the same folder
2.3.2 Enter the following command , Here I am with The default provided by the system keystore To lift chestnuts . Let's compare two sentences , Fill in your own name and signature
jarsigner -verbose -keystore debug.keystore -storepass android -signedjar test_signed.apk -digestalg SHA1 -sigalg MD5withRSA test.apk androiddebugkey
jarsigner -verbose -keystore Your signature document -storepass Signature file password -signedjar Signed apk name -digestalg SHA1 -sigalg MD5withRSA To be signed apk Signature file alias
2.3.3 The following will appear after returning , You did it .
2.3.4 View the generated signature apk
2.3 explain
-jarsigner yes Java The signature tool for -verbose parameter : Show signature details -keystore Indicates that... In the current directory is used debug.keystore Sign certificate file -storepass android Express Keystore password :“android” -signedjar test_signed.apk Represents the generated after signature APK name test.apk Indicates unsigned APK file -digestalg SHA1 -sigalg MD5withRSA: Must fill in , No why? -androiddebugkey Express Key Alias
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/131439.html Link to the original text :https://javaforall.cn
边栏推荐
- Investment analysis and prospect prediction report of global and Chinese dimethyl sulfoxide industry Ⓦ 2022 ~ 2028
- Blind box NFT digital collection platform system development (build source code)
- Explain IO multiplexing, select, poll, epoll in detail
- Beidou communication module Beidou GPS module Beidou communication terminal DTU
- MySQL Replication中的并行复制示例详解
- 新手准备多少钱可以玩期货?农产品可以吗?
- LeetCode重建二叉树详解[通俗易懂]
- 20个实用的 TypeScript 单行代码汇总
- Sharing with the best paper winner of CV Summit: how is a good paper refined?
- 一款Flutter版的记事本
猜你喜欢
一文读懂TDengine的窗口查询功能
学会使用LiveData和ViewModel,我相信会让你在写业务时变得轻松
Meta enlarge again! VR new model posted on CVPR oral: read and understand voice like a human
Summary of interview questions (1) HTTPS man in the middle attack, the principle of concurrenthashmap, serialVersionUID constant, redis single thread,
当你真的学会DataBinding后,你会发现“这玩意真香”!
MySQL报错1040Too many connections的原因以及解决方案
IO的几种模型 阻塞,非阻塞,io多路复用,信号驱动和异步io
Hardware development notes (9): basic process of hardware development, making a USB to RS232 module (8): create asm1117-3.3v package library and associate principle graphic devices
04 redis source code data structure dictionary
SAP intelligent robot process automation (IRPA) solution sharing
随机推荐
leetcode 322. Coin Change 零钱兑换(中等)
China NdYAG crystal market research conclusion and development strategy proposal report Ⓥ 2022 ~ 2028
当你真的学会DataBinding后,你会发现“这玩意真香”!
Professor Li Zexiang, Hong Kong University of science and technology: I'm wrong. Why is engineering consciousness more important than the best university?
Fiori applications are shared through the enhancement of adaptation project
一款Flutter版的记事本
7. Icons
啟動solr報錯The stack size specified is too small,Specify at least 328k
Summary of 20 practical typescript single line codes
Research Report on China's software outsourcing industry investment strategy and the 14th five year plan Ⓡ 2022 ~ 2028
Social distance (cow infection)
Report on the current situation and development trend of bidirectional polypropylene composite film industry in the world and China Ⓟ 2022 ~ 2028
Report on the 14th five year plan and future development trend of China's integrated circuit packaging industry Ⓓ 2022 ~ 2028
运行游戏时出现0xc000007b错误的解决方法[通俗易懂]
香港科技大学李泽湘教授:我错了,为什么工程意识比上最好的大学都重要?
IO的几种模型 阻塞,非阻塞,io多路复用,信号驱动和异步io
The future of game guild in decentralized games
详细讲解面试的 IO多路复用,select,poll,epoll
焱融看 | 混合云时代下,如何制定多云策略
Wave animation color five pointed star loader loading JS special effects