1

I cross compiled a C library for Android. I copied the bin folder files to the Android xbin directory on a rooted device and I was able to use the library's commands. Can I do the same on a non rooted device through Android app/Android studio? I copied the files to the data/local/tmp directory but it did not work.

JoshDM
  • 4,939
  • 7
  • 43
  • 72
Doha
  • 325
  • 2
  • 13
  • Can you elaborate a bit more what you want to do? Usually you do this with the NDK and JNI – ligi Dec 13 '17 at 12:42
  • I did not use NDK because I wanted to use a Uclibc toolchain. I have used the toolchain to cross compile the library then tried it on a rooted device. – Doha Dec 13 '17 at 12:45

0 Answers0