Git Product home page Git Product logo

icodetools's Introduction

#声明:本目录下有两个icodetools版本,可以优先尝试1.0版本,如果失败,可以再次尝试2.0版本!! 默认状态开关是关闭,日志的tag是"jw",可以到/data/local/tmp目录下打开日志:echo "-s 1" >log.txt

###1、当前目录的需要操作的apk文件名称默认是src.apk文件,如果想修改apk名称,可以手动的修改icodetools.bat中的apk文件名

###2、在icodetools.bat中可以指定当前日志的tag,在icodetools.bat可以配置

###3、当前目录下还有一个JWUtils.java这个java文件,这个类中有一些打印方法,可以根据自己的需求定义一些方法,但是定义的方法必须有要求: 1》、必须是static类型 2》、方法只允许有一个参数是String类型的,而这个参数就是打印的日志tag 3》、方法名称可以随意指定,但是必须在icodetools.bat中保持一致 所以最终的方法模板为: public static XXX YYY(String tag) 这个类的名称可以变动,但是包名必须和icodetools中保持一致。

###4、当前目录下的libs目录中是工具依赖的jar包,不可以随便修改

###5、当前目录下的JWUtils.java文件名和包名都不可变动

###6、cyy_game.keystore签名文件名不可进行修改

###7、如果想自己再次签名,可以使用unsigned.apk文件操作,signed.apk是使用了cyy_game.keystore文件签名

###8、在icodetools.bat中需要手动设置aapt命令的路径

###9、工具运行前必须配置JAVA_HOME环境变量

###10、现阶段只支持JDK1.7以及以下版本编译器,不支持1.8以及以上的,检查javac命令版本即可

##关于日志过滤规则使用

echo "-s 1 -m XXX -c com.xxx.xxx -r int -p (java.lang.String)"

只打印 com.xxx.xxx.XXX方法,返回类型是int,参数是String类型的方法。
关于日志过滤规则可以自己定义,自己在JWUtils类中定义即可!

##如果工具目录下存在apk文件,但是工具还是提示无法找到apk文件 可能是以为工具当前存放的目录路径中包含了空格,因为Windows平台是支持目录名包含空格的

icodetools's People

Contributors

fourbrother avatar jiangwei212 avatar

Watchers

 avatar  avatar  avatar

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.