Bug 59369 - multidex.keep file incorrectly generated
Summary: multidex.keep file incorrectly generated
Status: RESOLVED DUPLICATE of bug 59036
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 7.4 (15.3)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: dean.ellis
URL:
Depends on:
Blocks:
 
Reported: 2017-09-09 08:51 UTC by softlion
Modified: 2017-09-09 15:11 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 59036

Description softlion 2017-09-09 08:51:15 UTC
The file generated in obg/debug/multidex.keep contains a list of classes to keep in the main dex.

Unfortunatly, Xamarin forgot to add carriage returns at the end of each class name in this file.

This result in a non working multidex file.
See also bug https://bugzilla.xamarin.com/show_bug.cgi?id=55268

Note that Google Play have a strange policy which prevents an app targeting Android 5 from beeing seen on Google Play Store from a device upgraded with lineageOS 7 if the last official os version on this device is lower than Android 5.



Microsoft Visual Studio Enterprise 2017 
Version 15.3.3
VisualStudio.15.Release/15.3.3+26730.12

Xamarin   4.6.0.299 (b63523e27)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android SDK   7.4.0.21 (2851083)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK   10.99.0.93 (44d03da)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Comment 1 softlion 2017-09-09 09:16:23 UTC
I also remarked that each class appears 4 time in the file.
Comment 2 Jon Douglas [MSFT] 2017-09-09 15:11:32 UTC
This issue has already been fixed and has been backported to 15.4.

*** This bug has been marked as a duplicate of bug 59036 ***