2013-08-06 24 views
0

我試圖重建我的Native android項目,但突然間,ndk-build決定它不想要,並且似乎對我生悶氣。 這裏是我的輸出:Android:ndk-build沒有任何回報?

[email protected]:~/COMBAT/engine/android-build$ android update project -p . -t 1 -s 
Updated project.properties 
Updated local.properties 
Updated file ./proguard-project.txt 
[email protected]:~/COMBAT/engine/android-build$ cd jni && ndk-build 
[email protected]:~/COMBAT/engine/android-build/jni$ ndk-build 
[email protected]:~/COMBAT/engine/android-build/jni$ cd ../ 
[email protected]:~/COMBAT/engine/android-build$ ndk-build 
[email protected]:~/COMBAT/engine/android-build$  //should be erroring here - yet nothing? 

但是它至少嘗試構建另一個本地項目:

[email protected]:~/GamePlay/samples/browser/android/jni$ ndk-build 
/home/nathan/android-ndk-r8e/build/core/add-application.mk:128: Android NDK: WARNING: APP_PLATFORM android-14 is larger than android:minSdkVersion 9 in /home/nathan/GamePlay/samples/browser/android/AndroidManifest.xml  
Android NDK: ERROR:/home/nathan/GamePlay/samples/browser/android/jni/Android.mk:gameplay: LOCAL_SRC_FILES points to a missing file  
Android NDK: Check that /home/nathan/GamePlay/samples/browser/android/jni/../../../../gameplay/android/obj/local/armeabi/libgameplay.a exists or that its path is correct 
/home/nathan/android-ndk-r8e/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting . Stop. 
[email protected]:~/GamePlay/samples/browser/android/jni$ 

錯誤的假設是,順便在那裏。

我只是還沒有線索,爲什麼它沒有編制,我希望它編譯項目 - 我不認爲它喜歡我了:L

我的最新的Ubuntu操作系統上運行,與NDK r8和JDK 1.7

回答

0

我沒有將我的新文件添加到我的生成文件進行編譯。