Home Features Docs Blog Support GitHub

*.nbc Binding file not recognized by newest Android Studio on MacOS

Hi there!

I’ve updated Android Studio on my Mac and now the *.nbc files won’t be recognized by the IDE anymore. Is there a way to generate binding classes via gradle tasks?

Best regards!

1 Like

Same here, upgraded to Android Studio 4.1 and the binding file isn’t recognized. AS said it couldn’t find a plugin to handle it, so I followed that prompt and selected the MOE plugin, and now my .nbc file won’t even open in text form in Android Studio. Any ideas @Noisyfox?

Hmmm there seems to be a NullPointerException when opening the editor. I’ll fix it asap.

Meanwhile you could run the gradle task moeNatJGen manually with arguments -Draw-binding-output -Dmoe.binding.conf=<path-to-bind-file>.

3 Likes

This has been fixed in 1.4.9 of the MOE CE plugin.

2 Likes

Thank you very much!!!