Skip to main content

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]

Filter by
Sorted by
Tagged with
1490 votes
29 answers
1.5m views

Is there a way to get the source code from an APK file?

The hard drive on my laptop just crashed and I lost all the source code for an app that I have been working on for the past two months. All I have is the APK file that is stored in my email from when ...
Frank Bozzo's user avatar
  • 15.3k
843 votes
36 answers
756k views

How do you install an APK file in the Android emulator?

I finally managed to obfuscate my Android application, now I want to test it by installing the APK file and running it on the emulator. How can I install an APK file ...
aryaxt's user avatar
  • 77.2k
705 votes
26 answers
718k views

How do I get an apk file from an Android device?

How do I get the apk file from an android device? Or how do I transfer the apk file from device to system?
Finder's user avatar
  • 8,529
685 votes
8 answers
341k views

Android error: Failed to install *.apk on device *: timeout

I'm getting this error from time to time and don't know what causing this: When trying to run/debug an Android app on a real device (Galaxy Samsung S in my case) I'm getting the following error in the ...
679 votes
14 answers
1.1m views

Install an apk file from command prompt?

I want to install a file using the Windows command line. First I want to build after compiling all the .jar files to create an .apk file for an Android application without using Eclipse. Does anyone ...
Max's user avatar
  • 7,263
618 votes
34 answers
393k views

How to create a release signed apk file using Gradle?

I would like to have my Gradle build to create a release signed apk file using Gradle. I'm not sure if the code is correct or if I'm missing a parameter when doing gradle build? This is some of the ...
Jan-Terje Sørensen's user avatar
568 votes
28 answers
648k views

INSTALL_FAILED_NO_MATCHING_ABIS when install apk

I tried to install my app into Android L Preview Intel Atom Virtual Device, it failed with error: INSTALL_FAILED_NO_MATCHING_ABIS What does it mean?
Peter Zhao's user avatar
  • 7,536
429 votes
12 answers
542k views

How to build an APK file in Eclipse?

When I develop the project using Eclipse, the APK file goes on the emulator. But I want to upload my application to a real device. Is there a tool to build an APK file? What is the process? Or is it ...
sean's user avatar
  • 9,248
382 votes
18 answers
431k views

How to view AndroidManifest.xml from APK file?

Is it possible to view Androidmanifest.xml file? I just changed the extension of the apk file to zip. This zip file contains the Androidmanifest.xml file. But I am unable view the contents of ...
bharath's user avatar
  • 14.4k
375 votes
29 answers
189k views

This version of the application is not configured for billing through Google Play

When I try to run my application with in-app billing I am getting the error: "This version of the application is not configured for billing through Google Play. Check the help center for more ...
Gatekeeper's user avatar
  • 6,958
327 votes
9 answers
275k views

How do I verify that an Android apk is signed with a release certificate?

How can I check that an Android apk is signed with a release and not debug cert?
Vadivelan's user avatar
  • 3,375
321 votes
17 answers
709k views

Build unsigned APK file with Android Studio

I'm developing an Android app with the Android Developer Tool. Now I tried the new Android Studio, everything works fine if connect my smartphone with the PC and directly run the program in the ...
klange's user avatar
  • 3,485
295 votes
12 answers
544k views

Reverse engineering from an APK file to a project

I accidently erased my project from Eclipse, and all I have left is the APK file which I transferred to my phone. Is there a way to reverse the process of exporting an application to the .apk file, so ...
Marko Cakic's user avatar
  • 7,036
293 votes
16 answers
175k views

How to deal with INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES without uninstall?

I tried to reinstall an apk $adb install -r new.apk And it shows the error: Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES] One solution is to uninstall and install the new.apk, that ...
Johnny's user avatar
  • 6,309
284 votes
28 answers
194k views

ADB Install Fails With INSTALL_FAILED_TEST_ONLY

I am having issues installing an apk to my device. adb install <.apk> Using the above command returns the following: 5413 KB/s (99747 bytes in 0.017s) pkg: /data/local/tmp/AppClient....
evve's user avatar
  • 2,906
273 votes
12 answers
321k views

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 ...
pinas's user avatar
  • 2,994
270 votes
30 answers
81k views

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 (...
jzelar's user avatar
  • 2,723
268 votes
5 answers
123k views

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) ...
Shirish Herwade's user avatar
266 votes
41 answers
461k views

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 ...
mtmurdock's user avatar
  • 13k
256 votes
26 answers
244k views

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'...
Dagang Wei's user avatar
247 votes
18 answers
232k views

Install Application programmatically on Android

Is possible to programmatically install a dynamically downloaded apk from a custom Android application.
alkersan's user avatar
  • 3,449
247 votes
3 answers
225k views

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 ...
0xAliHn's user avatar
  • 18.9k
246 votes
16 answers
311k views

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 ...
artem's user avatar
  • 16.7k
241 votes
12 answers
190k views

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. <manifest xmlns:android="http://...
Big.Child's user avatar
  • 2,998
230 votes
41 answers
128k views

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 ...
yusufonderd's user avatar
  • 3,247
