您好我尝试使用蓝牙代码示例连接我的蓝牙设备。但在说它与蓝牙连接后,应用程序崩溃了。这是错误:
2-28 15:30:54.550 8431-8431/course.examples.healthapp E/ArrayAdapter? You must supply a resource ID for a TextView
12-28 15:30:54.560 8431-8431/course.examples.healthapp D/AndroidRuntime? Shutting down VM
12-28 15:30:54.560 8431-8431/course.examples.healthapp E/AndroidRuntime? FATAL EXCEPTION: main
Process: course.examples.healthapp, PID: 8431
java.lang.IllegalStateException: ArrayAdapter requires the resource ID to be a TextView
以下是我的源文件(Dropbox):