New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MissingResourceException when trying to make a module #118
Comments
|
Which version of Android Studio / IntelliJ and the Bazel plugin are you using? We don't support building/compiling modules natively with Android Studio / IntelliJ -- the plugin delegates those actions to Bazel. Which action did you run to produce this error? |
|
I was using Android Studio 3.0 Canary 8 with version 2017.07.05.0.2 of the plugin, on macOS 10.12.6. I got the error after going to the Build menu and selecting the Make Module menu item. If building in the IDE is not supported, how do I get it to index the Java code for searching? I primarily want to be able to navigate around in code and find usages of identifiers. |
|
We don't yet support AS 3.0 (the latest Bazel plugin is built against AS 2.3, and I'd expect many plugin features to be currently broken in 3.0). That 'Make Module' item is normally suppressed for Bazel projects -- it might have regressed in 3.0, or perhaps your project isn't registering as a Bazel project. You can build your project with Bazel using the 'Bazel > Sync > Sync project with BUILD files' action (the red 'B' button in the toolbar). That action is only present for Bazel projects though -- if it's not there, you'll first need to import a Bazel project (File > Import Bazel Project). |
|
That was the problem - it wasn't detected as a Bazel project, and I was able to build from the Bazel menu once it was. |
|
when I update my Android Studio form 2.3 to 3.0 stable, I get the same problem! Error:Android Source Generator: Error: Can't find bundle for base name messages.AndroidJpsBundle, locale zh_CN |
|
when I update my Android Studio form 2.3 to 3.0 stable, I get the same problem! |
|
Error:Android Source Generator: Error: Can't find bundle for base name messages.AndroidJpsBundle, locale ru_RU |
|
when I update my Android Studio form 2.3 to 3.0 stable, I get the same problem! |
|
I am getting the same problem after updating Android Studio from 2.3 to 3.0. |
|
How are you importing your Bazel project? Can you try recreating it from scratch, via 'File > Import Bazel Project'? |
|
We don't yet support AS 3.0.1. You can see which versions the plugin has been built for here. I'd recommend downgrading to 171.4249 or earlier. The next version, scheduled for release Friday December 15th, is built against 171.4408382. It will also likely not work with 3.0.1, but is at least built against a stable version of 3.0.0. |

When I try to build a module with this plugin, it always immediately fails with the following exception:
The text was updated successfully, but these errors were encountered: