scala-android icon indicating copy to clipboard operation
scala-android copied to clipboard

Issue in running the project.

Open wpoosanguansit opened this issue 10 years ago • 2 comments

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.

wpoosanguansit avatar Jul 18 '15 14:07 wpoosanguansit

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.

fedefernandez avatar Jul 19 '15 11:07 fedefernandez

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.

wpoosanguansit avatar Jul 19 '15 12:07 wpoosanguansit