I keep having a problem with fragment_crime.xml. In trying to figure out what’s wrong, I copied the code directly from the nerd ranch downloaded code xml file, but I still have the error.
The code shows no error, but when I switch to graphical layout it shows nothing, and the bottom has a yellow box with:
Exception raised during rendering: java.lang.System.arraycopy…
Exception details are logged in Window > Show View > Error Log
I can’t find ‘error log’ in the show view menu.
I triple checked every line of code. I also tried re-creating the project and it still didn’t fix it.
Edit: when I remove the EditText widget from the layout file, the error disappears. I’ve tried removing different parts of the EditText, such as id, hint, and layout but the error remains.
Edit 2: I should note that the app runs without problem. Just can’t view the layout in the graphical layout.