Incolli qui il Log? Magari in uno spoiler così non da fastidio, in modo da darci un'occhiata
Salve a tutti ho seguito la guida ma quando cerco di decompilare un'apk esce il seguente messaggio di errore:
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b123)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b65, mixed mode)
I: Baksmaling...
Exception in thread "main" org.jf.dexlib.Util.ExceptionWithContext: Index: 38100
, Size: 36798
at org.jf.dexlib.Util.ExceptionWithContext.withContex t(ExceptionWithCont
ext.java:54)
at org.jf.dexlib.IndexedSection.getItemByIndex(Indexe dSection.java:77)
at org.jf.dexlib.Code.InstructionWithReference.lookup ReferencedItem(Inst
ructionWithReference.java:82)
at org.jf.dexlib.Code.InstructionWithReference.<init> (InstructionWithRef
erence.java:57)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(In struction3rc.java:7
4)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(In struction3rc.java:4
4)
at org.jf.dexlib.Code.Format.Instruction3rc$Factory.m akeInstruction(Inst
ruction3rc.java:145)
at org.jf.dexlib.Code.InstructionIterator.IterateInst ructions(Instructio
nIterator.java:82)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:77)
at org.jf.dexlib.OffsettedSection.readItems(Offsetted Section.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.dexlib.DexFile.<init>(DexFile.java:267)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder .java:49)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder .java:34)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib .java:74)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:89 )
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.lang.IndexOutOfBoundsException: Index: 38100, Size: 36798
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.jf.dexlib.IndexedSection.getItemByIndex(Indexe dSection.java:75)
... 18 more
Error occured while retrieving the method_id_item item at index 38100
Error occured at code address 0
code_item @0xbae9c
Premere un tasto per continuare . . .
Cosa può essere? Grazie
Allora quello che ho installato lo posto nello screen shot
Immagine.jpg
Immagine2.jpg
è sufficiente o devo installare altro?
ciao...scusami non mi fa installare il framework.apk...puoi aiutarmi?
Salve a tutti, ho seguito la guida alla lettera e ho provato a decompilare e ricompilare il file framework-res.apk del mio tab3 solo per fare una prova, ebbene
a decompilare decompila ma a ricompilare mi da tutta una serie di errori come da log allegato, qualcuno puo aiutarmi a capire l'errore?
Grazie a tutti
--------------------------------------------------------------------------
|05/07/2014 -- 10:39:01,98|
--------------------------------------------------------------------------
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\TABLET\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\framework-res.apk\res\drawable-tvdpi\tw_scrubber_control_focused_holo_red.PNG: error: File is case-insensitive equivalent to: C:\TABLET\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\framework-res.apk\res\drawable-hdpi\tw_scrubber_control_focused_holo_red.png
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\mino\AppData\Local\Temp\APKTOOL8597735545 557907831.tmp, -x, -0, arsc, -S, C:\TABLET\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\framework-res.apk\res, -M, C:\TABLET\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:358)
at brut.androlib.Androlib.buildResources(Androlib.jav a:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\mino\AppData\Local\Temp\APKTOOL8597735545 557907831.tmp, -x, -0, arsc, -S, C:\TABLET\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\framework-res.apk\res, -M, C:\TABLET\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\mino\AppData\Local\Temp\APKTOOL8597735545 557907831.tmp, -x, -0, arsc, -S, C:\TABLET\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\framework-res.apk\res, -M, C:\TABLET\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:355)
... 6 more
[QUOTE=minosat;5829608]Salve a tutti, ho seguito la guida alla lettera e ho provato a decompilare e ricompilare il file framework-res.apk del mio tab3 solo per fare una prova, ebbene
a decompilare decompila ma a ricompilare mi da tutta una serie di errori come da log allegato, qualcuno puo aiutarmi a capire l'errore?
Grazie a tutti
"C:\TABLET\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\framework-res.apk\res\drawable-tvdpi\tw_scrubber_control_focused_holo_red.PNG: error: File is case-insensitive equivalent to: C:\TABLET\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\framework-res.apk\res\drawable-hdpi\tw_scrubber_control_focused_holo_red.png"
Ciao, premesso che ne so ben poco, ma credo che l'errore sia qui. Hai modificato o sostituito questo PNG? Sembra dica che l'estensione sia in Maiuscolo, e forse la devi scrivere in minuscolo. Ma forse (sicuramente) sto dicendo boiate
Alla corte di SuperSu
Dici giusto Rikkardo, l'errore dice proprio quello.
Ciao a tutti,
chiedo qui visto che per fare quello che vorrei serve questo tool o simili. Vorrei importare direttamente un tema cyano all'interno della rom, quindi sostituire i vari file png, xml, ecc.. Secondo voi è una cosa fattibile? Ci stò provando e ho usato tutti i tool che si trovano ma è un macello e ottengo praticamente sempre errori. C'è qualcuno esperto che sà darmi una mano?
Grazie