Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
3 replies
83 views

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 ...
Radon's user avatar
  • 126
-1 votes
0 answers
103 views

I created a React Native project using React Native 0.84.1. When I run: npx react-native run-android the build fails with many C++ linker errors. Environment: React Native: 0.84.1 NDK version: 27.1....
Vijaysaichary Maroju's user avatar
1 vote
1 answer
81 views

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 ...
Muhammad Hassan's user avatar
0 votes
1 answer
121 views

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 ...
4ntoine's user avatar
  • 20.6k
1 vote
1 answer
176 views

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 ...
Olórin's user avatar
  • 3,920
0 votes
1 answer
225 views

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. ...
tech_geek's user avatar
  • 159
1 vote
0 answers
97 views

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 ...
Andreas's user avatar
  • 10.8k
-1 votes
1 answer
50 views

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 ...
SkyStar's user avatar
  • 37
6 votes
4 answers
5k views

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: ...
Mustafa OZKAYA's user avatar
-1 votes
1 answer
201 views

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 ...
mahoriR's user avatar
  • 4,625
0 votes
1 answer
504 views

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/...
Reva Fitriani's user avatar
0 votes
1 answer
96 views

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 ...
Grant Upson's user avatar
0 votes
1 answer
250 views

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 ...
user2808624's user avatar
  • 2,590
0 votes
0 answers
115 views

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 ...
Alexey Ignatyev's user avatar
0 votes
1 answer
146 views

I've cross-compiled an executable (AVR GCC) to run on Android arm64 device with aarch64-linux-gnu toolchain (not using Android NDK). file avr-g++ gives the following in "adb shell": file avr-...
4ntoine's user avatar
  • 20.6k
1 vote
0 answers
56 views

I'm working on VLC for Android. It have Decoding Acceleration feature, which uses hardware for decoding and CPU for rendering. I'm using AImageReader with AIMAGE_FORMAT_YUV_420_888 and MediaCodec ...
Mangal K's user avatar
0 votes
1 answer
96 views

I'm cross compiling avr-gcc to run on android arm64 devices with crosstools-ng on Ubuntu. While compiling i'm getting "g++: error: unrecognized command-line option '-Qunused-arguments'" ...
4ntoine's user avatar
  • 20.6k
1 vote
0 answers
1k views

I recently received a notice in my Play Console regarding the upcoming 16 KB memory page size requirement (screenshot attached). "Your app must support 16 KB memory page sizes by November 1, 2025....
Parveen Kumar's user avatar
0 votes
0 answers
24 views

I am trying to integrate GStreamer via JNI into an existing Android Studio project. My Android.mk file looks like this: LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := rtsp-...
NotABot's user avatar
3 votes
2 answers
2k views

Flutter Android App: 16KB Memory Page Compatibility Issue I got a Google warning saying: The app must support 16kb memory page sizes. I tested the app on an emulator that uses X86_64, which is ...
Moctar Traoré's user avatar
0 votes
0 answers
79 views

I am trying to run flutter build apk after having upgraded to flutter 3.32.0 Framework • revision be698c48a6 (4 months ago) • 2025-05-19 12:59:14 -0700 Engine • revision 1881800949 (4 months ago) • ...
a0poster's user avatar
0 votes
0 answers
1k views

I’m preparing my Unity Android app for Google Play’s new 16 KB memory page size requirement (for ARM64 native libraries). Setup Unity: 6000.1.13f1 → upgraded to 6000.2.2f1 Vuforia: 10.25.4 → upgraded ...
Dhiren Jakhariya's user avatar
2 votes
1 answer
4k views

When I launch my APK on emulator, Android Studio says: APK app.apk is not compatible with 16 KB devices. Some libraries have LOAD segments not aligned at 16 KB boundaries: This message is followed ...
RusArtM's user avatar
  • 1,388
2 votes
0 answers
1k views

When I run my app in Android Studio, I see this notification: APK my_app.apk is not compatible with 16 KB devices. Some libraries have LOAD segments not aligned at 16 KB boundaries: dump_syms/linux/...
codophile's user avatar
1 vote
1 answer
1k views

I'm an partially sighted programmer who is far happier with a command line than an IDE, and finds IDE build systems very confusing. I'm successfully building shared libraries using the Android NDK ...
John Dallman's user avatar
0 votes
0 answers
341 views

I recently updated Flutter to version 3.32.8 and removed all old Android SDK files. After reinstalling the Android SDK, I ran my first Flutter project, and Android Studio/Gradle started downloading ...
Lolia's user avatar
  • 1
1 vote
1 answer
182 views

I'm trying to connect to an AIDL service for the first time, and I'm afraid that I might be doing something wrong, even though, on the surface level, everything seems to be working fine. Am I doing ...
136's user avatar
  • 1,236
1 vote
0 answers
54 views

I want to build a Android native library which contains a prebuild so files, for example librga. And package it to an aar. This aar should: Contains librga.so and headers. I write some jni interface ...
祖国瑞's user avatar
1 vote
0 answers
107 views

I'm trying to set up Qt Creator for Android development using Qt 6.9.1 on Windows 10. The SDK, NDK, and emulator are all detected correctly in Edit > Preferences > Devices > Android. However, ...
Ramao Junior's user avatar
19 votes
3 answers
34k views

