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
269
votes
30 answers

Cause: buildOutput.apkData must not be null

My android application using Kotlin is throwing this exception when I try to Run 'app' in the emulator o in my cellphone. When I build my project it runs well, with no errors. I am using: SDK 28 (Android 9.0 (Pie)) Gradle 5.1.1 Gradle Plugin…
jzelar
  • 2,713
  • 2
  • 9
  • 6
267
votes
5 answers

Difference between signature versions - V1 (Jar Signature) and V2 (Full APK Signature) while generating a signed APK in Android Studio?

Please select at least one of the signature versions to use in Android Studio 2.3 Now while generating a signed APK in Android Studio, it's showing two options (CheckBox) namely 1. V1 (Jar Signature) and 2. V2 (Full APK Signature) as Signature…
Shirish Herwade
  • 11,461
  • 20
  • 72
  • 111
262
votes
11 answers

How do I get the APK of an installed app without root access?

I'm trying to extract the APK file of an installed Android app WITHOUT root permissions. I thought that this was impossible, because all APK files for non-system-apps are located in /data/app, and accessing this folder requires root permission. Then…
pinas
  • 2,708
  • 4
  • 21
  • 33
251
votes
39 answers

What is INSTALL_PARSE_FAILED_NO_CERTIFICATES error?

I was trying to change my default/main/startup (whatever you call it) activity by editing the androidmanifest.xml file. All i did was change the android:name property. however, this completely broke the entire app. when I try to install it fails and…
mtmurdock
  • 12,756
  • 21
  • 65
  • 108
250
votes
26 answers

Read the package name of an Android APK

I need to get the package name of an Android APK. I have tried to unzip the APK and read the contents of the AndroidManifest.xml file but it seems that it's not a text file. How can I extract the APK's package name?
Dagang
  • 24,586
  • 26
  • 88
  • 133
244
votes
15 answers

The apk must be signed with the same certificates as the previous version

I had uploaded my app to Google Play (back when it was called Android Market) some time ago. Today I updated the app, but I had deleted the previous keystore and created a new one. When uploading, it says the APK must be signed with the same…
artem
  • 16,382
  • 34
  • 113
  • 189
244
votes
18 answers

Install Application programmatically on Android

Is possible to programmatically install a dynamically downloaded apk from a custom Android application.
alkersan
  • 3,419
  • 3
  • 19
  • 23
236
votes
12 answers

Get Android .apk file VersionName or VersionCode WITHOUT installing apk

How can I get programmatically get the version code or version name of my apk from the AndroidManifest.xml file after downloading it and without installing it.
Big.Child
  • 2,948
  • 4
  • 19
  • 26
231
votes
3 answers

Difference between apk (.apk) and app bundle (.aab)

Recently Google brought up a new feature app bundle which is a pretty similar concept to APK except its flexibility and architectural differences. I have read out lots of blog/articles to understand how app bundle works in devices in comparison…
0xAliHn
  • 18,390
  • 23
  • 91
  • 111
230
votes
41 answers

The APK file does not exist on disk

When I am trying debug application on Android Studio gives this log output : The APK file /Users/MyApplicationName/app/build/outputs/apk/app-debug.apk does not exist on disk. I restarted Android Studio, but I can't solve this problem . How…
yusufonderd
  • 3,237
  • 4
  • 21
  • 34
219
votes
10 answers

Where does Android Studio save the ProGuard mapping file?

In Android Studio, where are the ProGuard mapping files generated after compiling a signed APK? I'm not sure if it isn't working or if I just forgot the file path, and my compulsory Google/Stack Overflow search did not answer this
CQM
  • 42,592
  • 75
  • 224
  • 366
218
votes
17 answers

Build and Install unsigned apk on device without the development server?

As I am new in react-native so if there is anything wrong in steps let me know. I have build a react native android app using the command as per documentation react-native android while running on device the following command was…
kAy_4337270
  • 2,461
  • 3
  • 12
  • 16
213
votes
20 answers

Does Android keep the .apk files? if so where?

After android installs an application from the Marketplace, does it keep the .apk file? Is there a standard location where Android would keep such files?
Gubatron
  • 6,222
  • 5
  • 35
  • 37
186
votes
17 answers

How to set versionName in APK filename using gradle?

I'm trying to set a specific version number in the gradle auto-generated APK filename. Now gradle generates myapp-release.apk but I want it to look something like myapp-release-1.0.apk. I have tried renaming options that seems messy. Is there a…
Coy
  • 3,703
  • 3
  • 14
  • 13
184
votes
22 answers

Upload failed You need to use a different version code for your APK because you already have one with version code 2

According to this answer How to solve "Your APK's version code needs to be higher than 2." in Google Play's Developer Console? I have just changed the version code from 2 to 3 and it failed to upload the build. This is my old manifest before I…
Ahmad Arslan
  • 4,498
  • 8
  • 38
  • 59