IllegalStateException (Already attached) when opening NFC reader app
问题 I'm trying to develop an app that reads an NFC tag and displays the read data. I took most of the code from a blog but I'm getting an error when I run the application since I am trying to integrate it with the slider application. Here are my errors and my code below: E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.jeffk11.tag, PID: 20123 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.jeffk11.tag/com.example.jeffk11.tag.MainActivity}: java.lang