ApkReSign
android apk fast resign for robotium Automated testing 安卓apk重签名工具
Install / Use
/learn @pengwei1024/ApkReSignREADME
apkReSign
设计初衷
为robotium 设计的安卓一键重签名工具。<br/>
用过robotium的应该都知道 re-sign.jar 的存在,但是很多人用它却签名失败了。<br/>
重签名 的原理就是去除apk正式签名,使用系统自带的 debug.keystore默认签名进行再次签名。<br/>
因为re-sign.jar默认的 debug.keystore 在C盘/用户/.android/debug.keystore下,<br/>
而后来Android SDK更新后 debug.keystore存在于SDK目录/.android/debug.keystore <br/>
本程序强化了 re-sign.jar,并加入了设置路径和生成测试代码的功能。
截图
主界面
<img src= "screenshots/screenshot01.png" width="500px"> ##### 生成测试代码 <img src= "screenshots/screenshot02.png" width="500px"> ##### 设置jdk、sdk、debug.keystore路径 <img src= "screenshots/screenshot03.png" width="500px">用法
download apkReSign.jar
用法1
双击apkReSign.jar运行
用法2
在cmd或者命令行下执行以下语句
java -jar apkReSign.jar的路径
签名成功后输出的文件名为原apk文件名+debug.apk,直接在真机或者模拟器上安装即可<br/>
导入robotium
下载Jar包
利用maven
<dependencies>
<dependency>
<groupId>com.jayway.android.robotium</groupId>
<artifactId>robotium-solo</artifactId>
<version>5.4.1</version>
</dependency>
</dependencies>
关于
- Blog: apkfuns.com
- Email: pengwei1024@gmail.com
致谢
License
<pre> Copyright pengwei1024 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. </pre>Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
