浏览代码

update build instructions

Signed-off-by: Grant Limberg <[email protected]>
Grant Limberg 10 年之前
父节点
当前提交
b3429481cd
共有 1 个文件被更改,包括 14 次插入1 次删除
  1. 14 1
      java/README.md

+ 14 - 1
java/README.md

@@ -1,4 +1,17 @@
 ZeroTier One SDK - Android JNI Wrapper
 =====
 
-To Build:  <path to Android-ndk>/ndk-build ZT1=<path to ZeroTierOne root>
+
+Building
+-----
+
+Reqires:
+
+* JDK
+* ANT
+* Android NDK
+
+Required Environment Variables:
+
+* NDK\_BUILD\_LOC - Path do the ndk-build script in the Android NDK
+* ANDROID\_PLATFORM - path to the directory android.jar lives (on Windows: C:\Users\<username>\AppData\Local\Android\sdk\platforms\android-21)