Status Update
Comments
lo...@gmail.com <lo...@gmail.com> #2
Luke - am I right in thinking this already fixed in AGP at head?
ps...@google.com <ps...@google.com>
ra...@google.com <ra...@google.com> #3
Yes, all Android resource inputs can now only use relative path sensitivity, apart from custom resource directories located outside the project when data binding is enabled. The mentioned inputs in the stacktrace such as resourcesComputer.resources.fastdev.sourceDirectoriesAbsolute
have been removed at head.
je...@google.com <je...@google.com>
lo...@gmail.com <lo...@gmail.com> #4
Is "head" == AGP 7.3.1?
or 7.3.0?
Could you please look at git history to see which version the fix is in?
st...@deutschebahn.com <st...@deutschebahn.com> #5
Comment has been deleted.
st...@gmail.com <st...@gmail.com> #6
any chance it could be cherrypicked to 7.3.1 or 7.4? Would be nice to see better remote cache hit rates.
sa...@gmail.com <sa...@gmail.com> #7
Thanks a lot! Ugly fix worked, superb!
sh...@gmail.com <sh...@gmail.com> #8
Still works, thank you! <3
Description
Hello!
It is at least the third time I'm affected by this bug, and this time, it took me months to finally resolve it again… until next time.
The symptoms
The IDE believes that the JDK classes are not in the classpath, leading to unresolved references for types like
java.util.Locale
, or errors like the following:The (IMO ugly) workaround
Removing the
options/jdk.table.xml
file, located in~/Library/Application Support/Google/AndroidStudioPreview20XX.X/options/jdk.table.xml
on macOS, while Android Studio is not open fixes the issue, which no longer appears after opening Android Studio back after that.The reasons why I believe this workaround is ugly are the following:
Some clues to help you in fixing that
I attached the old
jdk.table.xml
file I had (with the.old
extension), and the new one that Android Studio generated itself so you can compare them and try to trace how the mess-up happened.I'd be curious to know what happens again, and I hope we can find a reliable fix for that issue sooner than latter to help Android developers, especially the beginners.
IDE info
Thanks for reading, have a great day, have a great year, and have a good everything!
Louis CAD