dx命令详解
来源:互联网 发布:淘宝如何更换账户开店 编辑:程序博客网 时间:2024/05/16 14:08
usage:
dx --dex [--debug] [--verbose] [--positions=<style>] [--no-locals] [--no-optimize] [--statistics] [--[no-]optimize-list=<file>] [--no-strict] [--keep-classes] [--output=<file>] [--dump-to=<file>] [--dump-width=<n>] [--dump-method=<name>[*]] [--verbose-dump] [--no-files] [--core-library] [--num-threads=<n>] [<file>.class | <file>.{zip,jar,apk} | <directory>] ... Convert a set of classfiles into a dex file, optionally embedded in a jar/zip. Output name must end with one of: .dex .jar .zip .apk. Positions options: none, important, lines. dx --annotool --annotation=<class> [--element=<element types>] [--print=<print types>] dx --dump [--debug] [--strict] [--bytes] [--optimize] [--basic-blocks | --rop-blocks | --ssa-blocks | --dot] [--ssa-step=<step>] [--width=<n>] [<file>.class | <file>.txt] ... Dump classfiles, or transformations thereof, in a human-oriented format. dx --junit [-wait] <TestClass> Run the indicated unit test. dx --find-usages <file.dex> <declaring type> <member> Find references and declarations to a field or method. declaring type: a class name in internal form, like Ljava/lang/Object; member: a field or method name, like hashCode dx -J<option> ... <arguments, in one of the above forms> Pass VM-specific options to the virtual machine that runs dx. dx --version Print the version of this tool (1.7). dx --help Print this message.利用dx.bat脚本将.class文件编译成class.ex文件:
dx --dex --output=D:\test\HelloWorld\bin\class.dex D:\test\HelloWorld\bin
dx --dex --output=target.jar origin.jar
上述命令中 origin.jar为源代码导出的jar包,target.jar为dx工具产生的dex二进制jar包!
===============================
引自:1.http://blog.csdn.net/ygc87/article/details/7620884
2.http://flycatdeng.iteye.com/blog/2125081
0 0
- dx命令详解
- dx命令详解
- dx命令详解
- 详解iostat -dx 1命令监控IO性能
- DX透视投影详解
- 有关javac dx命令使用
- DX
- AAPT-DX-命令编译打包APK
- mac 电脑配置 android dx命令
- 透视投影详解(Dx 透视投影推导)
- mac配置环境变量和2dx创建编译项目命令
- (转)通过『iostat -dx 1』命令监控IO性能
- DX信息
- DX记录
- HyperSnap-DX
- DX初学
- DX初学
- DX 文档
- Android的按钮单击事件及监听器的实现方式
- coder
- github避免每次输入账户密码
- [ACM]模拟大数加法
- Qt之json解析
- dx命令详解
- Poco库之XML操作
- Poco之ftp目录切换与创建
- networkRequest
- iOS9 通讯录(无界面的和有界面的)
- QTcpsocket 实现FTP
- C++指针例
- 数字图像处理二
- Poco版信号槽