mengrusheng
V2EX  ›  Android

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

  •  
  •   mengrusheng · Jan 6, 2015 · 14542 views
    This topic created in 4344 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
    icedx
    Jan 6, 2015 via Android❤️1
    1
    . loadLibrary('dex')
    alex110
    alex110
    Jan 7, 2015
    2
    static {
    System.loadLibrary("jni");
    }
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1644 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 00:21 · PVG 08:21 · LAX 16:21 · JFK 19:21
    ♥ Do have faith in what you're doing.