Home > Back-end >  Can't import java.lang.module.ModuleDescriptor.Version
Can't import java.lang.module.ModuleDescriptor.Version

Time:09-12

enter image description here

CodePudding user response:

As per the docs https://docs.oracle.com/javase/9/docs/api/java/lang/module/ModuleDescriptor.html

ModuleDescriptor is in JDK 1.9 . You can download JDK from here https://www.oracle.com/ca-en/java/technologies/javase/javase9-archive-downloads.html

then import it in your android studio.

CodePudding user response:

ModuleDescriptor is exists for the JAVA SE 9 & JDK 9. read the documentation at official website

  • Related