Matabi / smali

Automatically exported from code.google.com/p/smali
0 stars 0 forks source link

Implausible/odd behavior #156

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?
Smali behaves differently when the "-a 14" option is set from the default, 
which is also "14". The "setApi" variable is responsible for this odd 
behaviour. If this intended please comment on the rationale.

What is the exact smali/baksmali command that you ran?
java -jar smali.jar -o /tmp/assembled.dex /some/smali/folder

What version of smali/baksmali are you using? What rom are you working
from?
1.4.2

Original issue reported on code.google.com by fe...@bluebox.com on 11 Dec 2012 at 6:14

GoogleCodeExporter commented 9 years ago
Sorry for the belated response. I don't recall the exact reasoning here, but 
iirc, it was due to trying to guess the correct thing to do if an api level 
isn't specified vs. definitely knowing the api level and handling things 
according to that.

In any case, this should be resolved in the new 2.0 release. The default is 15, 
and the functionality when you don't specify an api should be identical to 
using -a 15

Original comment by jesusfreke@jesusfreke.com on 7 May 2013 at 8:13