Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教“调用tinkerPatchDebug, 补丁包与相关日志会保存在/build/outputs/tinkerPatch/”什么意思 #10

Closed
silencezwm opened this issue Sep 25, 2016 · 4 comments

Comments

@silencezwm
Copy link

在使用步骤中,第三步:调用tinkerPatchDebug, 补丁包与相关日志会保存在/build/outputs/tinkerPatch/

一直搞不明白要怎么使用才能搞出补丁包,求解,万分感谢。

@ecdsa2008
Copy link

好纠结的问题,想编译个demo 困难重重

@shwenzhang
Copy link
Contributor

请问问题在哪里呢?使用gradle 编译的话,按照文档步骤应该没有问题

@ecdsa2008
Copy link

1s
oldApk = ${ bakPath } "app-debug-0925-18-11-23.apk"
2s
tasks.getByName("tinkerPatch${taskName.capitalize()}") {....}
3s
Error:(331, 0) Task with name 'tinkerPatchDebug' not found in project ':app'.

apk已经生成,并且修改了 oldApk的路径,但是编译还是出现了错误.
对gradle机制不是很了解,不知道是我使用的姿势不对,还是有其他原因.

@shwenzhang
Copy link
Contributor

应该是使用方式不对,建议学习gradle基本知识。或使用命令行版本,但是还是推荐使用gradle版本。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants