BruceWind / AESJniEncrypt

🛡 Make safest code in Android. (基于libsodium实现chacha20算法,key在native中,防止被二次打包){长期维护,请star,勿fork}
Other
1k stars 164 forks source link

Can you tell me which NDK version I should use? Thanks. #45

Closed LandChanning closed 2 years ago

LandChanning commented 2 years ago

@BruceWind 你好,

我在项目的 Readme 中看到,ndk 版本要用 11-r13 的 image

但我又在 test_in_executing.sh 脚本中看到 r13 太老的提醒 image

请问当前 master 分支下的的代码, 1、build_libsodium_for_all_android_abi.sh 脚本 2、test_in_executing.sh 脚本 3、完整 so 库编译 具体用哪个 ndk 版本编译最稳定啊? 是用一个版本,还是分开用不同版本呢?

BruceWind commented 2 years ago

看代码,代码基本是编译通过的。 中文read me 可能更新不及时

Land Channing @.***>于2021年12月8日 周三16:39写道:

@BruceWind https://github.com/BruceWind 你好,

我在项目的 Readme 中看到,ndk 版本要用 11-r13 的 [image: image] https://user-images.githubusercontent.com/8448947/145175402-d639a09e-017e-4fe7-889c-f3c410633eed.png

但我又在 test_in_executing.sh 脚本中看到 r13 太老的提醒 [image: image] https://user-images.githubusercontent.com/8448947/145175232-7b8e2e46-5eb6-44d9-b0c5-43699540ee8f.png

请问当前 master 分支下的的代码, 1、build_libsodium_for_all_android_abi.sh 脚本 2、test_in_executing.sh 脚本 3、完整 so 库编译 具体用哪个 ndk 版本编译最稳定啊? 是用一个版本,还是分开用不同版本呢?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BruceWind/AESJniEncrypt/issues/45, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTGQDI2TDNP27PB5XZ46LLUP4KUJANCNFSM5JTGZLVA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

LandChanning commented 2 years ago

就是说两个脚本和 so 库编译,在 mac 下都可以用 r22 版 ndk 对吗

BruceWind commented 2 years ago

对,我有对多个NDK版本做编译测试。 如果我只测试一个版本,当你们需要尝试其他版本时,可能会遇到错误,我只是提前把一些坑踩了。其实意义不大,你们自己去踩坑自己去做修改并通过编译,难度也不大的。

LandChanning commented 2 years ago

好的,多谢回复