Issue in running the project.
Hi,
I am checking out the project and did sbt run and I am getting:
[error] Projects/AndroidStudio/scala-android/target/android-gen/com/fortysevendeg/scala/android/BuildConfig.java:6: BuildConfig is already defined as object BuildConfig [error] public final class BuildConfig { [error] ^ [error] Projects/AndroidStudio/scala-android/target/android-gen/com/fortysevendeg/scala/android/R.java:10: R is already defined as object R [error] public final class R { [error] ^ [error] two errors found
I am using command line + set 1.3.6 and scala 2.11.6, java 1.8. Is there other settings that I need to take care of in order for the project to run properly. Thanks for your help.
Seems a problem with the plugin, we are going to take a look. Also try to find those duplicated files (find . -name BuildConfig.java) and remove the gen and target folders to see if this solves the problem.
Unfortunately, those files kept being regenerated at run. Any other suggestion? Thanks.
On Jul 19, 2015, at 7:23 AM, Fede Fernández [email protected] wrote:
Seems a problem with the plugin, we are going to take a look. Also try to find those duplicated files (find . -name BuildConfig.java) and remove the gen and target folders to see if this solves the problem.
— Reply to this email directly or view it on GitHub https://github.com/47deg/scala-android/issues/37#issuecomment-122650187.