226 votes
10 answers
105k views

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 ...
CQM's user avatar
  • 43.7k
219 votes
19 answers
284k views

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 ...
kAy_4337270's user avatar
  • 2,471
215 votes
20 answers
518k views

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's user avatar
  • 6,349
212 votes
45 answers
181k views

How do I solve the INSTALL_FAILED_DEXOPT error?

I am developing an Android application using Android 2.2, my application APK size is 22.5 MB, and I would like to create a new build for a Samsung tablet. I got the following error: ...
john's user avatar
  • 2,121
186 votes
17 answers
100k views

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 ...
Coy's user avatar
  • 3,703
184 votes
22 answers
227k views

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 ...
Ahmad Arslan's user avatar
  • 4,528
178 votes
17 answers
204k views

How to check programmatically if an application is installed or not in Android?

We have installed applications programmatically. If the application is already installed in the device the application is open automatically. Otherwise install the particular application. Guide Me. ...
Sathish Sathish's user avatar
177 votes
33 answers
216k views

Application Installation Failed in Android Studio

Yesterday my app was running perfect from Android Studio but today when I started working on my app and running it i am getting error message continuously Installation failed with message Failed to ...
Kapil Rajput's user avatar
  • 11.5k
175 votes
7 answers
302k views

How to Sign an Already Compiled Apk

I've decoded an APK with apktool (as the original source code was lost) so I could fix some issues with the layout xml files. I've then rebuilt it back up with apktool and when I tried to install it ...
svarog's user avatar
  • 9,722
173 votes
11 answers
285k views

Generate an APK file from an AAB file (Android app bundle)

Is there a way to generate an APK file from an Android Application Bundle (AAB) via Terminal or using Android Studio?
Jayanth's user avatar
  • 6,162
167 votes
31 answers
337k views

Apk location in New Android Studio

I started using new Android Studio and cant find the APK of the application in IDE,where it actually locates?
immutable's user avatar
  • 2,184
162 votes
4 answers
263k views

How to run .APK file on emulator [duplicate]

Possible Duplicate: How do you install an APK file in the Android emulator? I download an APK file and I want to run it on an Android emulator but I don't know how. Please help me. Thanks!
mahdi 's user avatar
  • 16.3k
157 votes
10 answers
175k views

install / uninstall APKs programmatically (PackageManager vs Intents)

My application installs other applications, and it needs to keep track of what applications it has installed. Of course, this could be achieved by simply keeping a list of installed applications. But ...
Håvard Geithus's user avatar
155 votes
12 answers
118k views

Installation failed with message Error: android.os.ParcelableException: java.io.IOException: Requested internal only, but not enough space

I was getting the message > Installation failed with message Failed to establish session. so following some responses to the problem I disabled Instant Run and I started getting > ...
Gabriel Vicente Albasini Garau's user avatar
151 votes
2 answers
61k views

why unaligned apk is needed?

Android gradle produces apk in two binaries: unaligned and aligned. The document said... Once you have signed the APK with your private key, run zipalign on the file. This tool ensures that all ...
Youngjae's user avatar
  • 24.8k
145 votes
14 answers
226k views

How to view the contents of an Android APK file?

Is there a way to extract and view the content of an .apk file?
noob's user avatar
  • 1,461
143 votes
14 answers
297k views

How to get .apk and .ipa file from flutter?

I am new to flutter programming and I've created a demo app, its running fine on both android and iOS devices. I want to see .apk and .ipa file in flutter. Can anyone help me to get these files from ...
Ammy Kang's user avatar
  • 12.3k
142 votes
7 answers
425k views

How to convert .pfx file to keystore with private key?

I need to sign Android application (.apk). I have .pfx file. I converted it to .cer file via Internet Explorer and then converted .cer to .keystore using keytool. Then I've tried to sign .apk with ...
Ola's user avatar
  • 1,517
141 votes
28 answers
109k views

Android Studio - local path doesn't exist

After updating Android Studio to 0.2.4 I can't get my project to deploy. There is a complete mismatch of the apk filename. Waiting for device. Target device: 0146B0020E010020 Uploading file local ...
WarrenFaith's user avatar
  • 57.6k
141 votes
16 answers
306k views

Android App Not Install. An existing package by the same name with a conflicting signature is already installed

In my emulator, when I try to do an upgrade of my apk programmatically. I get: Android App Not Install. An existing package by the same name with a conflicting signature is already installed I'm ...
James Oravec's user avatar
  • 20.2k
138 votes
6 answers
286k views

Decompile .smali files on an APK [duplicate]

I downloaded APK Manager that lets me unpack APK files. But it only unpacks it and doesn't decompile the .smali file to .java. Is it possible to decompile the .smali to .java?
BimoZX's user avatar
  • 1,631
135 votes
18 answers
168k views

Android Error Building Signed APK: keystore.jks not found for signing config 'externalOverride'

I get this error when I try to Build Signed APK. I recently upgraded to API 23 but Generated APK:s successfully after that. Im confused. Asking for help and advise how to solve this problem. Here's ...
Waffles.Inc's user avatar
  • 3,420

1
2 3 4 5
170