Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileSky committed Oct 9, 2024
2 parents d7483bc + e340d3d commit 45833f6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ authors = ["mzdk100 <[email protected]>"]
description = "用于Rust的Android API的高级封装"
keywords = ["android", "api", "sdk", "jni", "java"]
license = "Apache-2.0"
version = "0.3.4"
version = "0.3.5"
edition = "2021"
readme = "README.md"
repository = "https://gitcode.net/mzdk100/droid-wrap.git"
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
1. 环境配置
在使用之前需要确保配置Android SDK和Java环境。
- ANDROID_HOME: 指向Android SDK的根目录路径。
- ANDROID_BUILD_TOOLS_VERSION: 例如"35.0.0"。
- ANDROID_API_LEVEL: 例如35。
- JAVA_HOME: 指向jre或者jdk的根目录路径。
注意:我们不使用javac来编译生成java字节码,所以无须使用完整的JDK环境,仅使用JRE(Java 运行时)即可。
2. 安装apk打包工具
Expand Down
2 changes: 1 addition & 1 deletion aapt2/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fn main() {
let aapt2 = android_aapt2_path(None).unwrap();
exit(
Command::new(&aapt2)
.args(args().skip(1))
.args(args().skip(2))
.spawn()
.unwrap()
.wait()
Expand Down

0 comments on commit 45833f6

Please sign in to comment.