While installing a SuperHexagon APK which I bought from Humble Bundle a couple of years ago I encountered an error. The package installer simply stated “App not installed”, a logcat got me some more information:
I did some research and finally found the problem. The HumbleBundle Android version of SuperHexagon hasn’t aged well, the APK is configured to install on SD card. This simply doesn’t work on my First Generation Moto G which doesn’t even have a SD card slot. So I did some more reasearch and found the solution. Of course this will most likely work for other applications with the same error too.
Advertisement
The solution
Prerequisites
You will need those three applications installed:
The Android SDK will be needed for signing the rebuilt APK
The Java SDK (JDK) is needed for the keytool and for the Android SDK
The APK tool will help us unpacking the original APK
As this is a tutorial for advanced users, I assume you managed to install those.
Instructions
I’m writing the tutorial for Windows, it’s not a lot different for Linux of course.
First, we need to fix the erroneous configuration setting which is located within the Apps AndroidManifest.xml.
Now we fixed the error. Sadly, our app will most likely not be able to install as it’s not signed anymore. That’s what we do now. The Android developer documentation does a good job explaining it, so I make it short.
Generate a private key for signing the application. You'll find the needed keytool.exe in the bin directory of the JDK.