Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 16834 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Created attachment 5678 [details]
Steps to reproduce:
1. Create an android application with name having French character (é)
2. Debug the application.
Actual Result: It is giving build error as mentioned in https://gist.github.com/saurabh360/62a51bbf359d1255826b
Expected Result: Project should deploy and launch successfully.
All Windows and Mac
X.S 4.2.3(build 20)
Regression Status: This is happening with stable X.S 4.2.1 and X.Android 4.10.1-73
This does not happen with projects that simply contain é or è, or both. I was *not* able to reproduce with my own sample by simply adding some accented characters, or by copying and pasting the project name into XS ( éqnéè ). I was however able to reproduce with the attached project.
Using task AndroidSignPackage from Xamarin.Android.Tasks.AndroidSignPackage, Xamarin.Android.Build.Tasks, Version=22.214.171.124, Culture=neutral, PublicKeyToken=null
Tool /usr//bin/jarsigner execution started with arguments: -keystore "/Users/petercollins/.local/share/Xamarin/Mono for Android/debug.keystore" -storepass android -keypass android -digestalg SHA1 -sigalg md5withRSA -signedjar bin/Debug/x_qn__.x_qn__-Signed-Unaligned.apk obj/Debug/android/bin/x_qn__.x_qn__.apk androiddebugkey
jarsigner error: java.lang.IllegalArgumentException: MALFORMED
Tool /usr//bin/jarsigner execution finished.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: error : Tool exited with code: 1. Output: jarsigner error: java.lang.IllegalArgumentException: MALFORMED
Task "AndroidSignPackage" execution -- FAILED
As mentioned in: https://bugzilla.xamarin.com/show_bug.cgi?id=15559#c5
> The issue is (apparently) that we're not UTF-8 encoding filenames _within_
> the .apk/ZIP container: http://bugs.sun.com/view_bug.do?bug_id=6272251
I took a quick look at doing so; looks like we'll need to upgrade our Ionic.Zip.dll in order to UTF-8 encode filenames within the .apk.