开发者

JNI sources in the APK

开发者 https://www.devze.com 2023-01-07 18:45 出处:网络
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 re

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号