skip to Main Content

This android project has lots of modules, when I do Refactor->Migrate to androidx, source codes from module "app" upgraded,
Only app module auto migrated

but codes from modules are never migrated…

Now have to fix it buy lots of manual replacement.
Any idea how to migrate these modules? Thanks for your help.

2

Answers


  1. Chosen as BEST ANSWER

    Anyway, thanks, I solved it by doing migration first on a refresh copy without doing anything to gradle versions.


  2. Check if you added this code android.useAndroidX=true in gradle.properties.for more details please refer this link

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search