diff --git a/BUILD.zh.md b/BUILD.zh.md new file mode 100644 index 0000000..6851c5d --- /dev/null +++ b/BUILD.zh.md @@ -0,0 +1,34 @@ +环境 + +win + +git-bash + +jdk>=11 + + +`cp build_without_gradle.sh win_build_without_gradle.sh` + +修改 +``` +javac -bootclasspath "$ANDROID_JAR" \ + -cp "$LAMBDA_JAR:$GEN_DIR" \ + -d "$CLASSES_DIR" \ + -source 1.8 -target 1.8 \ + ${SRC[@]} +``` +成 +``` +javac -bootclasspath "$ANDROID_JAR;$LAMBDA_JAR" \ + -sourcepath "$GEN_DIR" \ + -d "$CLASSES_DIR" \ + -encoding utf-8 \ + -source 1.8 -target 1.8 \ + ${SRC[@]} +``` +最后 +`ANDROID_HOME=F:/sdk ./win_build_without_gradle.sh` + + 需要jdk>=11; +如果默认是J8,找到jdk11的路径插入j8前 + `PATH=/d/jdk11/jre/bin:$PATH`