Error only in Android

Hello there!

I’m getting the following error only when the app is running on Android. I cannot find the bug. Any help will be greatly appreciated!

Thanks in advance
Error: [$injector:unpr] Unknown provider: undefinedProvider <-$injector/unpr?p0=undefinedProvider%20<-%20

@shakirthow Could you Paste your full error log. And Check your dependency ,Whether you are included your dependency module .

May be you dont have the dependency in index.html as a .js file

Make sure you have already load the module file before you inject in you app

Yup, they are all fine… And works without an issue in iOS and browser…

undefinedProvider looks like something has stringified to undefined and then looked up with $injector. Normally, $injector takes the string you give it and appends Provider on the end (since that’s how they’re defined down in the bowels of angular). Since it’s only happening on android, I’d look up any logic that is conditional on device type and see what you’re doing in that area.

Without seeing more code, I can’t really help any more than that.