dartpy icon indicating copy to clipboard operation
dartpy copied to clipboard

[Question] Loading android shared library

Open b14cknc0d3 opened this issue 3 years ago • 3 comments

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

b14cknc0d3 avatar Aug 20 '21 17:08 b14cknc0d3

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).

b14cknc0d3 avatar Aug 21 '21 05:08 b14cknc0d3

Yes the PYTHONPATH needs to be set.

TimWhiting avatar Aug 23 '21 17:08 TimWhiting