@marcg ===
as @kfrajer i dont know wether you are working wit P5+AS or P5 only (you are speaking about on create && main activity, which means AS but it could be also p5 android 2X…) that does not matter here= the error is about your arrays which are null and looking to the url provided i think that they are not good for the loadStrings() method which is looking for a file with .txt or html sufix. Try with another url pointing towards some .txt: your code will work.