user1505573
user1505573

Reputation: 137

How to retrieve my app's source codes

I've run into an issue and not sure how to solve. I worked with a developer to create an IOS and Android app. It's a paid app and I decided after about 6 months to create the same app and offer for free with ads. This should go smoothly, but the developer says his computer crashed and he no longer has my source files. I have a version, but not "the" version cause I was working with him through Elance and reached the upload limit to send files. Can I retrieve the files from Apple or Google Play somehow? Any other ideas? Any help is appreciated.

Upvotes: 2

Views: 1481

Answers (3)

Gilad Haimov
Gilad Haimov

Reputation: 5857

What you need to do is this:

A. Pray that your developer had neglected to obfuscate your app's code

B. Download the APK from Google Play and use dex2jar to convert it into a standard Java jar.

C. Download jd java decompiler from here to convert the binary .class files inside the jar into text

D. Use ApkTool to convert the binary encoded XML files within your APK into textual XMLs.

E. Get into the habit of using source control

Good luck.

Upvotes: 2

förschter
förschter

Reputation: 860

Unfortunately it's not possible to decompile a iOS- or Androidapp.

Upvotes: 0

durbnpoisn
durbnpoisn

Reputation: 4659

I'm afraid you are going to have troubles either way. From what I know of Google Play, you need to have the unique signature (private key) compiled in to the APK when you upload it. Since there is no way you'll get that again, you won't be able to duplicate it.

On the other hand, you would have to compile a NEW version anyway, since it is not a paid version. So, assuming you have access to the source code at all, none of the first paragraph really applies.

Having said all that, what you need is an app decompiler. I wish you luck with that. But that's never as simple as it seems. I'm afraid you may have to start from scratch. Although, having done it once, you shouldn't have such a hard time with it...

Upvotes: 3

Related Questions