mengrusheng
V2EX  ›  Android

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

  •  
  •   mengrusheng · Jan 6, 2015 · 13814 views
    This topic created in 4196 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   ·   2832 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 14:35 · PVG 22:35 · LAX 07:35 · JFK 10:35
    ♥ Do have faith in what you're doing.