Computer Science, asked by harjotsingh59, 9 months ago

Can we Decompile an application and recompile???​

Answers

Answered by staeen
0

Explanation:

I need to modify an existing APK, modify the sources and then recompile it.

I can decompile it using dex2jar or apktool, it's working great

From the jar file I can obtain the java sources (using jd-gui)

Then I can modify the java files

But now I would like to know how to recompile the java files and put them back into a jar file! (the jar part should be easy, the main problem seems to be how to recompile the java files for android)

I know that an other solution is to use apktool and then modify the smali files, but it seems to be really complicated when we want to add a lot of code!

My application is a basic a HelloWorld whitout obfuscation.

Answered by ShakyaSk
2

\huge\mathbb\pink{Answer}

________________________

\huge\red{Decompile}

Yes,we can decompile an application(or apk) by the use of decompiler, for example Dex2jar.

After decompiling We get source of an apk (or application).

________________________

\huge\blue{Recompile}

we can't recompile the decompiled application cause after decompiling the values of JavaScript Changes.

\green{Note:-}we can't build a clone app.

________________________

#BAL

#answerwithquality

Similar questions