I have an Android project with an NDK/JNI library in Ec开发者_运维百科lipse Ganymede. Inexplicably, the bin folder contains a copy of all my C++ sources from the jni folder. So does the APK, if you rename it to ZIP and examine. If I delete those files from bin, then clean and rebuild, they're there again. What going on, please? I have no intention of distributing the sources along with the app.
Kinda resolved. For some reason, jni was listed in project properties under "Java build path". Once I've removed that, it was fine. No sure how did this condition come to be.
精彩评论