Reputation: 11
I go following issues when I develop android app
Add @Target Api(MARSHMALLOW)
Annotation.
How can I fix it?
Upvotes: 0
Views: 661
Reputation: 152867
Use Object getSystemService(String)
instead of the T getSystemService(Class<T>)
overload that is only available from API level 23 onwards.
Upvotes: 0