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
177
votes
33 answers

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 establish session. Screen : On click OK getting…
Kapil Rajput
  • 11,429
  • 9
  • 50
  • 65
177
votes
17 answers

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. I have no idea. Thanks.
Sathish Sathish
  • 2,251
  • 3
  • 20
  • 21
167
votes
31 answers

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
  • 2,174
  • 3
  • 20
  • 27
161
votes
4 answers

How to run .APK file on emulator

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
  • 16,257
  • 15
  • 52
  • 73
161
votes
6 answers

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 on my device (using adb: adb install appname.apk)…
svarog
  • 9,477
  • 4
  • 61
  • 77
158
votes
11 answers

Generate Apk file from aab file (android app bundle)

Is there any way to generate an apk file from an Android Application Bundle (aab) via Terminal or using Android Studio?
Jayanth
  • 5,954
  • 3
  • 21
  • 38
155
votes
10 answers

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 this should not be necessary! It should be the…
Håvard Geithus
  • 5,544
  • 7
  • 36
  • 51
151
votes
2 answers

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 uncompressed data starts with a particular byte…
Youngjae
  • 24,352
  • 18
  • 113
  • 198
146
votes
12 answers

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 > Installation failed with message Error:…
142
votes
7 answers

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 jarsigner but it says that .keystore doesn't content…
Ola
  • 1,517
  • 2
  • 12
  • 12
141
votes
28 answers

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 path:…
WarrenFaith
  • 57,492
  • 25
  • 134
  • 150
138
votes
14 answers

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
  • 1,391
  • 2
  • 9
  • 6
136
votes
6 answers

Decompile .smali files on an APK

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
  • 1,611
  • 2
  • 12
  • 15
132
votes
13 answers

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 Flutter? Where can I see these files in folders or…
Ammy Kang
  • 11,283
  • 21
  • 46
  • 68
129
votes
16 answers

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 the error FAILURE: Build failed with an…
Waffles.Inc
  • 3,310
  • 4
  • 13
  • 17