java.lang.NullPointerException with Nougat

后端 未结 3 1142
别跟我提以往
别跟我提以往 2020-12-09 10:05

My app has been humming along nicely through various Android versions. I have users running it on Android 4.3, 5.0, 5.1 and 6.0 with no problems. However a user with a S7 Ed

3条回答
  •  萌比男神i
    2020-12-09 10:35

    I've seen this crash for a while in my app coming from Samsung devices. turned out that a long press on a TextView brought up the copy-paste menu on those devices and the user was even able to paste text over (although its not an EditText component). Ended up disabling all types of interactions in the XML of the culprit TextViews (most importantly longClickable) and the crash wen't away.

     
    

提交回复
热议问题