报错日志
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference
at com.example.test1.MainActivity$1.onActivityResult(MainActivity.java:57)
java代码报类似的错误,一定出现类似null的空值去toString或getstring()之类的计算了。仔细检查是否出现了null空值。
标签:lang,java,String,getString,Bundle,null From: https://www.cnblogs.com/tianmiaogongzuoshi/p/17179366.html