Android Studio stack = java.lang.NoClassDefFoundError:解析失败:Landroid / icu / util / Calendar; [英] Android Studio stack=java.lang.NoClassDefFoundError: Failed resolution of: Landroid/icu/util/Calendar;
问题描述
我使用日历类作为警报管理器的警报应用程序,但是我对班级日历的实例有错误。
我在其他论坛上投资,但我发现poblem是什么。
我需要你的帮助。
据我所知,你可以使用正常的日历而不是在API 24中引入 ICU日历。尝试使用此导入 java.util.Calendar
而不是此导入 android.icu.util.Calendar
。
sorry my english is not very good but.
i use the calendar class for a alarm app with the alarm manager, but i have a error with the instance of the class calendar. i investiged in other forums but i not find poblem what is. please i need your help.
the error is marked in the instance of the calendar class enter image description here
As far as i can see, you could just use the normal Calendar instead of the in API 24 introduced ICU Calendar. Try to use this import java.util.Calendar
instead of this import android.icu.util.Calendar
.
这篇关于Android Studio stack = java.lang.NoClassDefFoundError:解析失败:Landroid / icu / util / Calendar;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!