Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

CREATEMULTIDEXMAINDEXCLASSLIST #579

Open
DigitalArtifex opened this issue May 22, 2019 · 2 comments
Open

CREATEMULTIDEXMAINDEXCLASSLIST #579

DigitalArtifex opened this issue May 22, 2019 · 2 comments
Assignees
Labels
investigating Currently investigating this issue

Comments

@DigitalArtifex
Copy link

DigitalArtifex commented May 22, 2019

Receiving the exact same error as issue #549, I am starting a new issue as he was able to fix his issue with a clean/rebuild. I have already manually deleted all obj and bin files, clean and rebuilt my solution, upgraded all components, including to the preview versions of Auth and Firestore. Targeting 9.0 android.

What am I missing here?

CREATEMULTIDEXMAINDEXCLASSLIST : error : Can't read [C:\Users{user}\source\repos{project}{solution}{solution}.Android\obj\Debug\81\lp\64\jl__reference__guava.jar(;;;;;;!META-INF/MANIFEST.MF)] (invalid entry size (expected 67324752 but got 2367 bytes))

Edit:

The "fix" for this is to downgrade Xamarin.Google.Guava from 27.1.0.1 to 27.1.0. However, since the most up-to-date package does not function, I will leave the issue open for the time being.

@DigitalArtifex
Copy link
Author

DigitalArtifex commented Jun 6, 2019

Update:
I have attempted to update Visual Studio to 2019, in order to make use of the d8 Dex compiler. This has changed the error to:
Automatic main dex list is not supported when compiling for Android O and later (--min-api 26)

Min API: 27
Target API: 28

Error remains even when switching Min API to 28 as well.

@newky2k newky2k added the up-for-grabs Community PR's welcome to help! label Jun 11, 2019
@Redth Redth added investigating Currently investigating this issue and removed up-for-grabs Community PR's welcome to help! labels Nov 29, 2019
@Redth
Copy link
Member

Redth commented Nov 29, 2019

@moljac can you try compiling with d8/r8 and multidex enabled with Guava 27.1.0.1?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
investigating Currently investigating this issue
Projects
None yet
Development

No branches or pull requests

4 participants