android怎么看ndk版本,如何找到Android设置的ndk修订号

本文介绍了如何在CMD或Android Studio中查找Android NDK的版本号,特别是修订版本号,如r10d或r11a。内容涉及到NDK、Clang、GCC、Binutils和GDB的更新日志,以及当前版本的已知问题,包括异常处理、预编译头文件的改进和对旧平台支持的终止。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

有没有办法从cmd行或android studio中找到理想的ndk版本号?

我的用例是android studio已经运行了更新,用最新版本替换了ndk-bundle,我希望能够找到没有的修订版本.那是.即r10d,r11a等

UPDATE

?/ Android / Sdk / ndk-bundle / CHANGELOG.md看起来像这样 – 我看不到对修订号的明确引用,可以吗?也许它只有11,但他们通常也有一封信?

Changelog

=========

Report issues to [GitHub].

[GitHub]: https://github.com/android-ndk/ndk/issues

NDK

---

* Removed all sysroots for pre-GB platform levels. We dropped support for them

in r11, but neglected to actually remove them.

* Exception handling when using `c++_shared` on ARM32 now mostly works (see

[Known Issues](#known-issues)). The unwinder will now be linked into each

linked object rather than into libc++ itself.

* Default compiler flags have been pruned:

https://github.com/android-ndk/ndk/issues/27.

* Full changes here: https://android-review.googlesource.com/#/c/207721/5.

* `-fno-limit-debug-info` has been enabled by default for Clang debug builds.

This should improve debugability with LLDB.

* `--build-id` is now enabled by default.

* This will be shown in native crash reports so you can easily identify

which version of your code was running.

* `NDK_USE_CYGPATH` should no longer cause problems with libgcc:

http://b.android.com/195486.

* `-Wl,--warn-shared-textrel` and`-Wl,--fatal-warnings` are now enabled by

default. If you have shared text relocations, your app will not load on

Marshmallow or later (and have never been allowed for 64-bit apps).

* Precompiled headers should work better:

https://github.com/android-ndk/ndk/issues/14 and

https://github.com/android-ndk/ndk/issues/16.

Clang

-----

* Clang has been updated to 3.8svn (r256229, build 2690385).

* Note that Clang packaged in the Windows 64 NDK is actually 32-bit.

* `__thread` should work for real this time.

GCC

---

* Synchronized with the ChromeOS GCC @ `google/gcc-4_9` r227810.

* Backported coverage sanitizer patch from ToT (r231296).

* Fixed libatomic to not use ifuncs:

https://github.com/android-ndk/ndk/issues/31.

Binutils

--------

* "Erratum 843419 found and fixed" info messages are silenced.

* Introduced option '--long-plt' to fix internal linker error when linking huge

arm32 binaries.

* Fixed wrong run time stubs for AArch64. This was causing jump addresses to be

calculated incorrectly for very large DSOs.

* Introduced default option '--no-apply-dynamic' to work around a dynamic

linker bug for earlier Android releases.

* NDK r11 KI for `dynamic_cast` not working with Clang, x86, `stlport_static`

and optimization has been fixed.

GDB

---

* Updated to GDB 7.11: https://www.gnu.org/software/gdb/news/.

Known Issues

------------

* This is not intended to be a comprehensive list of all outstanding bugs.

* x86 ASAN still does work. See discussion on

https://android-review.googlesource.com/#/c/186276/

* Exception unwinding with `c++_shared` still does not work for ARM on

Gingerbread or Ice Cream Sandwich.

* Bionic headers and libraries for Marshmallow and N are not yet exposed

despite the presence of android-24. Those platforms are still the Lollipop

headers and libraries (not a regression from r11).

* RenderScript tools are not present (not a regression from r11):

https://github.com/android-ndk/ndk/issues/7.

* r12 will most likely not work with Android Studio/Gradle right away. The

Gradle plugin will need to be updated to match the build changes we made in

`ndk-build`.

* We've regressed on http://b.android.com/41770.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值