Skip to content

android apk fast resign for robotium Automated testing 安卓apk重签名工具

License

Notifications You must be signed in to change notification settings

pengwei1024/apkReSign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apkReSign

设计初衷

robotium 设计的安卓一键重签名工具。
用过robotium的应该都知道 re-sign.jar 的存在,但是很多人用它却签名失败了。
重签名 的原理就是去除apk正式签名,使用系统自带的 debug.keystore默认签名进行再次签名。
因为re-sign.jar默认的 debug.keystoreC盘/用户/.android/debug.keystore下,
而后来Android SDK更新后 debug.keystore存在于SDK目录/.android/debug.keystore
本程序强化了 re-sign.jar,并加入了设置路径生成测试代码的功能。

截图

主界面

##### 生成测试代码

##### 设置jdk、sdk、debug.keystore路径

用法

download apkReSign.jar

用法1

双击apkReSign.jar运行

用法2

在cmd或者命令行下执行以下语句

java -jar apkReSign.jar的路径

签名成功后输出的文件名为原apk文件名+debug.apk,直接在真机或者模拟器上安装即可

导入robotium

下载Jar包

下载robotium-solo-5.4.1.jar

利用maven

<dependencies>
   <dependency>
     <groupId>com.jayway.android.robotium</groupId>
     <artifactId>robotium-solo</artifactId>
     <version>5.4.1</version>
   </dependency>
</dependencies>

关于

致谢

感谢 troido/resign

License

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.

About

android apk fast resign for robotium Automated testing 安卓apk重签名工具

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages