13,523 questions
Score of 0
1 answer
97 views
Build problem with android studio from android-ndk-r27c to android-ndk-r29
I am a little bit lost with Android setup using NDK.
I use gradle plugin version 7.2.2 and Gradle version 7.4. So I should be able to use ndkDir in the build.gradle file is the setup is done in local....
Score of 0
0 answers
166 views
Linking FFmpeg 8.1 CLI into an Android NDK Shared Library: Header Resolution and Symbol Errors
I am attempting to build a custom video processing engine for Android using FFmpeg 8.1. Instead of re-implementing the muxing logic using libavformat/libavcodec APIs, I want to "library-ify" ...
Advice
0
votes
2
replies
114
views
How to distinguish interface names of Hotspot and WiFi?
I have been working on a 1v1 Android game. In one of the game modes, one phone acts as the server and turns on it's Hotspot, whereas the other phone (the client) connects to the Hotspot of the server ...
Score of 1
1 answer
98 views
SIGSEGV in aidl-service-armnn-gpu when initializing TFLite NNAPI Delegate on specific Vendor Devices (Vivo/Mali)
I am developing a custom C++ Inference Engine for Android using the TensorFlow Lite C API. The engine is compiled as a shared library (.so) and loaded via JNI.
The engine works perfectly on Pixel and ...
Score of 0
1 answer
161 views
How to build a xtensa-esp32-elf toolchain that is able to run on Android aarch64-linux-android?
I used crosstool-ng to build a toolchain that is able to compile for xtensa-esp32 (target) and run on android 64 bit device (aarch64-linux-gnu). However it's compiled with -gnu gcc package, not with ...
Score of 1
1 answer
246 views
Cross-building GNU GCC on x86_64-pc-linux-gnu for aarch64-linux-android with Android NDK
There's a nice terminal app called Termux for android phones. The app provides a fully fonctional nix terminal and a package manager. The app dev is dead, and only some packages are maintained. You ...
Score of 0
1 answer
303 views
native lib 16kb alignment -- libsc-native-lib.so under arm64-va
I have been grappling with this odd and obscure lib for apk 16kb page size alignment -- libsc-native-lib.so
No, it is not a third party lib but all comes (' believe) with NDK / Android studio sdk.
...
Score of 2
1 answer
129 views
Invalid character escape '\U' when trying to build NDK example in Android Studio
I've made a fresh install of Android Studio Otter 2 Feature Drop on Windows 10 and then installed the NDK and CMake using the SDK manager in Android Studio. However, I'm not able to build any of the ...
Score of -1
1 answer
68 views
Could NOT find LibLZMA when building android ndk
I'm following this document https://android.googlesource.com/toolchain/llvm_android/+/refs/heads/llvm-r450784 to compile the NDK.
repo init --partial-clone --no-use-superproject -b llvm-toolchain -u ...
Score of 6
4 answers
5515 views
An error occurred while preparing SDK package NDK (Side by side) 29.0.14206865: Not in GZIP format
An error occurred while preparing SDK package NDK (Side by side) 29.0.14206865: Not in GZIP format. While trying to test my application on an Android phone in Flutter, I encountered this error:
...
Score of -1
1 answer
251 views
Android shared library build using NDK leads to loading failure
I'm working on a bluetooth library. This library is used by the service at runtime to talk to the controller.
The service binary is built in AOSP env with soong.
The library i have is generally logic ...
Score of 0
1 answer
571 views
can’t install the NDK because the file keeps getting corrupted
Packages to install: - NDK (Side by side) 27.0.12077973 (ndk;27.0.12077973)
Preparing "Install NDK (Side by side) 27.0.12077973 v.27.0.12077973".
Downloading https://dl.google.com/android/...
Score of 0
1 answer
119 views
Folder permissions failing even after requesting access was accepted
I've been beating my head against this problem for about a week with no visible path forward. For context I'm porting a C++ app to android NDK that has the requirement that it must save data in public ...
Score of 0
1 answer
302 views
Why is the android build insisting on NDK version 27.0
In my android app, I included a very simple native c++ module. This needs now to comply to the new 16 KB Google Play compatibility requirement
As far as I understood, I need to upgrade to NDK-Version ...
Score of 0
0 answers
127 views
mkottman/AndroLua: building from sources
I have a Lua integration inside my Android Application (basically printing to Bluetooth printer routines). I already has built .so libraries of AndroLua and it works fine. Recently Google sent a note ...