8,409 questions
Score of 2
0 answers
130 views
Android APK doesn't work after rezipping and signing with no other changes
I have an Android apk that I would like to modify at the byte level. However, even with no changes other than unzipping, rezipping, zip aligning and resigning it no longer works correctly (it starts ...
Score of 0
0 answers
116 views
How can I print silently on Android without using PrintManager or showing the system print dialog?
I'm building a print server app for Android. The app receives print jobs from another source and should send them directly to a connected USB printer.
I do not want to use Android's built-in ...
Score of 1
1 answer
152 views
Custom splash screen and icon not showing in Flet Android build
I am building an Android application using the Flet framework in Python. I am trying to customize the splash screen logo and the app icon, but after building the APK, the app still shows the default ...
Score of 0
0 answers
92 views
Clover Sandbox Dashboard: Infinite "Uploading..." spinner with 404 "No app with ID" and "NoSuchKey" errors
I am building a React.Native Bare workflow for a Clover POS integration. I am strictly following the Clover APK Guidelines, but I am unable to upload any APK to the Sandbox Developer Dashboard.
The ...
Score of 0
0 answers
298 views
libxposed API 101: "cannot find symbol" for getModuleContext() despite extending XposedModule
Suggested Answer:
Headline: Use getModuleApplicationInfo() instead of getModuleContext() in API 101
In libxposed API 101, the method getModuleContext() is indeed deprecated or removed from the base ...
Advice
0
votes
2
replies
133
views
Why Android system use OAT file instead of Dex file
I found a Stack Overflow question about the meaning of OAT files in Android : What does OAT mean?
But I’m still confused. Why does Android need Ahead-of-Time (AOT) compilation, and why does it add an ...
Score of 5
0 answers
204 views
Testers unable to install app via aab link but can install apk
I'm in testing phase of my android app. I've uploaded and aab for internal testing and shared link with the testers but a few testers report, they see the message "This app isn't available for ...
Score of 0
0 answers
85 views
How to add adaptive icons to an APK that doesn't have them?
I've been trying to modify an APK using the MT Manager app for a while now, but I'm having trouble applying adaptative icons.
I created the folder mipmap-anydpi-v26, and inside it I created a file ...
Score of 0
0 answers
71 views
Android apk with KMP module published in local Maven has system fonts included
For some inapparent reason since adding a Compose screen and KMP written module for shared business logic the size of the apk becomes huge and it does include all system fonts from Android itself. ...
Best practices
1
vote
8
replies
94
views
storing serialised data in a Java Android APK, possible? (advisable?)
I have an Android app. I uses a largish lookup table. It's in a contorted format but let's imagine it's a CSV.
At startup I read the data in, do various checks, then run though the data to clean it up....
Score of 0
1 answer
351 views
Can I delete an apk file without losing the original app [duplicate]
I downloaded an apk file for an existing app. If I uninstall or delete the apk file, will the original app still be on my phone? Would it revert to the old content?
Score of 0
1 answer
123 views
flutter build apk fails with resource linking error when using flutter_bluetooth_serial
I’m working on a Flutter app that uses Bluetooth Serial (flutter_bluetooth_serial).
When I run the app in debug mode with flutter run, everything works fine.
However, when I build the release APK ...
Score of 1
0 answers
186 views
DexGuard + Flutter: Code tampering still possible with ReFlutter & resigning
I’m working on an Android Flutter app and protecting it with DexGuard (Guardsquare).
The security team tested the app and reported that they can still perform code tampering using ReFlutter and then ...
Score of 0
0 answers
111 views
What is the difference between base-master.apk and base-master_2.apk?
The bundle split configuration:
bundle {
language {
enableSplit = false
}
density {
enableSplit = false
}
abi {
...
Score of 0
0 answers
100 views
package appears to be invalid: Attempt to read from field 'java.lang.String android.content.pm.PackageInfo.packageName' on a null object reference
I've got an Android Studio app that updates itself when new versions come out.
The update uses just fine on a few different older android versions except on Android Version 13.
I'm using a ...
Score of 0
1 answer
116 views
Ionic Angular components not rendering in APK
I'm new to ionic project, I'm trying to create a basic login page with 3 icons and input field, when I do ionic serve and check in chrome browser, it is working perfectly
now I try to convert as apk ...
Score of 0
0 answers
53 views
Android Studio generate signed apk build error with android.car.jar
My app builds fine with "Build APK(s)" menu option.
Whenever I try "Generate Signed APK..." the build fails with an error involving android.car.jar
Reading library jar [C:\Users\...
Score of 1
0 answers
150 views
React Native / Expo APK crashes immediately on launch but works fine in Expo Go (expo-updates disabled in AndroidManifest)
I built a React Native (Expo prebuild) app into an APK.
In Expo Go, the app runs fine (both debug + release JS).
But when I install either the debug APK or the release APK, the app crashes immediately ...
Score of 0
0 answers
51 views
Android APK built with EAS Build cannot connect to local API server, but Expo Go works fine. How to fix network security?
I have built a mobile app with React Native and Expo that consumes an API. When I create an APK and download the app on an Android device, I get the error:
Cannot connect to server try again later
...
Score of 2
0 answers
1071 views
Android App Fails 16 KB Page Size Check – How to Verify and Fix ELF Alignment? [duplicate]
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/...
Score of 0
0 answers
63 views
Expo Eas Build apk of my app doesn't connect to the backend on real device but it works fine on expo go
My project works well with expo go: tne connection with its backend is fine.
I created the android apk, installed it with "eas build --platform android --profile preview" on my mobile and ...
Score of 3
0 answers
124 views
What is Total Size and how can reduce it? [closed]
I'm developing a 2D game in Unity (version 6.1).
After building and installing the APK on my Android device, I noticed that the app takes up about 170MB of space. However:
The APK file is only 47MB.
...
Score of 1
1 answer
97 views
What can cause getExtras() to return null on the Intent posted back by PackageInstaller.Session.commit()
Trying to implement a nice user interface to install packages distributed on a USB stick, and followed this example:
https://android.googlesource.com/platform/development/+/refs/heads/main/samples/...
Score of 0
0 answers
84 views
Android System Monitoring: ADB polling vs. APK with Socket.IO - Which has lower performance overhead?
I need to collect various system metrics from an Android device, including:
Frame rate (FPS)
Memory usage
CPU frequency
Battery level
Battery voltage
Battery temperature
Battery current
Power ...
Score of 0
1 answer
91 views
Can't create a valid APK file with MAUI from a specific computer
I have a weird issue when I create an APK with .NET MAUI, I can't install in on my Android phone. Android offers to extract the files as if it was a ZIP file.
The weirdest part is that if I follow the ...
Score of 0
1 answer
148 views
Why are some Android APKs JAR archives and some are ZIP?
I am trying to modify Settings.apk of an Android 11 device to get rid of embedded suspicious likely malware URL in the code in order to disable potential control server communication.
The original ...
Score of -1
1 answer
309 views
Flutter Execution failed for task ':app:compileReleaseKotlin'
I am trying to build the apk --release file for my flutter app but im getting this issue
What went wrong:
Execution failed for task ':app:compileReleaseKotlin'.
A failure occurred while executing >...
Score of 0
1 answer
108 views
How can I find the cause of crash in APK build only?
I’m working on a React Native app, it works perfectly fine in development mode, but when I build and run the APK version on a real device, the app crashes immediately with no visible screen.
What’s ...
Score of 1
2 answers
365 views
get errors on "flutter build apk" while "flutter build web" works
I have an app that I have been using successfully in chrome (web).
I did have it working in apk (android) but now the build fails.
I have been getting multiple different errors and have tried many ...
Score of 0
0 answers
119 views
Flutter APK Build Fails Due to connectivity_plus Plugin
I have written the code for an app in Flutter, and now I want to build its APK. However, every time I try, I get an error related to the connectivity_plus plugin/library. I have tried updating and ...
Score of 0
0 answers
77 views
Encoding resources to binary on Android
I am in the process of making an app, and have almost finished it but got stuck with making my plaintext AndroidManifest.xml binary on Android itself, I have a Flutter project using some Kotlin code, ...
Score of 0
0 answers
605 views
React Native release build crashes with UnsatisfiedLinkError: dlopen failed: library "libreact_featureflagsjni.so" not found
I'm building a React Native app on Windows 10 using react-native 0.79.2 (same issue happens on 0.80.0), and my release APK installs but crashes immediately on launch. The crash logs show:
06-19 14:25:...
Score of 0
0 answers
44 views
onCreate doesn't get called after service restart
I have an issue with my service (JobIntentService) where the onCreate() method works fine on reboot (running Android-R-11), but once I force kill the APK (using the kill -9 command) or just do "...
Score of 0
1 answer
215 views
Missing classes detected while running R8 Flutter with Missing class proguard.annotation.KeepClassMembers on running "flutter build apk --release"
TERMINAL
~/StudioProjects/hsp_mgmt_kamranhccp
flutter build apk --release
ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are ...
Score of 0
2 answers
222 views
Flutter: Sequence contains more than one matching element
When i am trying to build the appbundle, i get this error:
Execution failed for task ':app:buildReleasePreBundle'.
> Sequence contains more than one matching element.
But when i try to build the ...
Score of 0
0 answers
191 views
Newly built armeabi-v7a APK won't install from file manager (old one works fine)
I'm trying to install a newly generated armeabi-v7a APK of my Flutter app on a Crosscall Android device, but I get an "internal error" when launching the install from the file manager or ...
Score of 0
0 answers
55 views
Discrepancy in Apk Size
I have an APK. My mac shows APK's size to be 35.4 MB. However, when I use Android Studio's App Analyzer, it shows APK size as 33.7 MB. Why this discrepancy?
Score of 0
1 answer
182 views
issue with gradle and boolean errors when trying to build apk,
I am trying to build an APK in android studio with flutter and gradle. I received the following errors and I am not sure how to resolve them. I got stuck in a loop changing the output formatting, ...
Score of 0
0 answers
194 views
How to modify an Android app (open source, Java) without rebuilding an APK?
I use Termux on Android to automate some tasks, specifically using file sharing with termux.
Currently, when I share a file with Termux, a dialog appears with various options (save, edit, etc.) that ...
Score of 0
1 answer
355 views
EX_TRANSACTION_FAILED, DEAD_OBJECT error with HIDL
I've looked up all the posts regarding this & also tried to catch DeadObjectException in my Kotlin class, but it hasn't helped. The HIDL implementation is wherein I'm calling the APK (kotlin) ...
Score of 0
1 answer
194 views
net::ERR_NAME_NOT_RESOLVED in React Native WebView (APK Release Mode)
I'm building a React Native app using Expo (managed workflow) that loads a TradingView chart using WebView. It works perfectly in development mode (expo start) and in the development build (eas build -...
Score of 1
2 answers
283 views
Issues with Permissions in flutter_health_connect: APK Needs to Be Updated
I’m developing a Flutter app using the flutter_health_connect package. I’ve followed the official guidelines, but I’m running into an issue. When I build the APK and try to access data, I can’t seem ...
Score of 0
1 answer
244 views
ProGuards/R8 mapping.txt file does not contain original method name anymore
I updated to the latest version of Android Studio and its ProGuard/R8 tool (compiler version 8.7.18). The mapping.txt file is still created when I create an apk file, but it does not contain the ...
Score of 0
0 answers
247 views
Encountering Flet Build APK Issue on Windows Machine
I am trying to build the android apk of a simple python flet application on my Windows 10 machine. However, despite the fact that I have installed Android Studio, flutter, Java SDK, gradle, accepted ...
Score of 0
0 answers
307 views
Error in Buildozer while compiling a Kivy app
I wrote an application using Kivy and I tried to compile it into an APK file using Buildozer (on Google Colab). I did encounter some errors, but I managed to solve them all. Then, 24 minutes into the ...
Score of 1
0 answers
85 views
Downloading APK file from diy rust server to android app results in End of Stream error
As the title says I'm trying, for both functionality and learning purposes, to use a rust server to "host" the newest version of my android app apk and download the apk to my phone when a ...
Score of 2
0 answers
183 views
Cannot build release.apk in flutter for my FYP project
I am making an application with Firebase using Android Studio for my FYP. My Flutter works fine in debug mode using Web. I want to build an apk file. But when building the apk file it shows the ...
Score of 0
1 answer
955 views
Unhandled SoftException java.lang.RuntimeException: React Native Instance has already disappeared: requested by Timing on APK React Native
I'm having a error on my apk build of my react native expo application, the error just happens on the apk, I can't reply on the development build. The error just happens specifically at least 5 ...
Score of 0
1 answer
431 views
Android 14: this app is not compatible with the latest version of android. check for an update or contact the apps developer
when I run apk(build from react native) in phone it has this error
this app is not compatible with the latest version of android. check
for an update or contact the apps developer
how to fix it?
Score of 1
0 answers
42 views
After building apk in flutter my application can't provide operations[example: calculate]. Showing only GUI
I just finished my first flutter app and I'm having trouble with the controls on my phone. Basically the app works fine on the emulator with all the operators and button functions.
Let me show you ...