为robotium
设计的安卓一键重签名工具。
用过robotium
的应该都知道 re-sign.jar
的存在,但是很多人用它却签名失败了。
重签名
的原理就是去除apk正式签名,使用系统自带的 debug.keystore
默认签名进行再次签名。
因为re-sign.jar
默认的 debug.keystore
在C盘/用户/.android/debug.keystore
下,
而后来Android SDK更新后 debug.keystore
存在于SDK目录/.android/debug.keystore
本程序强化了 re-sign.jar
,并加入了设置路径
和生成测试代码
的功能。
download apkReSign.jar
双击apkReSign.jar运行
在cmd或者命令行下执行以下语句
java -jar apkReSign.jar的路径
签名成功后输出的文件名为原apk文件名+debug.apk,直接在真机或者模拟器上安装即可
<dependencies>
<dependency>
<groupId>com.jayway.android.robotium</groupId>
<artifactId>robotium-solo</artifactId>
<version>5.4.1</version>
</dependency>
</dependencies>
- Blog: apkfuns.com
- Email: [email protected]
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.