long1eu / flutter_i18n

This plugin create a binding between your translations from .arb files and your Flutter app.
Apache License 2.0
252 stars 55 forks source link

(v1.1.2) strings_en.arb is generated for non dart/flutter projects #106

Open remcoanker opened 4 years ago

remcoanker commented 4 years ago

After updating the plugin to V1.1.2, the plugin creates strings_en.arb for all Android Studio projects, even a new blank android project without dart or flutter. The file gets instantly regenerated after deleting.

noordawod commented 4 years ago

Thanks for the heads up! I'll check this asap and submit a new version.

noordawod commented 4 years ago

This is now fixed in #107 and submitted to JetBrains plugins repo. Hopefully it'll appear by tomorrow and you can upgrade.

augustdong commented 4 years ago

Still exists on version v.1.1.4-191, when open android projects on Android Studio, this plugin creates strings_en.arb on /android/res/values/ @noordawod

noordawod commented 4 years ago

Something in your environment is different than mine then because it doesn't happen here. I tested with many Android projects... There's a strict check in the Kotlin code for a Flutter-only project.

Can you check if a Flutter or Dart module is listed inside .idea/modules.xml file?

pparadox11 commented 4 years ago

Hi, i am facing the same issue, any suggestion?

beilly commented 4 years ago

@noordawod ,when open Flutter project's android module, it creates strings_en.arb on /android/res/values/。I think it's not issues, but I can't build my Flutter project in Android platform. And can i close auto generate by another menu?