Open chpalesha opened 5 years ago
I'm having the same issue.
Bump, having the same issue after updating Android Studio to version 3.4
need help, iam getting same issue here, try to import threetenbp.jar, but still get error
I solved! include in Project -> build.gradle -> dependencies this line;
implementation 'com.jakewharton.threetenabp:threetenabp:1.2.0'
In Class where you got error delete :
import java.time.LocalDate
and now write this line in import declaration:
import org.threeten.bp.LocalDate;
Rebuild your project .
Excuse for my english. I hope it works for you too.
Greetings.
Slash-912001
@Slash-912001, thank you! the error is gone, hope this issue can be updated on this library
I still have it, needed o include the dependency
Similar issue. Adding
implementation 'com.jakewharton.threetenabp:threetenabp:1.2.0'
fixed it.
@rafael-labela, excuse me for late answer:
you must include in file build.gradle inside dependencies this line:
'com.jakewharton.threetenabp:threetenabp:1.2.0'
and then in Class where you have the error write this line:
import org.threeten.bp.LocalDate; (if you use java.time.LocalDate) at top of the Class. Delete the import java.time.LocalDate or if you use LocalTime delete java.time.LocalTime and then always at the top of the Class write import org.threeten.bp.LocalTime;. Rebuild your project.
Bye.
Slash-912001
include below dependency with the material calendar view (version 2.0.1)
implementation 'com.jakewharton.threetenabp:threetenabp:1.2.1'
It worked for me, Hope it works for you also. :)
implementation 'com.jakewharton.threetenabp:threetenabp:1.2.0'
@evanova thank you, work for me.
Error line: mcvDisplayDeliveries.setSelectedDate(CalendarDay.today());
error: cannot access LocalDate class file for org.threeten.bp.LocalDate not found
gradle build: 5.1.1
implementation 'com.github.prolificinteractive:material-calendarview:2.0.1'