• <bdo id='hG6Ac'></bdo><ul id='hG6Ac'></ul>
  • <small id='hG6Ac'></small><noframes id='hG6Ac'>

    1. <tfoot id='hG6Ac'></tfoot>

      <i id='hG6Ac'><tr id='hG6Ac'><dt id='hG6Ac'><q id='hG6Ac'><span id='hG6Ac'><b id='hG6Ac'><form id='hG6Ac'><ins id='hG6Ac'></ins><ul id='hG6Ac'></ul><sub id='hG6Ac'></sub></form><legend id='hG6Ac'></legend><bdo id='hG6Ac'><pre id='hG6Ac'><center id='hG6Ac'></center></pre></bdo></b><th id='hG6Ac'></th></span></q></dt></tr></i><div id='hG6Ac'><tfoot id='hG6Ac'></tfoot><dl id='hG6Ac'><fieldset id='hG6Ac'></fieldset></dl></div>
    2. <legend id='hG6Ac'><style id='hG6Ac'><dir id='hG6Ac'><q id='hG6Ac'></q></dir></style></legend>

        Android Studio:缺少剥离工具

        时间:2023-06-11

          <legend id='7dQst'><style id='7dQst'><dir id='7dQst'><q id='7dQst'></q></dir></style></legend>
            <i id='7dQst'><tr id='7dQst'><dt id='7dQst'><q id='7dQst'><span id='7dQst'><b id='7dQst'><form id='7dQst'><ins id='7dQst'></ins><ul id='7dQst'></ul><sub id='7dQst'></sub></form><legend id='7dQst'></legend><bdo id='7dQst'><pre id='7dQst'><center id='7dQst'></center></pre></bdo></b><th id='7dQst'></th></span></q></dt></tr></i><div id='7dQst'><tfoot id='7dQst'></tfoot><dl id='7dQst'><fieldset id='7dQst'></fieldset></dl></div>
                <tbody id='7dQst'></tbody>
              <tfoot id='7dQst'></tfoot>

                  <bdo id='7dQst'></bdo><ul id='7dQst'></ul>
                • <small id='7dQst'></small><noframes id='7dQst'>

                • 本文介绍了Android Studio:缺少剥离工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在使用终端命令 gradle clean assembleRelease 构建我的 android studio 代码时不断收到此警告:

                  I am constantly getting this warning while building my android studio code using terminal command gradle clean assembleRelease:

                  由于缺少 ABI 'ARMEABI' 的剥离工具,无法剥离库 'lib.so'.按原样打包.

                  请帮助我解决此警告.

                  注意:我知道这不会影响我的应用程序的行为,但是我的 APK 太庞大了,这肯定会帮助我减小 APK 的大小.所以我需要解决这个问题.

                  Note: I know this won't affect the behaviour of my app, but my APK is too bulky and this will surely help me reduce APK size. So I need this resolved.

                  推荐答案

                  默认安装的 NDK 似乎没有剥离已构建支持 ARMEABI 的二进制文件所需的工具,因此最终打包了整个库,这大大增加了构建的文件大小.

                  The default installed NDK doesn't seem to have the tools required to strip binaries that have been built with ARMEABI support, so it ends up packaging the whole library, which increases the built file size substantially.

                  我发现从 Android Studio -> 工具 -> SDK 管理器 -> SDK 工具安装NDK(并排)"工具可以解决这个警告,还可以减少构建的 APK 大小,尤其是对于 React Native项目.

                  I've found that installing the "NDK (Side by side)" tool from Android Studio -> Tools -> SDK Manager -> SDK Tools takes care of this warning and also reduces the built APK size, especially for React Native projects.

                  这篇关于Android Studio:缺少剥离工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:iPhone的汇编程序(.s)代码中的条件编译 - 如何? 下一篇:ARM、MIPS、x86 的 Android os.arch 输出?

                  相关文章

                • <small id='kVmG2'></small><noframes id='kVmG2'>

                  1. <tfoot id='kVmG2'></tfoot>
                    <i id='kVmG2'><tr id='kVmG2'><dt id='kVmG2'><q id='kVmG2'><span id='kVmG2'><b id='kVmG2'><form id='kVmG2'><ins id='kVmG2'></ins><ul id='kVmG2'></ul><sub id='kVmG2'></sub></form><legend id='kVmG2'></legend><bdo id='kVmG2'><pre id='kVmG2'><center id='kVmG2'></center></pre></bdo></b><th id='kVmG2'></th></span></q></dt></tr></i><div id='kVmG2'><tfoot id='kVmG2'></tfoot><dl id='kVmG2'><fieldset id='kVmG2'></fieldset></dl></div>
                    • <bdo id='kVmG2'></bdo><ul id='kVmG2'></ul>
                      <legend id='kVmG2'><style id='kVmG2'><dir id='kVmG2'><q id='kVmG2'></q></dir></style></legend>