Jump to content
zmeutz

Decompilare aplicatie Android

Recommended Posts

Salutare,

 

Foloseste cineva vreun tool pentru decompilare si compilare aplicatii android?

Am o aplicatie pentru android care incerc sa o decompilez cu apk tool, doar ca primesc cateva erori

 


D:\Android\Decompiler\ApkTool>apktool d 1.apk
I: Using Apktool 2.3.3 on 1.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
S: WARNING: Could not write to (C:\Users\ZETHOME\AppData\Local\apktool\framework
), using C:\Users\ZETHOME\AppData\Local\Temp\ instead...
S: Please be aware this is a volatile directory and frameworks could go missing,
 please utilize --frame-path if the default storage directory is unavailable
I: Loading resource table from file: C:\Users\ZETHOME\AppData\Local\Temp\1.apk
I: Regular manifest package...
I: Decoding file-resources...
S: Could not decode file, replacing by FALSE value: layout/dlg_credit_status.xml

I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...

D:\Android\Decompiler\ApkTool>

 

iar in interiorul fisierelor gasesc linii de genul:

 

Unable to fully structure code
com.AddWatch.view.q
----------------------------

onItemClick(android.widget.AdapterView android.view.View int long )
  Unable to fully structure code

 

Pentru compilare folosesc tot ApkTool

care imi returneaza aceleasi errori

 

Fara a mai decompila aplicatia, am schimbat extensia in .zip si am modificat fisierul .dat unde se aflau informatiile care aveam nevoie ,

acum ele sunt modificare cand deschid programul, doar ca undeva tot mai stie de ele ... le afiseaza modificate dar la calcul se foloseste de cele vechi.

 

Multumesc!

Stefan

Edited by zmeutz
Link to comment
Share on other sites

tot online le si compilai?

 

problema e ca si primul, si al 2lea site dupa ce imi decompileaza aplicatia gasesc linii de forma:

    /* JADX WARNING: inconsistent code. */
    /* Code decompiled incorrectly, please refer to instructions dump. */

 

Edited by zmeutz
Link to comment
Share on other sites

toate sunt ok, doar ca la baza au toate apktool ... si aceeasi eroare,

am instalat framework-ul...

cand rulez

 

jadx-gui --show-bad-code 1.app.apk

eroarea provine de la layout...xml file ...

 

apktool din cate vad le face smali, dificil de editat (cred ca pentru mine) cand le fac .java am inteles ca ele nu mai pot fi compilate ...

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...