Java – When will Android support default methods (Java 8)?

When will Android support default methods (Java 8)?… here is a solution to the problem.

When will Android support default methods (Java 8)?

I wonder if it is possible to use the default method in interface in Android development.
The feature is included in Java 8, but I found that it is not yet supported by the Android Java VM.
Is there any way to use the default method in Android development? If not, when will this feature be available, and is there some sort of timeline for this feature?

Solution

About usability: I think we’ll see the default method in Android N. There are already a lot of tests on AOSP related to the default methods of the new Jack compiler. See http://bit.ly/1PZoV1A

Today the java.util.function package has been incorporated into the ojluni master (including the use of default methods and lambdas).

EDIT: This is the official confirmation that Android N will support Java 8: http://developer.android.com/preview/j8-jack.html
The stream is still missing, but java.util.Spliterator(s) was integrated yesterday. Given the current speed, I expect we’ll see the Stream API in May.

Related Problems and Solutions