我的项目运行正常,然后gradle构建开始显示此错误中的2个:
Nullpointerexception: null
我曾想过通过在模拟器中运行监视器来发现错误的位置,但是它所显示的只是一大堆AAPT错误,而不是空指针错误。
我尝试删除.gradle和.idea文件夹,也看不到任何导致此错误的对象存在任何问题,并且所有修复均无济于事。
任何帮助将不胜感激。
更新:现在,仿真监视器在Home活动中显示错误android.support.design.widget.BottomNavigationView cannot be cast to com.ittianyu.bottomnavigationviewex.BottomNavigationViewEx
。我很困惑