-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
brut.directory.DirectoryException: Error copying file: ? .xml #1314
Comments
Does it happen when you use dexguard ? |
Not really sure how to do that, I was just following this article http://bertonjulian.github.io/2015/01/30/root-detection-bypass.html to see if I can bypass the root detection of the Pivo app. |
This seems to be a Windows problem with non standard characters. Unix can't even visualize them, but it doesn't crash here.
This is Windows problem. I'm not sure if there is any easy fix I have for this, unless I write a hashed file name out and convert back. |
So is this fixed or not? |
Same error here with 2.2.2 @Windows 10 and Windows 7 I: Copying unknown files... |
I got the same error. It's a Windows issue. Maybe, we can let theses files
in a archive..... They are obfuscated by proguard.
Le 19 mars 2017 00:28, "burma69" <notifications@github.com> a écrit :
… Same error here with 2.2.2 @Windows 10 and Windows 7
I: Copying unknown files...
Exception in thread "main" brut.androlib.AndrolibException:
brut.directory.DirectoryException: Error copying file: ?.xml
at brut.androlib.Androlib.decodeUnknownFiles(Androlib.java:217)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1314 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMLKs5sMPjDxWEF0QNOdw-2uyk57caJvks5rnGiNgaJpZM4J4S_n>
.
|
Information
apktool -version
) - 2.2.0Stacktrace/Logcat
D:\Zipit>java -jar apktool.jar d -rf base.apk
I: Using Apktool 2.2.0 on base.apk
I: Copying raw resources...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: Error copying file: ?� .xml
at brut.androlib.Androlib.decodeUnknownFiles(Androlib.java:217)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:158)
at brut.apktool.Main.cmdDecode(Main.java:163)
at brut.apktool.Main.main(Main.java:81)
Caused by: brut.directory.DirectoryException: Error copying file: ?� .xml
at brut.directory.DirUtil.copyToDir(DirUtil.java:88)
at brut.directory.AbstractDirectory.copyToDir(AbstractDirectory.java:207)
at brut.androlib.Androlib.decodeUnknownFiles(Androlib.java:210)
... 3 more
Caused by: java.io.FileNotFoundException: base\unknown?� .xml (The filename, directory name, or volume label syntax is incorrect)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at brut.directory.DirUtil.copyToDir(DirUtil.java:84)
... 5 more
Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(
.apks
that live in/system/framework
or/system/priv-app
)APK
If this APK can be freely shared, please upload/attach a link to it.
base.zip
The text was updated successfully, but these errors were encountered: