2010-09-16 62 views

回答

4

在根目錄的HowToBuild文本文件,它提供了指導。 它提到的要求:

  • 的Android SDK> = 1.6
  • 的Android NDK> = R4B
  • Apache Ant的> = 1.7.0

而且,由於需要NDK cygwin 1.7在Windows上,它看起來像你會做一些下載。

所以,是的,你需要的NDK,Cygwin的,和Python

該文本文件也給出了編譯指令:

編輯新的指令:

To build:

  1. Create 'local.properties' file containing sdk.dir && ndk.dir definitions: sdk.dir= ndk.dir= E.g., on my computer 'local.properties' consists of 2 lines: sdk.dir=/Users/geometer/android-sdk-mac_86
    ndk.dir=/Users/geometer/android-ndk-r4b

  2. If you use Linux or MacOS, just run 'ant package' and go to step 3. For debugging purposes, you might want to run 'ant dbg' for building the package in debug mode, signing with your debug key (in this case, you can skip step 3).

If you are Windows user 2a. Run ndk-build (a program from Android NDK directory) in your project catalog; This program only runs from Cygwin >= 1.7, please read NDK docs for details. Read and try config cygwin using 'cygwin_installation_and_configuration.pdf' 2b. Run 'ant release'.

  1. Sign your package manually.
+0

什麼是和在哪裏createRawResources.py?! – 2015-06-21 08:17:09

+1

由於我發佈了這個答案,他們已經改變了他們的說明並刪除了對該腳本的任何引用。 查看他們的github上的更新說明https://github.com/geometer/FBReaderJ/blob/master/HowToBuild – Marc 2015-06-23 11:49:03

相關問題