I lost the source code of my application due to system crash. Now I want to make a small change in an array resource and rebuild the application. Is there any way to change it directly in .apk??
Asked
Active
Viewed 1,181 times
2 Answers
0
I doubt you can, you need the source code and recompile the code and generate the apk.

javieritis
- 101
- 1
- 7
-
isn't there any way to update resource using apktool or any such tool and rebuild application? – Zahra Hussaini Jan 30 '20 at 11:04
-
Before this problem, you should always have a backup copy of the code or simply a GIT repository. I doubt that these tools allow you to recompile the project without the signatures and without the original source code. – javieritis Jan 30 '20 at 11:18
0
You need to Decompile the code from apk for this. If your apk was not protected by proguard or Dex etc. then you can get the code.
Then make changes in code and rebuild your apk.

Rajat Mehra
- 1,462
- 14
- 19