I've checked the migration guide, and already ensured my Android Gradle Plugin (AGP) version is 8.5.1 or higher; mine is at 8.7.3. The second thing I've ensured is that the alignment of ELF segments ...
rusty's user avatar
  • 1,525
2 votes
0 answers
63 views

I'm adding imagereader support in VLC-Android decoder pipeline. VLC has OutThread for dequeuing output and another thread for queuing input. When buffers are used dequeue_out (wrapper for ...
Mangal K's user avatar
0 votes
0 answers
37 views

I am trying to upgrade the built-in libjpeg-turbo version from 1.5.0 to 2.1.0 to improve MJPEG decoding performance. What I did: 1. Replaced the folder -> Removed libjpeg-turbo-1.5.0 -> ...
Atul Singh's user avatar
0 votes
0 answers
43 views

I recently upgraded from libjpeg-turbo 1.5.0 to 3.0.2 and attempted to integrate libturbojpeg.so into an Android Studio project using ndk-build. However, the build process fails during ndkClean or ndk-...
Atul Singh's user avatar
0 votes
1 answer
344 views

I want to compile Android 4.19 kernel in Ubuntu, but after I download NDK toolchain zip for Linux and extract, I didn't find the aarch64-linux-android folder. What should I do? Here is the toolchian ...
Sunita Mondal's user avatar
0 votes
0 answers
262 views

I'm automating the Android build process for an SDL3-based project without using Gradle. While SDL provides an Android project template, it doesn't fully cover my case, so I'm customizing it to ...
Bruno Perković's user avatar
10 votes
8 answers
7k views

After upgrading to Flutter 3.32.0, Dart 3.8.0, and DevTools 2.45.1, I'm encountering an issue when building a release app bundle (AAB). The build fails with this error: Release app bundle failed to ...
Sukaina Ahmed's user avatar
2 votes
3 answers
6k views

I am trying to build a release version of flutter app. And I get the warning message: Your project is configured with Android NDK 26.3.11579264, but the following plugin depends on a different Android ...
BambinoUA's user avatar
  • 7,295
1 vote
0 answers
50 views

Using both OnEditorActionListener, TextWatcher, and overriding key callbacks on everything I can think of, I'm able to pick up on typed text changes EXCEPT for ENTER key with the following code: // ...
Mike Weir's user avatar
  • 3,208
3 votes
3 answers
3k views

I have a problem with my Flutter app picks up/installs ndkversion 26 by default and I have issues with some libraries need at least 27. I tried to go to /android-sdk/ndk and remove them all, also used ...
lovecode's user avatar
  • 4,031
0 votes
0 answers
52 views

When my Android game does an in-app update it fails to relaunch on some devices. Here's the logcat from two devices, one that succeeds and one that fails to relaunch. Samsung S24 - successfully ...
Bungles's user avatar
  • 2,329
4 votes
1 answer
123 views

I'm migrating some code from Qt 6.2.2 to 6.9.0 under Android. I have some code looking in the application folder for .so files (for potential plugins to be loaded). This code used to iterate the app ...
jpo38's user avatar
  • 21.9k
0 votes
1 answer
206 views

My app is a game that consumes a native.so file and has a JNI layer. Whenever the OS kills my app (for example during an in-app update), I see this warning in logcat. What does it mean and how can I ...
Bungles's user avatar
  • 2,329
0 votes
2 answers
228 views

I am creating a shared library for aarch64-linux-android target. After setting the linker to the linker provided by the android NDK and configuring the path to the prebuilt native android libraries ...
Radon's user avatar
  • 126
12 votes
1 answer
8k views

Problem: Your project is configured with Android NDK 26.3.11579264, but the following plugin(s) depend on a different Android NDK version: - connectivity_plus requires Android NDK 27.0.12077973 - ...
Yasser Mohamed's user avatar
1 vote
2 answers
330 views

I have created a simple app. I choose one of my android emulator to start. The emulator started and appear successfully. Then I choose "run without debugging" It will say nothing and ...
Prabath Kavinda's user avatar
0 votes
0 answers
36 views

I am trying to create a native library for Android from matrix-rust-sdk. After days of trying to get the package and its dependencies to compile, I finally managed to do so using the following script ...
LiterallyCode's user avatar
2 votes
1 answer
358 views

I am trying to assemble and run a simple Hello World program on my Android phone. My host laptop is a Ubuntu 22.04 64 bit system. I downloaded the android-ndk-r27c and extracted it to my Android ...
Thermal_insulator's user avatar
0 votes
1 answer
214 views

Launching lib\main.dart on sdk gphone64 x86 64 in debug mode... FAILURE: Build failed with an exception. Where: Build file 'C:\Users\KimoStore\StudioProjects\flutter_course_1\android\build.gradle.kts'...
Kerollos Melad's user avatar
1 vote
0 answers
73 views

Sorry, I use Google translator. I created a ready-made example of Native C++ from a template in Android Studio, Windows 10 x64, SmartPhone Cubot C30 Android 10 аnd TechnoPova5 Android 14. I inserted ...
ALBa's user avatar
  • 11
1 vote
0 answers
84 views

I am working on an Android project which builds native libMain.so using CMake. In my CMakeLists.txt, I link main target with many other static libraries like boost. // main CMakeLists.txt add_library(...
Vivek Mangal's user avatar

1
2 3 4 5
271