V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
huangmingyou
V2EX  ›  Android

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

  •  
  •   huangmingyou · Jan 22, 2021 · 12324 views
    This topic created in 1923 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   ·   5417 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 78ms · UTC 09:04 · PVG 17:04 · LAX 02:04 · JFK 05:04
    ♥ Do have faith in what you're doing.