Android Studio complements drawable and dimens, no longer available for viewing

Asked 1 years ago, Updated 1 years ago, 73 views

It's just as the title says.
Usually, if you define layout_background, etc. in XML, the value will be supplemented, but it will not be sudden, and even if you type it on your own, you will get an error.If you write the value directly, it will be reflected, but I am troubled because I cannot select drawable.
Please let me know if you know how to fix it.

android android-studio android-layout

2022-09-30 18:38

1 Answers

As far as I can read the text, the event seems a little different, but the link below describes what to do if the complement is no longer effective.
If the error only occurs on IDE, it may be possible to repair it.
(Conversely, if the same error occurs when you build (gradlew build) from Terminal with the gradew command, it may be a different cause.If you add an error during the build, someone may be able to answer.)

Android Studio-Auto complete and other features not working-Stack Overflow

Solution A.
File>Power Save Mode
If checked, remove it.

Solution B.
File>Invalidate Caches/Restart...
Select a menu and run "Invalidate and Restart".


2022-09-30 18:38

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.