Originally Posted by n0c7
I'm trying to learn how to decompile and recompile apps using Ticklefish's Tickle My Android. For a basic test and learning purposes, I simply have taken an original .apk, ran it through decompile with Standard options, and simply recompiled with Standard options without modifying ANYTHING myself. When I attempt to install the app on a Samsung Galaxy S9+(running 9 Pie) the installer prompts "Do you want to install this application? It does not require any special access." I tap Install and I'm immediately met with "App not installed." and must press Done to exit the screen.
I've tried other .apk's, a myriad of different Advanced decompile and recompile options to no avail. I'm always met with the same warning even if I regenerate the key. If I manually run apktool decompile/recompile commands, I can get the "unmodified but recompiled" apk to install fully but it crashes on startup.
I'm running the latest Windows 10 w/ updates, jdk-12.0.2, and Tickle my Android 126.96.36.199.
PS: I love your script Ticklefish. It reminds me of my BBS and scripting days
So when you say you're using an "original" APK, I assume that this is one that you've made yourself? In that case I do have to ask the obvious question..does the APK install before you try decompiling it? (I mean no insult by that, it's just one of those questions I have to ask.)
I made an app a few years ago that was a basic 'Hello World' thing, following directions on Google's developers website. It was incredibly simple but I could de/recompile it without any trouble installing it.
In your situation, I can think of two likely solutions. First, is your APK signed using the V2 method (https://source.android.com/security/apksigning/v2
)? If so, decompiling and recompiling it will break that key.
Failing that, did you install any framework files before you decompiled? It's possible your recompiled file is missing essential resources.
PS: Thank you! That's kind of you to say. I was looking at becoming a software engineer before my career took a massive change. I've forgotten pretty much every bit of C++ I learned but I like to think I can still design a good program..