Package Android apk with additional executables

后端 未结 2 1351
天命终不由人
天命终不由人 2021-02-06 09:45

As a follow up to an earlier question (Android ioctl - root permissions and usage), is it possible to create a separate native executable and package it in an APK?

The a

2条回答
  •  名媛妹妹
    2021-02-06 10:14

    You can put it into assets and copy it to the app's private directory on first run. After you set the executable bit, you should be able to run it.

提交回复
热议问题