huangmingyou
V2EX  ›  Android

debug 参数导致 ndk 里面的 so 解压不完全

  •  
  •   huangmingyou · Jan 22, 2021 · 12410 views
    This topic created in 1952 days ago, the information mentioned may be changed or developed.
    一个包含 ndk 的 android 项目,设置了 extractNativeLibs=true; 当 debuggable=true 的时候,会解压所有 so 文件。
    当 debuggable=false 的时候,会解压部分 so 文件。
    有同学遇到过吗?
    1 replies    2021-01-26 10:17:22 +08:00
    huangmingyou
        1
    huangmingyou  
    OP
       Jan 26, 2021
    找到原因了,so 文件要以 lib 开头才会在 debuggable=false 的情况下安装。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5337 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 09:07 · PVG 17:07 · LAX 02:07 · JFK 05:07
    ♥ Do have faith in what you're doing.