我已经将 calendar
类用于带有 alarm manager
的闹钟应用程序,但是我在 calendar
类的实例中遇到错误>。
我在其他论坛进行了调查,但没有找到合适的解决方案。
我需要你的帮助。
the error is marked in the instance of the calendar class enter image description here
最佳答案
据我所知,您可以使用普通的 Calendar而不是 API 24 中引入的 ICU Calendar .尝试使用此导入 java.util.Calendar
而不是此导入 android.icu.util.Calendar
。
关于java - 安卓工作室堆栈=java.lang.NoClassDefFoundError : Failed resolution of: Landroid/icu/util/Calendar;,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40540805/