Matabi / smali

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

Unable to create file - UTF8 classes? #181

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?

Unable to create file 77fa10ab3ec198d5fd7ffe70c9456c63.apk.smali\o\con.smali - 
skipping class
Unable to create file 77fa10ab3ec198d5fd7ffe70c9456c63.apk.smali\o\coN.2.smali 
- skipping class
Unable to create file 77fa10ab3ec198d5fd7ffe70c9456c63.apk.smali\o\CoN.3.smali 
- skipping class
Unable to create file 77fa10ab3ec198d5fd7ffe70c9456c63.apk.smali\o\CON.4.smali 
- skipping class
Unable to create file 77fa10ab3ec198d5fd7ffe70c9456c63.apk.smali\o\Con.5.smali 
- skipping class
Unable to create file 77fa10ab3ec198d5fd7ffe70c9456c63.apk.smali\o\cOn.6.smali 
- skipping class
Unable to create file 77fa10ab3ec198d5fd7ffe70c9456c63.apk.smali\o\COn.7.smali 
- skipping class
Unable to create file 77fa10ab3ec198d5fd7ffe70c9456c63.apk.smali\o\cON.8.smali 
- skipping class

What is the exact smali/baksmali command that you ran?
Simple "-o" on the classes.dex file.

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

What is the airspeed velocity of an unladen swallow?

Please provide any additional information below: error messages, symptoms,
etc.

Original issue reported on code.google.com by Miller....@googlemail.com on 15 Aug 2013 at 10:38

Attachments:

GoogleCodeExporter commented 9 years ago
I'm assuming you're on windows?

If so, that's really strange. Windows has issues with files that start with 
"con.", but baksmali has checks to rename the output file in that case. I'm not 
sure why that logic is not being triggered here.

Original comment by jesusfreke@jesusfreke.com on 16 Aug 2013 at 2:34

GoogleCodeExporter commented 9 years ago
I suspect that newer versions of windows don't treat aux as a reserved name, 
but still treat con as a reserved name. I've added more robust detection for 
these reserved filenames in smali 2.0. The fix will be in the next beta version 
- v2.0b6

Original comment by jesusfreke@jesusfreke.com on 14 Sep 2013 at 6:37