mengrusheng
V2EX  ›  Android

如何在 jni 代码中调用 android 系统的 so 库

  •  
  •   mengrusheng · Jan 6, 2015 · 13875 views
    This topic created in 4209 days ago, the information mentioned may be changed or developed.

    比如我想调用/system/lib/libdex.so 中的方法去解析dex文件。不知是否可行,求大牛指点。

    2 replies    2015-01-07 10:51:48 +08:00
    icedx
        1
    icedx  
       Jan 6, 2015 via Android   ❤️ 1
    . loadLibrary('dex')
    alex110
        2
    alex110  
       Jan 7, 2015
    static {
    System.loadLibrary("jni");
    }
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2512 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 16:09 · PVG 00:09 · LAX 09:09 · JFK 12:09
    ♥ Do have faith in what you're doing.