Git Product home page Git Product logo

Comments (17)

hedex avatar hedex commented on May 18, 2024

请查看log中是否有” auto patch success “字样,我们为了节省自动化生成补丁的时间,在补丁生成成功之后,主动抛了一个异常,如果异常信息含有” auto patch success “字样代表补丁成功成功,请放心使用

from robust.

zoomself avatar zoomself commented on May 18, 2024

@hedex 没有看到,而且在app\build\outputs目录下连robust文件夹都没有了

from robust.

hedex avatar hedex commented on May 18, 2024

@zoomself 可以贴一下错误的log吗?

from robust.

zoomself avatar zoomself commented on May 18, 2024

qq 20170316152654
@hedex gradle assembleRelease 生成APK的时候就会出现这个错误

from robust.

hedex avatar hedex commented on May 18, 2024

@zoomself 可以看看你命令行的具体错误提示log吗?

from robust.

BmobSnail avatar BmobSnail commented on May 18, 2024

第一次编译打包成功后,第二次打补丁,一直提示没有 modify注解 或者没有调用过modify方法

from robust.

zoomself avatar zoomself commented on May 18, 2024

@hedex

跟着步骤,到第二次打包生成补丁gradle命令的时候出现这种问题,最后就BUILD FAILED了
qq 20170316171707

from robust.

mivanzhang avatar mivanzhang commented on May 18, 2024

@BmobSnail 你使用Robust.modify()这个方法来标注修改的方法,我猜测你是给泛型方法制作补丁

from robust.

mivanzhang avatar mivanzhang commented on May 18, 2024

@zoomself 请把log全部贴上来,初步猜测你的代码没有递归依赖

from robust.

BmobSnail avatar BmobSnail commented on May 18, 2024

我已经在方法的前面加了
image
build 的时候还是提示我 petch method is empty. 没有添加过修改的注解
你能不能把一个完整的流程,再说一遍。第一次版本是不需要哪个插件,补丁版本需要开启插件...

按照你的教程去走一遍,几乎都在打补丁包的时候说没有添加过注解方法或没检测到修改

from robust.

BmobSnail avatar BmobSnail commented on May 18, 2024

@mivanzhang

from robust.

zoomself avatar zoomself commented on May 18, 2024

@hedex @mivanzhang 可以了,可能是操作姿势不对~谢啦

from robust.

BmobSnail avatar BmobSnail commented on May 18, 2024

能加一下我Q么 409962004,教教我怎么弄吗...我打补丁的时候一直提示没有Modify注解 @zoomself

from robust.

mivanzhang avatar mivanzhang commented on May 18, 2024

@BmobSnail 你是不是没有依赖compile 'com.meituan.robust:robust:0.3.0'

from robust.

BmobSnail avatar BmobSnail commented on May 18, 2024

有依赖的。第一次打样例 apk 能正常,就是打补丁的时候就报我没有添加过 @modify 注解的异常

from robust.

VincentLoveAndroid avatar VincentLoveAndroid commented on May 18, 2024

@zoomself 我也同样遇到这个错误,但解决不了,方便咨询下吗

from robust.

mivanzhang avatar mivanzhang commented on May 18, 2024

@zoomself @BmobSnail @VincentLoveAndroid compile 'com.meituan.robust:robust:0.3.0' 这个依赖已经包含了Modify这个类,猜测你们的工程包含一些工程依赖,要给你修改的子工程里面也添加这个compile 'com.meituan.robust:robust:0.3.0'

from robust.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.