相关文章推荐
千杯不醉的蜡烛  ·  jenkins+pytest+allure+ ...·  1 年前    · 
读研的冲锋衣  ·  Alibaba Cloud Linux ...·  2 年前    · 
求醉的牛排  ·  win10 uwp ...·  2 年前    · 
谦虚好学的冲锋衣  ·  Use managed ...·  2 年前    · 
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

@user9289038 While at it, make sure your support library version matches your compile SDK version. – Eugen Pechanec Feb 5, 2018 at 13:01

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.