gpt4 book ai didi

android - 在 stripDebugDebugSymbols 步骤中找不到 arm-linux-androideabi 工具链

转载 作者:行者123 更新时间:2023-12-04 12:18:00 27 4
gpt4 key购买 nike

类似于 this question ,我得到同样的错误,但在不同的地方:

Execution failed for task ':app:stripDebugDebugSymbols'.
> No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi
其他各种答案建议清除构建文件夹、卸载并重新安装 NDK 等。我已经这样做了很多次,但仍然出现此错误。
我不明白的是,正在寻找 arm-linux-androideabi工具链。我的 C:\Users\Tim\AppData\Local\Android\Sdk\ndk\23.0.7123448\toolchains\llvm\prebuilt\windows-x86_64\bin的内容目录是:
19/02/2021  14:42         1,424,896 aarch64-linux-android-as.exe
19/02/2021 14:42 182 aarch64-linux-android21-clang
19/02/2021 14:42 186 aarch64-linux-android21-clang++
19/02/2021 14:42 435 aarch64-linux-android21-clang++.cmd
19/02/2021 14:42 431 aarch64-linux-android21-clang.cmd
19/02/2021 14:42 182 aarch64-linux-android22-clang
19/02/2021 14:42 186 aarch64-linux-android22-clang++
19/02/2021 14:42 435 aarch64-linux-android22-clang++.cmd
19/02/2021 14:42 431 aarch64-linux-android22-clang.cmd
19/02/2021 14:42 182 aarch64-linux-android23-clang
19/02/2021 14:42 186 aarch64-linux-android23-clang++
19/02/2021 14:42 435 aarch64-linux-android23-clang++.cmd
19/02/2021 14:42 431 aarch64-linux-android23-clang.cmd
19/02/2021 14:42 182 aarch64-linux-android24-clang
19/02/2021 14:42 186 aarch64-linux-android24-clang++
19/02/2021 14:42 435 aarch64-linux-android24-clang++.cmd
19/02/2021 14:42 431 aarch64-linux-android24-clang.cmd
19/02/2021 14:42 182 aarch64-linux-android26-clang
19/02/2021 14:42 186 aarch64-linux-android26-clang++
19/02/2021 14:42 435 aarch64-linux-android26-clang++.cmd
19/02/2021 14:42 431 aarch64-linux-android26-clang.cmd
19/02/2021 14:42 182 aarch64-linux-android27-clang
19/02/2021 14:42 186 aarch64-linux-android27-clang++
19/02/2021 14:42 435 aarch64-linux-android27-clang++.cmd
19/02/2021 14:42 431 aarch64-linux-android27-clang.cmd
19/02/2021 14:42 182 aarch64-linux-android28-clang
19/02/2021 14:42 186 aarch64-linux-android28-clang++
19/02/2021 14:42 435 aarch64-linux-android28-clang++.cmd
19/02/2021 14:42 431 aarch64-linux-android28-clang.cmd
19/02/2021 14:42 182 aarch64-linux-android29-clang
19/02/2021 14:42 186 aarch64-linux-android29-clang++
19/02/2021 14:42 435 aarch64-linux-android29-clang++.cmd
19/02/2021 14:42 431 aarch64-linux-android29-clang.cmd
19/02/2021 14:42 182 aarch64-linux-android30-clang
19/02/2021 14:42 186 aarch64-linux-android30-clang++
19/02/2021 14:42 435 aarch64-linux-android30-clang++.cmd
19/02/2021 14:42 431 aarch64-linux-android30-clang.cmd
19/02/2021 14:42 182 aarch64-linux-android31-clang
19/02/2021 14:42 186 aarch64-linux-android31-clang++
19/02/2021 14:42 435 aarch64-linux-android31-clang++.cmd
19/02/2021 14:42 431 aarch64-linux-android31-clang.cmd
19/02/2021 14:42 1,354,752 arm-linux-androideabi-as.exe
19/02/2021 14:42 185 armv7a-linux-androideabi16-clang
19/02/2021 14:42 189 armv7a-linux-androideabi16-clang++
19/02/2021 14:42 438 armv7a-linux-androideabi16-clang++.cmd
19/02/2021 14:42 434 armv7a-linux-androideabi16-clang.cmd
19/02/2021 14:42 185 armv7a-linux-androideabi17-clang
19/02/2021 14:42 189 armv7a-linux-androideabi17-clang++
19/02/2021 14:42 438 armv7a-linux-androideabi17-clang++.cmd
19/02/2021 14:42 434 armv7a-linux-androideabi17-clang.cmd
19/02/2021 14:42 185 armv7a-linux-androideabi18-clang
19/02/2021 14:42 189 armv7a-linux-androideabi18-clang++
19/02/2021 14:42 438 armv7a-linux-androideabi18-clang++.cmd
19/02/2021 14:42 434 armv7a-linux-androideabi18-clang.cmd
19/02/2021 14:42 185 armv7a-linux-androideabi19-clang
19/02/2021 14:42 189 armv7a-linux-androideabi19-clang++
19/02/2021 14:42 438 armv7a-linux-androideabi19-clang++.cmd
19/02/2021 14:42 434 armv7a-linux-androideabi19-clang.cmd
19/02/2021 14:42 185 armv7a-linux-androideabi21-clang
19/02/2021 14:42 189 armv7a-linux-androideabi21-clang++
19/02/2021 14:42 438 armv7a-linux-androideabi21-clang++.cmd
19/02/2021 14:42 434 armv7a-linux-androideabi21-clang.cmd
19/02/2021 14:42 185 armv7a-linux-androideabi22-clang
19/02/2021 14:42 189 armv7a-linux-androideabi22-clang++
19/02/2021 14:42 438 armv7a-linux-androideabi22-clang++.cmd
19/02/2021 14:42 434 armv7a-linux-androideabi22-clang.cmd
19/02/2021 14:42 185 armv7a-linux-androideabi23-clang
19/02/2021 14:42 189 armv7a-linux-androideabi23-clang++
19/02/2021 14:42 438 armv7a-linux-androideabi23-clang++.cmd
19/02/2021 14:42 434 armv7a-linux-androideabi23-clang.cmd
19/02/2021 14:42 185 armv7a-linux-androideabi24-clang
19/02/2021 14:42 189 armv7a-linux-androideabi24-clang++
19/02/2021 14:42 438 armv7a-linux-androideabi24-clang++.cmd
19/02/2021 14:42 434 armv7a-linux-androideabi24-clang.cmd
19/02/2021 14:42 185 armv7a-linux-androideabi26-clang
19/02/2021 14:42 189 armv7a-linux-androideabi26-clang++
19/02/2021 14:42 438 armv7a-linux-androideabi26-clang++.cmd
19/02/2021 14:42 434 armv7a-linux-androideabi26-clang.cmd
19/02/2021 14:42 185 armv7a-linux-androideabi27-clang
19/02/2021 14:42 189 armv7a-linux-androideabi27-clang++
19/02/2021 14:42 438 armv7a-linux-androideabi27-clang++.cmd
19/02/2021 14:42 434 armv7a-linux-androideabi27-clang.cmd
19/02/2021 14:42 185 armv7a-linux-androideabi28-clang
19/02/2021 14:42 189 armv7a-linux-androideabi28-clang++
19/02/2021 14:42 438 armv7a-linux-androideabi28-clang++.cmd
19/02/2021 14:42 434 armv7a-linux-androideabi28-clang.cmd
19/02/2021 14:42 185 armv7a-linux-androideabi29-clang
19/02/2021 14:42 189 armv7a-linux-androideabi29-clang++
19/02/2021 14:42 438 armv7a-linux-androideabi29-clang++.cmd
19/02/2021 14:42 434 armv7a-linux-androideabi29-clang.cmd
19/02/2021 14:42 185 armv7a-linux-androideabi30-clang
19/02/2021 14:42 189 armv7a-linux-androideabi30-clang++
19/02/2021 14:42 438 armv7a-linux-androideabi30-clang++.cmd
19/02/2021 14:42 434 armv7a-linux-androideabi30-clang.cmd
19/02/2021 14:42 185 armv7a-linux-androideabi31-clang
19/02/2021 14:42 189 armv7a-linux-androideabi31-clang++
19/02/2021 14:42 438 armv7a-linux-androideabi31-clang++.cmd
19/02/2021 14:42 434 armv7a-linux-androideabi31-clang.cmd
19/02/2021 14:42 86,267,392 clang++.exe
19/02/2021 14:42 68,813,312 clang-check.exe
19/02/2021 14:42 86,267,392 clang-cl.exe
19/02/2021 14:42 5,969,408 clang-format.exe
19/02/2021 14:42 51,542,016 clang-tidy.exe
19/02/2021 14:42 86,267,392 clang.exe
19/02/2021 14:42 35,720,192 dsymutil.exe
19/02/2021 14:42 21,426 git-clang-format
19/02/2021 14:42 1,792,512 i686-linux-android-as.exe
19/02/2021 14:42 194 i686-linux-android16-clang
19/02/2021 14:42 198 i686-linux-android16-clang++
19/02/2021 14:42 447 i686-linux-android16-clang++.cmd
19/02/2021 14:42 443 i686-linux-android16-clang.cmd
19/02/2021 14:42 194 i686-linux-android17-clang
19/02/2021 14:42 198 i686-linux-android17-clang++
19/02/2021 14:42 447 i686-linux-android17-clang++.cmd
19/02/2021 14:42 443 i686-linux-android17-clang.cmd
19/02/2021 14:42 194 i686-linux-android18-clang
19/02/2021 14:42 198 i686-linux-android18-clang++
19/02/2021 14:42 447 i686-linux-android18-clang++.cmd
19/02/2021 14:42 443 i686-linux-android18-clang.cmd
19/02/2021 14:42 194 i686-linux-android19-clang
19/02/2021 14:42 198 i686-linux-android19-clang++
19/02/2021 14:42 447 i686-linux-android19-clang++.cmd
19/02/2021 14:42 443 i686-linux-android19-clang.cmd
19/02/2021 14:42 194 i686-linux-android21-clang
19/02/2021 14:42 198 i686-linux-android21-clang++
19/02/2021 14:42 447 i686-linux-android21-clang++.cmd
19/02/2021 14:42 443 i686-linux-android21-clang.cmd
19/02/2021 14:42 194 i686-linux-android22-clang
19/02/2021 14:42 198 i686-linux-android22-clang++
19/02/2021 14:42 447 i686-linux-android22-clang++.cmd
19/02/2021 14:42 443 i686-linux-android22-clang.cmd
19/02/2021 14:42 194 i686-linux-android23-clang
19/02/2021 14:42 198 i686-linux-android23-clang++
19/02/2021 14:42 447 i686-linux-android23-clang++.cmd
19/02/2021 14:42 443 i686-linux-android23-clang.cmd
19/02/2021 14:42 179 i686-linux-android24-clang
19/02/2021 14:42 183 i686-linux-android24-clang++
19/02/2021 14:42 432 i686-linux-android24-clang++.cmd
19/02/2021 14:42 428 i686-linux-android24-clang.cmd
19/02/2021 14:42 179 i686-linux-android26-clang
19/02/2021 14:42 183 i686-linux-android26-clang++
19/02/2021 14:42 432 i686-linux-android26-clang++.cmd
19/02/2021 14:42 428 i686-linux-android26-clang.cmd
19/02/2021 14:42 179 i686-linux-android27-clang
19/02/2021 14:42 183 i686-linux-android27-clang++
19/02/2021 14:42 432 i686-linux-android27-clang++.cmd
19/02/2021 14:42 428 i686-linux-android27-clang.cmd
19/02/2021 14:42 179 i686-linux-android28-clang
19/02/2021 14:42 183 i686-linux-android28-clang++
19/02/2021 14:42 432 i686-linux-android28-clang++.cmd
19/02/2021 14:42 428 i686-linux-android28-clang.cmd
19/02/2021 14:42 179 i686-linux-android29-clang
19/02/2021 14:42 183 i686-linux-android29-clang++
19/02/2021 14:42 432 i686-linux-android29-clang++.cmd
19/02/2021 14:42 428 i686-linux-android29-clang.cmd
19/02/2021 14:42 179 i686-linux-android30-clang
19/02/2021 14:42 183 i686-linux-android30-clang++
19/02/2021 14:42 432 i686-linux-android30-clang++.cmd
19/02/2021 14:42 428 i686-linux-android30-clang.cmd
19/02/2021 14:42 179 i686-linux-android31-clang
19/02/2021 14:42 183 i686-linux-android31-clang++
19/02/2021 14:42 432 i686-linux-android31-clang++.cmd
19/02/2021 14:42 428 i686-linux-android31-clang.cmd
19/02/2021 14:42 51,307,008 ld.exe
19/02/2021 14:42 51,307,008 ld.lld.exe
19/02/2021 14:42 87,413,760 liblldb.dll
19/02/2021 14:42 572,009 libwinpthread-1.dll
19/02/2021 14:42 1,579,520 libxml2.dll
19/02/2021 14:42 1,362,432 lldb-argdumper.exe
19/02/2021 14:42 97 lldb.cmd
19/02/2021 14:42 1,415,680 lldb.exe
19/02/2021 14:42 8,331,776 llvm-addr2line.exe
19/02/2021 14:42 13,378,048 llvm-ar.exe
19/02/2021 14:42 9,076,736 llvm-as.exe
19/02/2021 14:42 16,937,984 llvm-cfi-verify.exe
19/02/2021 14:42 1,395,712 llvm-config.exe
19/02/2021 14:42 7,606,784 llvm-cov.exe
19/02/2021 14:42 4,737,536 llvm-dis.exe
19/02/2021 14:42 11,976,192 llvm-dwarfdump.exe
19/02/2021 14:42 13,378,048 llvm-lib.exe
19/02/2021 14:42 9,990,656 llvm-link.exe
19/02/2021 14:42 8,714,752 llvm-modextract.exe
19/02/2021 14:42 13,467,648 llvm-nm.exe
19/02/2021 14:42 7,344,640 llvm-objcopy.exe
19/02/2021 14:42 15,574,016 llvm-objdump.exe
19/02/2021 14:42 4,390,912 llvm-profdata.exe
19/02/2021 14:42 13,378,048 llvm-ranlib.exe
19/02/2021 14:42 1,523,200 llvm-rc.exe
19/02/2021 14:42 9,350,656 llvm-readelf.exe
19/02/2021 14:42 9,350,656 llvm-readobj.exe
19/02/2021 14:42 6,747,648 llvm-size.exe
19/02/2021 14:42 1,349,120 llvm-strings.exe
19/02/2021 14:42 7,344,640 llvm-strip.exe
19/02/2021 14:42 8,331,776 llvm-symbolizer.exe
19/02/2021 14:42 4,934,144 python38.dll
19/02/2021 14:42 15,120,896 sancov.exe
19/02/2021 14:42 8,294,912 sanstats.exe
19/02/2021 14:42 1,792,512 x86_64-linux-android-as.exe
19/02/2021 14:42 181 x86_64-linux-android21-clang
19/02/2021 14:42 185 x86_64-linux-android21-clang++
19/02/2021 14:42 434 x86_64-linux-android21-clang++.cmd
19/02/2021 14:42 430 x86_64-linux-android21-clang.cmd
19/02/2021 14:42 181 x86_64-linux-android22-clang
19/02/2021 14:42 185 x86_64-linux-android22-clang++
19/02/2021 14:42 434 x86_64-linux-android22-clang++.cmd
19/02/2021 14:42 430 x86_64-linux-android22-clang.cmd
19/02/2021 14:42 181 x86_64-linux-android23-clang
19/02/2021 14:42 185 x86_64-linux-android23-clang++
19/02/2021 14:42 434 x86_64-linux-android23-clang++.cmd
19/02/2021 14:42 430 x86_64-linux-android23-clang.cmd
19/02/2021 14:42 181 x86_64-linux-android24-clang
19/02/2021 14:42 185 x86_64-linux-android24-clang++
19/02/2021 14:42 434 x86_64-linux-android24-clang++.cmd
19/02/2021 14:42 430 x86_64-linux-android24-clang.cmd
19/02/2021 14:42 181 x86_64-linux-android26-clang
19/02/2021 14:42 185 x86_64-linux-android26-clang++
19/02/2021 14:42 434 x86_64-linux-android26-clang++.cmd
19/02/2021 14:42 430 x86_64-linux-android26-clang.cmd
19/02/2021 14:42 181 x86_64-linux-android27-clang
19/02/2021 14:42 185 x86_64-linux-android27-clang++
19/02/2021 14:42 434 x86_64-linux-android27-clang++.cmd
19/02/2021 14:42 430 x86_64-linux-android27-clang.cmd
19/02/2021 14:42 181 x86_64-linux-android28-clang
19/02/2021 14:42 185 x86_64-linux-android28-clang++
19/02/2021 14:42 434 x86_64-linux-android28-clang++.cmd
19/02/2021 14:42 430 x86_64-linux-android28-clang.cmd
19/02/2021 14:42 181 x86_64-linux-android29-clang
19/02/2021 14:42 185 x86_64-linux-android29-clang++
19/02/2021 14:42 434 x86_64-linux-android29-clang++.cmd
19/02/2021 14:42 430 x86_64-linux-android29-clang.cmd
19/02/2021 14:42 181 x86_64-linux-android30-clang
19/02/2021 14:42 185 x86_64-linux-android30-clang++
19/02/2021 14:42 434 x86_64-linux-android30-clang++.cmd
19/02/2021 14:42 430 x86_64-linux-android30-clang.cmd
19/02/2021 14:42 181 x86_64-linux-android31-clang
19/02/2021 14:42 185 x86_64-linux-android31-clang++
19/02/2021 14:42 434 x86_64-linux-android31-clang++.cmd
19/02/2021 14:42 430 x86_64-linux-android31-clang.cmd
如您所见,唯一的 arm-linux-androideabi程序是 arm-linux-androideabi-as.exe这似乎有点奇怪。我什至尝试将此添加到我的 app/build.gradle根据建议 on this page .
        ndk {
abiFilters 'arm64-v8a'
}
我认为这意味着它只能使用 armv7a-linux-androideabi29 构建工具链。 arm-linux-androideabi the list of target triples 上甚至都没有提及.
这里发生了什么?

最佳答案

我真的不知道构建过程是如何工作的,但是我遇到了与您相同的错误,并通过以下方式修复了它:
工具\SDK 管理器\Android SDK\
然后取消选中“隐藏过时的软件包”
然后(希望)您会在列表末尾看到这个显眼的项目:
(这是我卸载后的截图)
enter image description here
如果您取消选中它并申请,这对我有用。
我猜最新的 NDK 更新有一个错误,这有效地逆转了最新的更新。你怎么看?彼此交谈。咖啡谈话。

关于android - 在 stripDebugDebugSymbols 步骤中找不到 arm-linux-androideabi 工具链,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66283145/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com