下面是官方的描述,所以你可以将libgadget.so, libgadget.config.so放到data/data/pkg/下面,然后这个path路径使用相对路径就可以了 path: string specifying the filesystem path to the script to load. May also be a path relative to where the Gadget binary resides. Specifying a relative path on iOS will first look for the script relative to the app’s Documents directory. This means you can use iTunes file sharing to upload an updated version of the script, or update it by vending the whole container through AFC, which is allowed for debuggable apps. This is especially useful together with