Android - Not able to get microseconds using java.time.Instant
问题 I am unable to get the microseconds using java.time.Instant (Instant.now()) from android. I am getting the date time without microseconds like 2020-04-10T12:43:40. 442Z from android But when I execute a independent java program, with the use of java.time.Instant (Instant.now()) I am getting the date time with microseconds like 2020-04-10T12:43:40. 442179Z It seems the issue is with java versions in android studio. Please help me to fix this issue. Note: I have installed Android Studio - 3.6.1