Questions tagged [apk]

An .apk file extension denotes an Android Package (APK) file. This file format, a variant of the JAR format, is used for distributing and installing bundled components onto the Android operating system. For questions related to the Alpine Package Keeper, use the tag [alpine-package-keeper]

Android Application Package

An apk file extension denotes an Android Application Package (APK) file. This file format, a variant of the JAR format, is used for distributing and installing bundled components onto the Android operating system. For questions related to the Alpine Package Keeper, use .

Resources

7795 questions
3
votes
1 answer

Check if Android app is installed by playstore

How can I check if my app is installed by the Google Playstore or just with the apk?
user3531864
  • 167
  • 3
  • 11
3
votes
1 answer

Android apk incremental update via Expansion files?

I am building an Android application that will be distributed in a controlled environment. (i.e. app will be pre-installed on specific devices that will be given out). The app will be installed outside of Play store. The final apk will be ~50MB but…
bond
  • 11,236
  • 7
  • 48
  • 62
3
votes
0 answers

Best way to sign an apk using ant in a build.gradle file

I have a project I recently had to convert from using a build.xml and custom_rules.xml to a build.gradle version in android studio. It was a pain in the @$$. There is very little documentation right now thats put together in a way to make it easy to…
James andresakis
  • 5,335
  • 9
  • 53
  • 88
3
votes
3 answers

Disable & enable Google Play system apps or 3rd Party apps in android

As we known, On devices running Android 4.0 and higher, you can disable pre-installed Google Play system apps through your device Settings. After a system app has been disabled, it will be hidden on your device. steps for Disable & enable Google…
Mr X
  • 1,053
  • 2
  • 11
  • 24
3
votes
1 answer

Packaging Wearable Apps with Ant

According to Packaging Wearable Apps it is possible to package Wearable apps with android gradle plugin. Is it also anyhow possible with Ant?
sealskej
  • 7,281
  • 12
  • 53
  • 64
3
votes
0 answers

how to update system application with a JNI library?

We have a custom Launcher application that is compiled as part of the AOSP. This launcher also requires a JNI library to function. Example: /system/app/mylauncher.apk /system/lib/libmylauncher.so If this was a "normal" Eclipse application with a…
acurtis
  • 151
  • 2
  • 7
3
votes
6 answers

Why signed android apk is not running on emulator

I have made a signed apk of an android project. Whenever my client try to run it on the emulator, he faces the following error message: D:\Android\android-sdk- windows\tools>adb install -r abc.apk 500 KB/s (6940708 bytes in 13.534s) pkg:…
Muhammad Maqsoodur Rehman
  • 33,681
  • 34
  • 84
  • 124
3
votes
1 answer

APK contains unused resources

Yes, I saw that the similar question had been asked some years a go, but was unanswered, so I just had to give it another shot. I am quite annoyed with the fact that the .apk file for the simple Android app I am building has 4MB in size. When I…
nebo.milic
  • 33
  • 3
3
votes
1 answer

APK checksum- Binary Code Protection

How can i calculate the CheckSum of my APK file in android? I want to calculate the APK checksum and compare it everytime my app. executes to see if some one has modified the binary code? How can i calculate check sum and achieve this?
Puneet Sahota
  • 53
  • 1
  • 9
3
votes
0 answers

Error when uploading App

I'm trying to update my application but it is not working. The developer console is showing an error: Failed to run aapt dump badging: ERROR: dump failed because assets could not be loaded I've searched for solutions but couldn't find any. Any…
user3527860
  • 65
  • 1
  • 6
3
votes
1 answer

Android Multiple APKs (density specific)

My game is still in development, however the APK is likely to end up at around 100-150MB. Therefore, I was considering using an expansion file, however these are saved to a public location and not as secure as APKs. Therefore I have decided to take…
SingleWave Games
  • 2,618
  • 9
  • 36
  • 52
3
votes
2 answers

GeneXus build for Android fails with "could not find \platform-tools\zipalign.exe"

After updating to SDK Tools 23 (or newer), whenever I try to build an SD application targeting Android with GeneXus, I get the following message after compilation: error: Could not find: \platform-tools\zipalign.exe Command: zipalign 4…
matiash
  • 54,791
  • 16
  • 125
  • 154
3
votes
0 answers

prevent android app from upgrading from older versions

We have an Android app for which we release an upgrade every few months. We recently concluded that there are several users still running our previous versions of our app with unsupported features. What is working out to be expensive for us is to…
3
votes
2 answers

How to rezip an APK file?

I have 2 APK files, both just different versions of the same project. I need to replace some pictures and layout xml pages in the RES folder of one of them using the files from the other. While I can unzip both of them no problem in Windows 7, my…
Greg
  • 83
  • 1
  • 10
3
votes
1 answer

How can I list all 3rd party jars in an apk?

Given an apk file, is there any way to list all jar references in it? I can't figure out a way to do it with aapt. I guess there's a possible complicated route involving dex to jar conversion but I was wondering if there's something simpler.
Johnny
  • 7,073
  • 9
  • 46
  • 72