Code Monkey home page Code Monkey logo

Comments (3)

ltlovezh avatar ltlovezh commented on May 18, 2024

理论上会受影响,毕竟你使用Base包生成patch,但是合成的时候是带有渠道信息的,这两个包(Base包和带渠道信息的包)的MD5是不一样的。
不过你可以试下,如果有影响,那么所有添加渠道的方案应该都不行,因为每个渠道包在渠道信息这块都是有差异的,还是那句话:不同渠道包的MD5不一样。

from vasdolly.

hc1991 avatar hc1991 commented on May 18, 2024

我试了,写comment增量合成不受影响,能够正常合成。但是如果是IDValue这种方式,合成的APK无法安装。我这边的解决方法是在合成的时候,将baseApk写入的渠道信息删除,再进行合成,但是删除APK的中添加的IDValue,手机上进行读写的时候内存消耗很大,getApkScetionInfo的时候将整个APK的内容都读取到内存了,删除IDValue这里有好建议吗?

from vasdolly.

ltlovezh avatar ltlovezh commented on May 18, 2024

嗯,我当时全部读入内存,主要是为了快速拷贝(打渠道包一般都是在PC上),确实没有考虑到在手机上操作的场景。
只要操作签名块的话,理论上是没有必要把全部信息读入到内存的,只要读取签名块及后面的数据就可以了,而这部分内存占用其实是比较小的。
这块你也可以尝试修改一下,或者近期我来修改下,提供一种可选的低内存模式。

from vasdolly.

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.