为什么错?如果解决?求大佬帮java.lang.Runtim
aide吧
全部回复
仅看楼主
level 14
为什么错?如果解决?求大佬帮
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {com.mycompany.TakePhoto/com.mycompany.TakePhoto.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setImageBitmap(android.graphics.Bitmap)' on a null object reference
2018年08月19日 08点08分 1
level 14
点击按钮跳转到相机,拍好照片确定后返回闪退
2018年08月19日 14点08分 2
忘了把picture findViewById了[汗]
2018年08月19日 15点08分
一个很简单到很难发现的错误[黑线]
2018年08月19日 15点08分
level 11
picture对象没有赋值
要在onCreate里findViewById
2018年08月19日 15点08分 3
刚解决,太粗心了
2018年08月19日 15点08分
天哪我也太粗心[泪]
2021年03月23日 15点03分
1