[Android Software/Hacking General [Developers Only]] daemon1666:
When I use the smali.

I have the errors when I compile

Log For : Settings.apk

Log Type : Recompiling

Log Recorded At : 03-10-14 -- 22:31:15,28

Log Recorded By : Advanced ApkTool v3.0.0 By BDFreak

------------------------------------------------------

..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[50,15] no viable alternative at input 'info'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[50,20] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[54,15] no viable alternative at input 'reader'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[54,22] no viable alternative at input 'Ljava/io/BufferedReader;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[77,15] no viable alternative at input 'reader'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[77,22] no viable alternative at input 'Ljava/io/BufferedReader;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[84,15] no viable alternative at input 'line'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[84,20] no viable alternative at input 'Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[118,15] no viable alternative at input 'io'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[118,18] no viable alternative at input 'Ljava/io/IOException;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[226,15] no viable alternative at input 'is'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[226,18] no viable alternative at input 'Ljava/io/InputStream;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[232,15] no viable alternative at input 'ir'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[232,18] no viable alternative at input 'Ljava/io/InputStreamReader;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[238,15] no viable alternative at input 'br'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[238,18] no viable alternative at input 'Ljava/io/BufferedReader;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[244,15] no viable alternative at input 'line'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[244,20] no viable alternative at input 'Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[284,15] no viable alternative at input 'e'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[284,17] no viable alternative at input 'Ljava/io/IOException;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[307,15] no viable alternative at input 'avail'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[307,21] no viable alternative at input 'Ljava/lang/Long;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[311,15] no viable alternative at input 'reader'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[311,22] no viable alternative at input 'Ljava/io/BufferedReader;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[334,15] no viable alternative at input 'reader'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[334,22] no viable alternative at input 'Ljava/io/BufferedReader;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[341,15] no viable alternative at input 'line'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[341,20] no viable alternative at input 'Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[354,15] no viable alternative at input 'free'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[354,20] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[370,15] no viable alternative at input 'memFree'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[370,23] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[388,15] no viable alternative at input 'cached'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[388,22] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[404,15] no viable alternative at input 'memCached'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[404,25] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[469,15] no viable alternative at input 'e'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[469,17] no viable alternative at input 'Ljava/lang/Exception;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[579,15] no viable alternative at input 'total'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[579,21] no viable alternative at input 'Ljava/lang/Long;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[583,15] no viable alternative at input 'reader'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[583,22] no viable alternative at input 'Ljava/io/BufferedReader;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[606,15] no viable alternative at input 'reader'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[606,22] no viable alternative at input 'Ljava/io/BufferedReader;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[613,15] no viable alternative at input 'line'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[613,20] no viable alternative at input 'Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[621,15] no viable alternative at input 'info'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[621,20] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[637,15] no viable alternative at input 'memTotal'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[637,24] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[690,15] no viable alternative at input 'e'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[690,17] no viable alternative at input 'Ljava/lang/Exception;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[796,15] no viable alternative at input 'swapavail'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[796,25] no viable alternative at input 'Ljava/lang/Long;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[800,15] no viable alternative at input 'reader'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[800,22] no viable alternative at input 'Ljava/io/BufferedReader;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[823,15] no viable alternative at input 'reader'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[823,22] no viable alternative at input 'Ljava/io/BufferedReader;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[830,15] no viable alternative at input 'line'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[830,20] no viable alternative at input 'Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[858,15] no viable alternative at input 'swapcached'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[858,26] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[874,15] no viable alternative at input 'swapCached'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[874,26] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[932,15] no viable alternative at input 'swapsavail'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[932,26] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[948,15] no viable alternative at input 'swapsAvail'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[948,26] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1013,15] no viable alternative at input 'e'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1013,17] no viable alternative at input 'Ljava/lang/Exception;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1123,15] no viable alternative at input 'swaptotal'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1123,25] no viable alternative at input 'Ljava/lang/Long;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1127,15] no viable alternative at input 'reader'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1127,22] no viable alternative at input 'Ljava/io/BufferedReader;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1150,15] no viable alternative at input 'reader'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1150,22] no viable alternative at input 'Ljava/io/BufferedReader;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1157,15] no viable alternative at input 'line'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1157,20] no viable alternative at input 'Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1230,15] no viable alternative at input 'swaps'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1230,21] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1246,15] no viable alternative at input 'swapTotal'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1246,25] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1299,15] no viable alternative at input 'e'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1299,17] no viable alternative at input 'Ljava/lang/Exception;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1405,15] no viable alternative at input 'fullavail'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1405,25] no viable alternative at input 'Ljava/lang/Long;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1409,15] no viable alternative at input 'reader'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1409,22] no viable alternative at input 'Ljava/io/BufferedReader;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1432,16] no viable alternative at input 'reader'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1432,23] no viable alternative at input 'Ljava/io/BufferedReader;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1439,15] no viable alternative at input 'line'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1439,20] no viable alternative at input 'Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1452,15] no viable alternative at input 'frees'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1452,21] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1468,15] no viable alternative at input 'memFrees'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1468,24] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1486,15] no viable alternative at input 'cacheds'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1486,23] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1502,15] no viable alternative at input 'memCacheds'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1502,26] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1515,16] no viable alternative at input 'swapcached'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1515,27] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1531,16] no viable alternative at input 'swapCached'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1531,27] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1589,15] no viable alternative at input 'fullsavail'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1589,26] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1605,15] no viable alternative at input 'fullsAvail'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1605,26] no viable alternative at input '[Ljava/lang/String;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1694,15] no viable alternative at input 'e'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1694,17] no viable alternative at input 'Ljava/lang/Exception;'
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1806,4] Error for input '.parameter': Invalid directive
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1807,4] Error for input '.parameter': Invalid directive
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1806,15] mismatched input '"preferenceGroup"' expecting END_METHOD_DIRECTIVE
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1808,4] Error for input '.parameter': Invalid directive
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1886,4] Error for input '.parameter': Invalid directive
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1887,4] Error for input '.parameter': Invalid directive
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1886,15] mismatched input '"preference"' expecting END_METHOD_DIRECTIVE
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1933,4] Error for input '.parameter': Invalid directive
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1934,4] Error for input '.parameter': Invalid directive
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1933,15] mismatched input '"preference"' expecting END_METHOD_DIRECTIVE
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1981,4] Error for input '.parameter': Invalid directive
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[1981,15] mismatched input '"icicle"' expecting END_METHOD_DIRECTIVE
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[2198,4] Error for input '.parameter': Invalid directive
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[2199,4] Error for input '.parameter': Invalid directive
..\3-Out\Settings.apk\smali\com\android\settings\DeviceInfoSettings.smali[2198,15] mismatched input '"preferenceScreen"' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/settings/DeviceInfoSettings.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:342)
at brut.androlib.Androlib.buildSources(Androlib.java:303)
at brut.androlib.Androlib.build(Androlib.java:289)
at brut.androlib.Androlib.build(Androlib.java:262)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)

------------------------------------------------------

and when I don't use it,

I don't have errors but no information,