Update README.md
This commit is contained in:
12
README.md
12
README.md
@@ -186,7 +186,7 @@ public interface IRotationWatcher {
|
||||
[https://github.com/android-notes/androidScreenShareAndControl](https://github.com/android-notes/androidScreenShareAndControl)
|
||||
|
||||
|
||||
### 附 编译class和打包dex方式:
|
||||
### 附 编译class方式:
|
||||
|
||||
最简单的方式:
|
||||
在`android studio`中右击`com.wanjian.puppet.Main`这个文件,选择 `run Main.main()`,编译后的class文件就会自动保存到
|
||||
@@ -209,3 +209,13 @@ public interface IRotationWatcher {
|
||||

|
||||
|
||||
|
||||
### 打包dex方式:
|
||||
首先命令窗口切换到 `androidScreenShareAndControl/shareandcontrollib/build/intermediates/classes/debug` 目录下,可以看到
|
||||
所有编译生成的class文件,如果没有先执行上面步骤生成class文件。
|
||||
|
||||
然后使用 `dx --dex --output=Main.dex ./`命令生成dex文件。dx命令文件在 `sdk/build-tools/版本号` 下
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user