Home > Mobile >  Android, rely on the red is added to the studio and the XML can't quote
Android, rely on the red is added to the studio and the XML can't quote

Time:10-05

After add good dependence, sync, there are no error in the build, but add dependent on the red, and the XML can't reference, (use the full path couldn't)

At first thought it was a version of the problem, and then the file - project structure - in dependencies find recycler view, and then update to system recommended updates version

Study results,,, or so long senior to give directions

CodePudding user response:

Will is androidx problem,,,,
Try androidx into the android support library

CodePudding user response:

This should be don't match with other libraries, such as you use support28 but other dependencies to use supportx, such (not necessarily) may lead to compatibility problems (strange)

CodePudding user response:

reference 1st floor Krisez response:
will is androidx problem,,,,
Try androidx into the android support library

Positive solution, after converting the XML can recyclerview, nice!

CodePudding user response:

reference action2019 reply: 3/f
Quote: refer to 1st floor Krisez response:

Will is androidx problem,,,,
Try androidx into the android support library

Positive solution, after converting the XML can recyclerview, nice!

That's OK

CodePudding user response:

reference 4 floor Krisez response:
Quote: reference action2019 reply: 3/f

Quote: refer to 1st floor Krisez response:

Will is androidx problem,,,,
Try androidx into the android support library

Positive solution, after converting the XML can recyclerview, nice!

That's OK

However, when running the app to add one step operation, is to convert the support library Androidx, won't appear various kinds of small problems/(ㄒ o ㄒ)/~ ~