[Android Software Development] DualJoe:
Anyone tested -d yet (debug mode)? Whatever i throw at it gives errors and rebuilding doesn't work with this incomplete decompiled files. Is Java6 mandatory (i'm using java7)?

Standard decompile/build does work even though i stumbled upon some files that didn't work with 1.5.0 (but 1.4.3).

Windows, apktool 1.5.0

java -jar apktool.jar d -d AccountAndSyncSettings.apk

I: Baksmaling...

Error occured while disassembling class Lcom.android.settings.AccountPreferenceB
ase; - skipping class
java.lang.NullPointerException
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeAgetObject(MethodAn
alyzer.java:2409)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodA
nalyzer.java:759)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.jav
a:213)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:389)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:311)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:132)
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition
.java:325)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDef
inition.java:297)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:104)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:185)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:48)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:34)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:72)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)

Error occured while disassembling class Lcom.android.settings.AccountSyncSetting
s; - skipping class
java.lang.NullPointerException
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeAgetObject(MethodAn
alyzer.java:2409)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodA
nalyzer.java:759)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.jav
a:213)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:389)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:311)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:132)
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition
.java:325)
at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefi
nition.java:281)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:103)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:185)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:48)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:34)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:72)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)

Error occured while disassembling class Lcom.android.settings.AddAccountSettings
; - skipping class
java.lang.NullPointerException
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeAgetObject(MethodAn
alyzer.java:2409)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodA
nalyzer.java:759)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.jav
a:213)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:389)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:311)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:132)
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition
.java:325)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDef
inition.java:297)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:104)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:185)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:48)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:34)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:72)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)

Error occured while disassembling class Lcom.android.settings.ManageAccountsSett
ings; - skipping class
java.lang.NullPointerException
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeAgetObject(MethodAn
alyzer.java:2409)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodA
nalyzer.java:759)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.jav
a:213)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:389)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:311)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:132)
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition
.java:325)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDef
inition.java:297)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:104)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:185)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:48)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:34)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:72)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\User\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...