-
Notifications
You must be signed in to change notification settings - Fork 564
Closed
Labels
Area: BindingsIssues in Java Library Binding projects.Issues in Java Library Binding projects.question
Milestone
Description
Hi,
I'm not sure if here is the right place to ask, but is it possible to bind a native android library (.aar), that uses Java 8+ API desugaring support?
https://developer.android.com/studio/write/java8-support
A library that uses for example import java.time.*
This is how the support for Java 8+ API desugaring is enabled in Android Studio.
android {
defaultConfig {
// Required when setting minSdkVersion to 20 or lower
multiDexEnabled true
}
compileOptions {
// Flag to enable support for the new language APIs
coreLibraryDesugaringEnabled true
// Sets Java compatibility to Java 8
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.1'
}
Is there something like this for Xamarin?
Is it possible to bind a native android library (.aar) that was created with this configuration?
Because I couldn't find a nuget package equivalent to 'com.android.tools:desugar_jdk_libs:1.1.1'.
Thanks
AmrAlSayed0
Metadata
Metadata
Assignees
Labels
Area: BindingsIssues in Java Library Binding projects.Issues in Java Library Binding projects.question