Resources gone from Android Studio |
||||
Issue descriptionI synced on master and regenerated the gradle setup, all the resources are gone from the project. They don't show up in find files and they are also not visible in the Project view.
,
May 17 2017
Looking into this. You shouldn't have to add those flags to just edit xml layouts. Those flags cause a module to be generated for each gn target, which means imports/refactoring will not work cross-module, and Android Studio may give you lots of redlines editing java.
,
May 17 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/dc177240b50784d9fe81d654e129275028e6d97f commit dc177240b50784d9fe81d654e129275028e6d97f Author: wnwen <wnwen@chromium.org> Date: Wed May 17 17:18:54 2017 Android: Add resources back to Android Studio Resources were not collected for the pseudo all module before. Adding it back, but skipping the generated resources folders. BUG= 722302 Review-Url: https://codereview.chromium.org/2888923002 Cr-Commit-Position: refs/heads/master@{#472485} [modify] https://crrev.com/dc177240b50784d9fe81d654e129275028e6d97f/build/android/gradle/generate_gradle.py
,
May 17 2017
Let me know if this works for you. Excluded generated resources for now since this is just to enable editing. If you want all the resources for a specific apk, just generate for that apk, and you should get back everything (use --target).
,
May 24 2017
Works for me, thanks!
,
May 24 2017
|
||||
►
Sign in to add a comment |
||||
Comment 1 by bsazonov@chromium.org
, May 16 2017