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
429
votes
12 answers

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 possible to pull the APK file from the emulator?
sean
  • 9,198
  • 22
  • 65
  • 80
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
213
votes
45 answers

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: INSTALL_FAILED_DEXOPT How do I solve this kind of error?
john
  • 2,131
  • 2
  • 12
  • 4
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
138
votes
15 answers

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 still in the testing phase of this upgrade, so the…
James Oravec
  • 19,579
  • 27
  • 94
  • 160
130
votes
28 answers

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, Facebook, etc) So i just made a signed version…
Adam Varhegyi
  • 11,307
  • 33
  • 124
  • 222
73
votes
7 answers

How to run (not only install) an android application using .apk file?

Is there any command on cmd.exe that would allow me to start the main activity of a particular android application using the .apk file of that application. Please note that I know this command which only installs an android application: adb install…
M Azeem N
  • 913
  • 2
  • 10
  • 11
68
votes
22 answers

Android Failed to install HelloWorld.apk on device (null) Error

I am new to Android. When I am running my android application in eclipse I am getting these messages in the console: [2011-03-08 12:57:35 - HelloWorld] ------------------------------ [2011-03-08 12:57:35 - HelloWorld] Android Launch! [2011-03-08…
Nagaraj
  • 681
  • 1
  • 5
  • 3
54
votes
19 answers

Android Install on Device Failure [INSTALL_CANCELED_BY_USER]

I'm using Android Studio to connect to run app in my Xiaomi Redmi Note 3G device. My device is already found in the Choose Device Dialog, but I keep getting the [INSTALL_CANCELED_BY_USER] error : Waiting for device. Target device:…
Anthony.S
  • 545
  • 1
  • 4
  • 5
53
votes
8 answers

How to zipalign the .apk file using eclipse?

Can anyone tell me how to zipalign my .apk file with using eclipse. I have made my .apk file by giving command like, Right Click on Project Folder Click on "Android Tools" option from menu. Click on "Export Signed Application Package..." and my…
Tej Zaveri
  • 567
  • 1
  • 4
  • 8
45
votes
7 answers

Error Execution failed for task ':app:mergeReleaseResources' building APK

After trying to build APK once and fixing an error, I got an error executing ./gradlew assembleRelease again: Execution failed for task ':app:mergeReleaseResources' building APK
39
votes
8 answers

INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES on adb install

The same Android project is built in debug mode, sometimes with Eclipse, sometimes with ant (on build machine). If I first install the ant build, and then try to start Eclipse debugging, the Eclipse console displays [2012-03-20 13:32:26 -…
Juuso Ohtonen
  • 8,826
  • 9
  • 65
  • 98
38
votes
2 answers

Silent install apk programmatically by system app (without root)

I have system-level app with android:sharedUserId="android.uid.system" (UID: 1000). Device is not rooted! INSTALL_PACKAGES permission is included to Manifest. Can I install downloaded *.apk silently?
yuralife
  • 1,545
  • 2
  • 21
  • 35
32
votes
7 answers

How to install/update/remove APK using "PackageInstaller" class in Android L?

Plz check below classe & give me the suggestion for how to use them https://developer.android.com/reference/android/content/pm/PackageInstaller.html https://developer.android.com/reference/android/content/pm/PackageInstaller.Session.html So please…
27
votes
5 answers

How to have both Debug and Release apk on same device?

While continuing to develop my application and test it on a real phone, I need to have the release version of it on the same phone, for demonstration purposes (the release version is much more responsive, thanks to no-logs). The problem is that the…
an00b
  • 11,338
  • 13
  • 64
  • 101
1
2 3
35 36