android-install-apk
Silent install apk programmatically by system app (without root)
I`ve found the issue. Added “android.permission.INSTALL_PACKAGES” permission. I signed my application using “signapk.jar” with certificate that I`ve got from manufacturer of my device. And now this app can install others using “pm install /…/app.apk” without “su”. It works! P.S. Updating application using just “pm install” doesn`t replace existing application with new one, but returns exit_value … Read more
INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES on adb install
For me the problem was I had the same application already installed with another key. Uninstalling the old application solved the problem, as noted here: https://stackoverflow.com/a/10280878
Error Execution failed for task ‘:app:mergeReleaseResources’ building APK
The problem occured becaused when I tried to build once, it has created drawables dirs on android/app/src/main/res/. Then when I tried on second time, it has shown me this error Execution failed for task ‘:app:mergeReleaseResources’ building APK I just deleted the drawable-* dirs and it worked. Hope it helps! rm -rf android/app/src/main/res/drawable-*
How to zipalign the .apk file using eclipse?
If you did what you described above then Eclipse has already zipaligned your apk for you. You can’t zipalign an already zipaligned package
Android Install on Device Failure [INSTALL_CANCELED_BY_USER]
Happens to my Xiaomi phone after updated it to MIUI 8. Took me hours to figure it out! Check the followings if you’re a victim too: Go to Settings -> Permissions -> Install via USB: Uncheck your App if it’s listed. Go to Settings -> Additional Settings -> Privacy: Check the Unknown Sources option. Finally … Read more
Android Failed to install HelloWorld.apk on device (null) Error
Try changing the ADB connection timeout. I think it defaults that to 5000ms and I changed mine to 10000ms to get rid of that problem. If you are in Eclipse, you can do this by going through Window -> Preferences and then it is in DDMS under Android. As described here: Android error: Failed to … Read more
How to run (not only install) an android application using .apk file?
You can’t install and run in one go – but you can certainly use adb to start your already installed application. Use adb shell am start to fire an intent – you will need to use the correct intent for your application though. A couple of examples: adb shell am start -a android.intent.action.MAIN -n com.android.settings/.Settings … Read more
Cannot install signed apk to device manually, got error “App not installed”
You may be using the android 5.0 or above device. May be your development version is not uninstalled properly. Try this, Just go to the Settings –> Apps –> Click on your App. —> In App info page at the action bar menu there will be an option called ” Uninstall for All users “ … Read more
Android App Not Install. An existing package by the same name with a conflicting signature is already installed
I had the same error message, but these answers did not help. On a 4.3 nexus 7, I was using a user who was NOT the owner. I had uninstalled the older version but I kept getting the same message. Solution: I had to login as the owner and go to Settings -> Apps, then … Read more