Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
And Following support library i have compiled
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:design:25.1.0'
compile 'com.android.support:cardview-v7:25.1.0'
compile 'com.android.support:support-v4:25.1.0'
compile 'com.android.support:recyclerview-v7:25.1.0'
When i have trying to import JobIntentService class its not resolve.Below link to i am trying to implement
JobIntentService
JobIntentService was added in support library version 26.1.0 from package com.android.support:support-compat.
So, update your gradle version for support library.
For AndroidX:
implementation 'androidx.core:core:1.0.1'
Latest stable version is available in Release Notes
–
In my case implementation 'com.android.support:support-compat:26.1.0' caused many error messages about incompability, so
implementation "com.android.support:support-v4:<you_target_platform_ver>"
helped.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.