scaloid icon indicating copy to clipboard operation
scaloid copied to clipboard

String resources getting mixed up when using Java + Scaloid?

Open catsynth opened this issue 9 years ago • 2 comments

I am finding that one subsequent compiles while using Scaloid, some of my string resources are getting mixed up, i.e., seeing the wrong string for a R.string.xx resource ID.

Doing a clean build fixes the issue, though tedious to do that on every change. Removing Scaloid/Scala from the project makes the issue disappear, though I'd really like to use it.

catsynth avatar Feb 09 '16 00:02 catsynth

Will you give me more detailed description to reproduce this problem?

pocorall avatar Feb 12 '16 02:02 pocorall

I've got the same issue with Android Studio (Intellij Idea). Somehow sbt interferes with Idea's compile server. TR.scala is being compiled with wrong references. If I delete this file and use Idea's only compile server (with 'sbt clean' before) then it works fine. So the problem is somewhere in-between Scalod, Andriod Studio and android-sdk-plugin of sbt.

barbalion avatar Apr 27 '16 16:04 barbalion