The proper "workaround" is to use the idea-sbt plugin to build and not the intellij make.
-- Sent from my phone On May 15, 2014 1:53 PM, "David Pérez" <[email protected]> wrote: > One workaround is to create a fake AndroidManifest.xml that IDEA can > process, removing parts that need the presence of 3rd party aar libs. > > Am Donnerstag, 15. Mai 2014 08:42:37 UTC+2 schrieb David Pérez: >> >> I'm using IDEA 13.1.2 with latest Scala plugin cannot compile a SBT >> Android project that uses android-sdk-plugin. >> >> >> >> The cause is that it cannot compile resources, because in the build.sbt >> I've declared to use a library that contains Android resources. >> >> >> I receive this error message: >> >> >> Error:(41, -1) android-apt-compiler: [incidencias] >> /home/david/android/MyProject/src/main/AndroidManifest.xml:41: error: >> Error: No resource found that matches the given name (at 'value' with value >> '@integer/google_play_services_version'). >> >> >> >> >> >> I'm using Scala 2.10.4. >> >> Of course, I can compile ok with SBT. >> >> >> I would like to be able to compile and run also within the IDE, e.g. for >> running tests and seeing graphically the results. >> >> >> >> Is there any workaround?. Probably many of you use android-sdk-plugin + >> IDEA or Android Studio. >> >> >> Thanks in advance for any help. >> >> >> David >> > -- > You received this message because you are subscribed to the Google Groups > "scala-on-android" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "scala-on-android" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
