Hi Joe, Thanks yo so much, that certainly helps! Aside of being able to unpack the libraries to the directory of the unpacked apk, apparently, I could also just copy it to the folder of the apk, without any issues. I thought this would have been forbidden by Android, but apparently not:
~/tmp/j $ cp lib/armeabi-v7a/lib* /data/user/0/com.jsoftware.j.android/app_jandroid/libexec/armeabi-v7a/ ~/tmp/j $ jcon i. 3 0 1 2 Perhaps it would be handy having all libraries together with the executables per default? Jan-Pieter On Fri, Jan 21, 2022, 14:10 Joe Bogner <[email protected]> wrote: > Hey Jan-Pieter, > > I had the same error message. Here is a workaround that worked for me > > wget http://www.jsoftware.com/download/j903/install/jandroid.apk > > unzip jandroid.apk # it will unzip to the current dir and may clutter up > copy libs into bin folder > > Here is my terminal session after step 1 and 2 > > $ cd /data/data/com.termux/files/home/assets/libexec/arm64-v8a > > $ pwd > /data/data/com.termux/files/home/assets/libexec/arm64-v8a > > > $ ls > hostdefs hostdefs-nopie jconsole jconsole-nopie netdefs netdefs-nopie > > $ cp ../../../lib/arm64-v8a/lib* . > > $ ls > hostdefs jconsole libj.so libjpcre.so libtsdll.so > netdefs-nopie > hostdefs-nopie jconsole-nopie libjnative.so libjpcre2.so netdefs > > $ ./jconsole > |file access error > | 0!:0 y > 1 > 1 > i. 10 > 0 1 2 3 4 5 6 7 8 9 > > > Hope this helps > > > > > > On Fri, Jan 21, 2022, 7:03 AM Jan-Pieter Jacobs < > [email protected]> > wrote: > > > In the GUI, I get: > > > > LIBFILE > > > /data/app/com.jsoftware.j.android-YDkppSYr77E0fPKoW9j89w==/lib/arm/libj.so > > > > > > which does not correspond to the path in the error message: > > > > $ jcon > > > > Load library /mnt/asec/com.jsoftware.j.android-19/lib/libj..so failed: No > > such file or directory > > > > I also tried reinstalling the APK, but that didn't change anything. > > > > Jan-Pieter > > > > On Fri, Jan 21, 2022, 11:36 bill lam <[email protected]> wrote: > > > > > the noun LIBFILE should give the full file name of the libj.so but I > > didn't > > > try using jconsole like that. > > > > > > For testing and debug I usually use adb. > > > > > > > > > On Fri, Jan 21, 2022, 6:26 PM Jan-Pieter Jacobs < > > > [email protected]> > > > wrote: > > > > > > > Yesterday, I had the brilliant idea of trying out android 10 on my > > phone. > > > > Now, I can't get jconsole to run anymore in my Termux setup (which > used > > > to > > > > work fine in android 9). > > > > > > > > It errors as follows: > > > > jcon > > > > Load library /mnt/asec/com.jsoftware.j.android-19/lib/libj..so > failed: > > No > > > > such file or directory > > > > > > > > jcon is an alias I set up as: > > > > ~ $ alias > > > > alias > > > > > > > > > > > > > > jcon='/data/user/0/com.jsoftware.j.android/app_jandroid/libexec/armeabi-v7a/jconsole' > > > > > > > > The main jandroid app does work without issues. However, I generally > > use > > > > Termux to have access to Tmux and Vim, which I find more pleasant > than > > > the > > > > built-in editor of jandroid. > > > > > > > > I tried looking at permissions both for jandroid and termux (storage > > > > allowed for both, no others requested), but it still doesn't work. I > > also > > > > have no clue about this /mnt/asec/ directory (exists but is empty). > > > Perhaps > > > > something changed in Android that renders jconsole unable to load > libj? > > > > > > > > Does anyone have an idea how to solve this? > > > > > > > > Thanks, > > > > > > > > Jan-Pieter > > > > > ---------------------------------------------------------------------- > > > > For information about J forums see > http://www.jsoftware.com/forums.htm > > > > > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
