Questions tagged [android-install-apk]

An APK file is the file format used for installing software (i.e. an application or a game) on the Android operating system.

An APK file is the file format used for installing software (i.e. an application or a game) on the Android operating system.

An APK file is basically an archive providing the required application information and resources.

More Info

536 questions
27
votes
4 answers

What is the differences between `export signed` and `unsigned` .apk file?

I'm building .apk file for my Android application using Android tools - Export... as guided here My question is what are signed and unsigned .apk file? How can we use usngined .apk file? (I tried to export an unsigned one but I cannot install it for…
Nam G VU
  • 33,193
  • 69
  • 233
  • 372
25
votes
6 answers

INSTALL_FAILED_DEXOPT error when trying to install application

I have a similar problem to the ones listed here and here. I am getting an INSTALL_FAILED_DEXOPT error every time I try to install my app on my Motorola Xoom. Here is the error message from the console: [2011-08-02 09:34:43 - Blade] Installation…
theisenp
  • 8,639
  • 5
  • 39
  • 47
24
votes
2 answers

How to manage installation from Unknown Sources in Android Oreo?

In Android Oreo (8.0), several changes where made on how to allow the installation of apps from Unknown Sources (from the user's point of view) and to the process of getting permission to install them (from the developer's point of view). Since I…
Patneu
  • 1,021
  • 1
  • 9
  • 10
20
votes
3 answers

android programmatically update apk and see the result of the installation

I'm writing an app updater for my app. After I make sure I have my apk on the device, this is what I do from within the app I'm trying to update: Intent promptInstall = new Intent(Intent.ACTION_VIEW); File f = new File(apkLocation); …
Florin Bombeanu
  • 850
  • 2
  • 11
  • 23
16
votes
1 answer

How to deploy an aab file on device?

in my android app if I want to update APK file I use this: adb install -r some_my.apk Nice. It's work. Now I sign my bundle and as result Android Studio 3.5. generate : AAB (Android App Bundle) file. Nice. Now I install prev app from Google Play.…
Alexei
  • 14,350
  • 37
  • 121
  • 240
14
votes
3 answers

Crash while self updating APK (component class does not exist)

I am working on a system application which updates itslef by downloading an apk and installing it by using PackageManager's installPackage() method. I am getting the following exception: Fatal Exception: java.lang.IllegalArgumentException: Component…
14
votes
3 answers

Make sure the Android application was installed from Play-Store

I've recently discovered the BlackMarket application, it is a rip of Google Play-Store apps, where these people take a paid app from the Play-Store and let their users download it and use it for free. As a developer which plan on charging a buck for…
13
votes
1 answer

Android - What happens when a signing key expires?

If a signing key expires, do existing apks refuse to install, or does it just mean that new apps can't be signed with that key? We are recommended to use keys that expire in 25+ years, and Google Play mandates expiry of at least 2033-10-22! However,…
12
votes
1 answer

Android application self-update

Possible Duplicate: Android: install .apk programmatically I need to update my android application. Internally the program, I download the new version. How can I replace the current version by that new was downloaded (programmatically)? URL url =…
nonickh
  • 229
  • 1
  • 3
  • 9
12
votes
4 answers

A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable

I got the error when I trying to convert signing in apk. before it was working. after adding the buildTyper it's not working. can anyone help me with this issue? or anything did wrongly? release { minifyEnabled true proguardFiles…
12
votes
3 answers

Android studio- adding signing configurations to gradle

I am very new to the android world and I was trying to just get to run a simple hello world app on my phone. when I tried this I learnt that the APK generated by an android studio is an unsigned one. So to sign this I have gone through the process…
12
votes
1 answer

Pass param to app when installed from Google Play

I need to support the following scenario: User receives the e-mail with link to my app. If user already has the app installed the link should open the app passing some data in the intent to the launcher activity. If the app is not installed yet the…
user1744147
  • 1,099
  • 13
  • 30
11
votes
10 answers

How to fix INSTALL_FAILED_INVALID_APK error in Android Studio?

I have recently updated my Android Studio to 3.6.1, thereby also updating gradle plugin to 3.6.1 and the gradle wrapper to 5.6.4 When running the debug build, I keep getting this error Install failed: The application could not be installed:…
11
votes
2 answers

Android: How to get installer file name programmatically?

it is possible to get installer file name which is stored on /sdcard/ download/ ? I want to get from app, apk file name which installed it. There is a easy way to do it especially with non-market app?
Wolfie
  • 111
  • 1
  • 3
10
votes
3 answers

How to exclude resources or aar files from main APK

As i need to reduce the size of APK file, I have followed Apk Expansion guide to divide APK in chunks. The Downloader library defines ways to download the expansion file, but i need to know the way to exclude resource files and aar files from…
dev90
  • 7,187
  • 15
  • 80
  • 153
1
2
3
35 36