forprevious / smali

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

line -/ #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you decompile a.apk with baksmali sometimes create a file.smali who has 
".line -/" inside the code.
Then if you try to recompile, smali crash.

Original issue reported on code.google.com by web.eh...@gmail.com on 8 Jun 2011 at 9:57

GoogleCodeExporter commented 9 years ago
I need more details. You haven't given enough information for me to reproduce 
the issue

Original comment by jesusfreke@jesusfreke.com on 15 Jul 2011 at 9:25

GoogleCodeExporter commented 9 years ago
The file with problem:

$java -jar baksmali-1.2.6.jar 7fb5f635c5befce49a5c2fccc7805e0d.apk
$java -jar smali-1.2.6.jar out

out\android\media\MediaMetadataRetriever.smali[32,11] Error for input '/': Inval
id text
out\android\media\MediaMetadataRetriever.smali[32,10] no viable alternative at i
nput '-'
out\com\a.smali[165,11] Error for input '/': Invalid text
out\com\a.smali[188,11] Error for input '/': Invalid text
out\com\a.smali[241,11] Error for input '/': Invalid text
...

Original comment by web.eh...@gmail.com on 15 Jul 2011 at 3:32

Attachments:

GoogleCodeExporter commented 9 years ago
This has been fixed. Thanks

Original comment by jesusfreke@jesusfreke.com on 15 Jul 2011 at 5:32

GoogleCodeExporter commented 9 years ago
Hi
I did not understand , when I get this error "Error for input '/': Invalid 
text" , what should I do to fix it?

Original comment by f.musavi...@gmail.com on 3 Dec 2014 at 12:30

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Please provide some context, like the line causing the error, the full output 
of baksmali, and what steps you've performed to get to that state.. i.e. if the 
output is straight out of baksmali, or if you've modified it. Preferably as a 
new issue...

Original comment by jesusfreke@jesusfreke.com on 3 Dec 2014 at 8:32