Skip to content

Support for android 11(30) #54

@AlenToma

Description

@AlenToma

The app crash when I build it for API 30 and running it on android 11.

The jar files are not supported anymore.

I have fixed my fork but wanted to tell anyone who is having the same issue, or maybe you would like to have a look at the changes I did.

On android build.grade I removed implementation fileTree(dir: 'libs', include: '*.jar') and added

    implementation 'com.sun.mail:android-mail:1.6.6'
    implementation 'com.sun.mail:android-activation:1.6.6'

I also added the following options under android.

   packagingOptions {
		exclude 'META-INF/mimetypes.default'
		exclude 'META-INF/mailcap.default'
	}

All the credit goes for the following site https://issuetracker.google.com/issues/172544275?pli=1
I found the solution there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions