-
Notifications
You must be signed in to change notification settings - Fork 36
Android
J-P Nurmi edited this page Sep 6, 2020
·
8 revisions
- Download and install the Android NDK
- Follow the instructions for building Autoconf projects
- See also Supported ABIs
- Finally, bundle the pre-built native library
- In other words, copy
.libs/libserialport.so
to<app>/android/app/src/main/jniLibs/<abi>
- In other words, copy
Depending on which ABIs you want to support, the final structure should be something like this:
<app>/android/app/src/main/jniLibs/
├── arm64-v8a
│ └── libserialport.so
├── armeabi-v7a
│ └── libserialport.so
├── x86
│ └── libserialport.so
└── x86_64
└── libserialport.so
Pre-built libraries: libserialport-android.zip