dartpy icon indicating copy to clipboard operation
dartpy copied to clipboard

[Question] Loading android shared library

Open y3l1n4ung opened this issue 4 years ago • 3 comments

Due to this stackoverflow q/a , I think , I can also load lib from Termux and use in android.

y3l1n4ung avatar Aug 20 '21 17:08 y3l1n4ung

You are wanting to use this in plain dart on Android then? No flutter?

TimWhiting avatar Aug 20 '21 19:08 TimWhiting

No, I just want to load python lib from termux for my flutter app. Eg. 1.install python on termux 2.import python lib from termux just like in Linux and Window 3.and use in flutter app with your package I think you understand that. As of now, I copy android python lib from assets but when I run python command it show "import error " because I think python library or path need to be set (You advise).

y3l1n4ung avatar Aug 21 '21 05:08 y3l1n4ung

Yes the PYTHONPATH needs to be set.

TimWhiting avatar Aug 23 '21 17:08 TimWhiting