android-install-apk
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
How to Sign an Already Compiled Apk
create a key using keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 then sign the apk using : jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore my_application.apk alias_name check here for more info