-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find class 'android.app.AppOpsManager' with Android 4.2.2 #384
Comments
Hi @dapriett According the documentation EDIT: ignore my comment, it seems the issue is elsewhere. |
Hi @dapriett I had a second look at the issue and after I cleared my confusion about the metadata it seems that you run your app on API level 17 (Android 4.2.2). Can you confirm that? If that the case the case I am afraid this scenario is not supported in Android because |
Hi @slavchev The demo app runs with the default API level set by Nativescript, so yeah level 17. I'm not actually calling AppOpsManager anywhere, it's using the Android Google Play Services Maps SDK |
@dapriett Finally I managed to compile and run your app (btw it seems you npm is broken; it doesn't contain Also, I found this stackoverflow thread which discusses similar issue. So far I don't think it is {N} issue so I will leave it up to you. Please share your findings and feel free to ping me back if you think it is {N} problem. |
There is an issue with my nativescript-google-maps-sdk plugin with Android 4.2.2 (see: dapriett/nativescript-google-maps-sdk#7) where the map shows up blank.
The Android logs show this:
Not sure if it's related to the multidex issue here: #344 or something else. There is a demo app here to try it out: https://github.com/dapriett/nativescript-google-maps-sdk/tree/master/demo
The text was updated successfully, but these errors were encountered: