I have followed the below steps
- Taken the header Minicap.hpp from /jni/minicap-shared/aosp/include/Minicap.hpp
- Taken the minicap.so from /jni/minicap-shared/aosp/libs/android-29/arm64-v8a (running the app in android 10)
- On launching the app, I tried to create minicap object using minicap_create(0) which returns null
I am stuck here. Please let me know how to create the Minicap object. Is my approach incorrect?
Is it required to copy any files to the android system?