twinstar6980/Twinning

How to use Toolkit for Android?

Closed this issue · 4 comments

The document points out you should place some library in /system/lib64, but I am no way to do that as my phone can't mount system partition. Can I use another approach? Why don't you include these libraries in your app directly?

The shell gui is designed to dynamically load the core, and the user can specify the core path. If the core is built into the app, the shell gui needs to be updated every time the core is updated, which will cause some trouble.
If you are using the shell gui, you only need to place the core under /storage/emulated/0, the core has been successfully loaded in your figure, but the values of script and argument may be wrong, please check the documentation carefully

Could you give me a working example for the argument?

core: /storage/emulated/0/TwinStar/core
script: ?/storage/emulated/0/TwinStar/script/main.js
argument: /storage/emulated/0/TwinStar