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
1401votes
31answers
1.3mviews

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 ...
user avatar
  • 14.4k
798votes
34answers
652kviews

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 ...
user avatar
  • 72.8k
685votes
8answers
333kviews

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 ...
592votes
24answers
554kviews

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?
user avatar
  • 7,369
574votes
31answers
322kviews

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 ...
user avatar
573votes
14answers
863kviews

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 ...
user avatar
  • 6,203
531votes
26answers
542kviews

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?
user avatar
  • 7,146
426votes
12answers
539kviews

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 ...
user avatar
  • 9,058
341votes
17answers
363kviews

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 ...
user avatar
  • 14.1k
309votes
21answers
134kviews

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 ...
user avatar
  • 6,218
309votes
18answers
682kviews

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 ...
user avatar
  • 3,365
288votes
7answers
212kviews

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?
user avatar
  • 2,985
288votes
16answers
171kviews

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 ...
user avatar
  • 6,071
279votes
13answers
476kviews

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 ...
user avatar
  • 6,516
267votes
29answers
78kviews

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 (...
user avatar
  • 2,693
265votes
5answers
114kviews

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) ...
user avatar
259votes
27answers
156kviews

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....
user avatar
  • 2,647
240votes
11answers
241kviews

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 ...
user avatar
  • 2,436
237votes
18answers
212kviews

Install Application programmatically on Android

Is possible to programmatically install a dynamically downloaded apk from a custom Android application.
user avatar
  • 3,329
235votes
24answers
197kviews

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 contents of AndroidManifest.xml, but seems it's not a text file. How can I extract the APK's package name?
user avatar
  • 21.8k
233votes
11answers
282kviews

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 ...
user avatar
  • 15k
229votes
41answers
122kviews

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 ...
user avatar
  • 3,169
219votes
38answers
362kviews

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 ...
user avatar
  • 12.3k
214votes
11answers
152kviews

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://...
user avatar
  • 2,728
209votes
10answers
89kviews

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 ...
user avatar
  • 39.3k
208votes
44answers
175kviews

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: ...
user avatar
  • 2,081
205votes
17answers
227kviews

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 ...
user avatar
  • 2,331
204votes
20answers
477kviews

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?
user avatar
  • 5,868
183votes
16answers
95kviews

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 ...
user avatar
  • 3,653
182votes
23answers
208kviews

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 ...
user avatar
  • 4,980
178votes
3answers
150kviews

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 ...
user avatar
  • 18k
174votes
33answers
201kviews

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 ...
user avatar
  • 11.2k
167votes
16answers
181kviews

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. ...
user avatar
166votes
31answers
328kviews

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?
user avatar
  • 2,144
159votes
4answers
261kviews

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!
user avatar
  • 16k
151votes
10answers
158kviews

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 ...
user avatar
151votes
2answers
60kviews

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 ...
user avatar
  • 22.8k
144votes
6answers
235kviews

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 ...
user avatar
  • 8,869
141votes
28answers
108kviews

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 ...
user avatar
  • 56.9k
135votes
15answers
279kviews

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 ...
user avatar
  • 17.9k
133votes
6answers
353kviews

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 ...
user avatar
  • 1,427
130votes
6answers
260kviews

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?
user avatar
  • 1,551
129votes
13answers
182kviews

How to view the contents of an Android APK file?

Is there a way to extract and view the content of an .apk file?
user avatar
  • 1,301
126votes
27answers
162kviews

Cannot install signed apk to device manually, got error "App not installed"

I'd like to publicate my app to GooglePlay but first i would like to do a last testing with the signed apk to ensure that all of the used API keys are working correctly with the release version (GMaps,...
user avatar
115votes
5answers
360kviews

How to install APK from PC?

I want to install an APK from PC to Android device. And because of user's Android and generally technical skills, I need to do it as automatically (silently) as possible. So how do I send an APK from ...
user avatar
  • 1,839
115votes
6answers
199kviews

How to sign an android apk file

I am trying to sign my apk file. I can't figure out how to do it. I can't find good in-depth directions. I have very little programing experience, so any help would be appreciated.
user avatar
  • 1,498
113votes
13answers
125kviews

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 ...
user avatar
  • 2,940

15 30 50 per page
1
2 3 4 5
157