I'm trying to run the first Wikitude Sample "Client Recognition" in Android Studio. Everything seems to be working fine except in my phone nothing happens when I focus on the image (surfer), and on the top left corner of the phone I only get "Loading..."
Back in Android Studio I get the following three error messages:
- E/AndroidProtocolHandler: Unable to open asset URL: file:///android_asset/Samples/css/default.css
- E/AndroidProtocolHandler: Unable to open asset URL: file:///android_asset/Samples/js/imageontarget.js
- E/AndroidProtocolHandler: Unable to open asset URL: file:///android_asset/ade.js
This is what I have in the onPostCreate section of the Activity:
Could somebody please tell me what I'm doing wrong? I have been trying all sorts of things for the past day and haven't got any closer.
Thank you!
N
Nicola Radacher
said
about 8 years ago
Hi David,
Are you following the Android set-up guide step by step and this happens without changing anything in the code?
Greetings
Nicola
D
David Canepa
said
about 8 years ago
Hello Nicola,
Thank you for your response. Yes I have been following the Android set-up guide step by step, which to be honest doesn't have much detail, lacks explanation, and is very difficult to follow, but yes I have done everything it says there, or so I think. Hence why I'm giving the code. If you could please suggest something that I can try or I might be doing wrong it would be greatly appreciatted.
Thank you.
David
S
Simon 248601
said
about 8 years ago
Hi David,
the error messages are saying that you are missing some files. Check your asset folder if it contains Samples/css/default.css and Samples/js/imageontarget.js and ade.js. Make sure the case is correct too, is the folder "Samples" really upper case or maybe like in our example application lower case "samples"?
Best regards, Simon
O
Oswaldo Trujillo Ortiz
said
about 4 years ago
I have a similar problem, but in
mine, he asks for a file that I don't have and I don't know why.
E/AndroidProtocolHandler: Unable to open asset URL: file:///android_asset/pointofinterestselectingpois/js/selectingpois.js
Simon 248601