Welcome to the Treehouse Community
Looking to learn something new?
OkHttpClient Error when running app in SDK
getting an error message saying "cannot find symbol class OkHttpClient? Any ideas?
I'd say that's a Gradle issue. Difficult to say.
What are you doing to create this error - are you running the application or opening Studio?
What are you looking at that shows this error?
Hi Steve, Thanks for the reply, I am running the application. I have resolved the issue, just deleted the code and re wrote it so I am guessing it was a syntax error. However when I run the app now, I am told in the main activity Error: Could not access the Package Manager. Is the system running?
I will point out that I am new to this so I appreciate any help and patience :)
Being new is awesome - please do keep at it.
One thing I will say about being new is that you'll get lots of attention but to get to the root of your issue may take some to-and-fro - here's no different!
I shall investigate your error message and see if I can assist ...
However, I love to see that you're doing this absolutely right - ask away! - just keep asking questions. It is, without doubt, the best way for you to learn and also the best way for those trying to answer to learn too! Keep it up!!
I hope to be back to you soon ...
Thanks :), I managed to sort it, and then got a HAX error but have that sorted as well, I think I jumped the gun on the question front ha ha, bit of digging and debugging and it seems all good. Thanks again, i'm sure I will be back at some stage with a question :)