Good to know! Mystical, indeed... I searched android-plugin and sbt 
codebases on Github, no “containerId” in sight.

On Wednesday, February 5, 2014 9:56:41 PM UTC, Bruno Conde wrote:
>
> I ended up setting the containerId := "something" and the error was gone 
> and everything is working fine.
>
> I don't know what this property means thought..
>
> On Wednesday, February 5, 2014 6:47:23 PM UTC, Nick Stanchenko wrote:
>>
>> For me it does work with the 0.13.x launcher (but make sure you have 
>> project/build.properties with 0.12.x, because android-plugin does not work 
>> with sbt 0.13.x yet).
>>
>> On Wednesday, February 5, 2014 6:41:00 PM UTC, Bruno Conde wrote:
>>>
>>> addSbtPlugin("org.scala-sbt" % "sbt-android" % "0.7.1-SNAPSHOT")
>>>
>>> I'm going to install sbt version 0.12 (I have 0.13.1 now) to see if it 
>>> helps since that was the version I had in my previous environment with this 
>>> config. I'm out of ideas...
>>>
>>> Thank you very much for all your help.
>>>
>>> Bruno.
>>>
>>> On Wednesday, February 5, 2014 6:31:17 PM UTC, Nick Stanchenko wrote:
>>>>
>>>> I’ve never seen this... How do you include the android-plugin? Do you 
>>>> have any global sbt plugins?
>>>> Maybe people on sbt mailing list could help.
>>>>
>>>> On Wednesday, February 5, 2014 6:24:30 PM UTC, Bruno Conde wrote:
>>>>>
>>>>> The error happens on start.
>>>>>
>>>>> https://gist.github.com/bmpc/8829899
>>>>>
>>>>> I have a build.properties specifying "sbt.version=0.12.0". I also 
>>>>> tried with "sbt.version=0.12.4" and got the same result...
>>>>>
>>>>> On Wednesday, February 5, 2014 6:16:38 PM UTC, Nick Stanchenko wrote:
>>>>>>
>>>>>> Looks ok. Could you provide a full log of starting sbt? Also, when 
>>>>>> does it crash? Just on start or during some command?
>>>>>>
>>>>>> On Wednesday, February 5, 2014 6:08:59 PM UTC, Bruno Conde wrote:
>>>>>>>
>>>>>>> Here is my build.sbt:
>>>>>>>
>>>>>>> https://gist.github.com/bmpc/8829741
>>>>>>>
>>>>>>> On Wednesday, February 5, 2014 5:53:03 PM UTC, Nick Stanchenko wrote:
>>>>>>>>
>>>>>>>> Do you have
>>>>>>>>
>>>>>>>> androidDefaults
>>>>>>>>
>>>>>>>> somewhere in your build.sbt? (you should)
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wednesday, February 5, 2014 5:47:15 PM UTC, Bruno Conde wrote:
>>>>>>>>>
>>>>>>>>> I knew I had a previous version because I couldn't find 
>>>>>>>>> 0.7.1-SNAPSHOT on a public rep. I guess in my previous environment I 
>>>>>>>>> published android-plugin to my local rep as you said.
>>>>>>>>>
>>>>>>>>> Now I get an error. The publishing went OK but when I go and sbt 
>>>>>>>>> on my project it fails. Do you have any idea about this error?
>>>>>>>>>
>>>>>>>>> [debug] Copy resource mappings:
>>>>>>>>> [debug]
>>>>>>>>> References to undefined settings:
>>>>>>>>>
>>>>>>>>>   release:container-id from release:aapt-generate
>>>>>>>>>
>>>>>>>>>   compile:container-id from compile:aapt-generate
>>>>>>>>>
>>>>>>>>>   preload:container-id from preload:aapt-generate
>>>>>>>>>
>>>>>>>>> at sbt.Init$class.Uninitialized(Settings.scala:190)
>>>>>>>>> at sbt.Project$.Uninitialized(Project.scala:111)
>>>>>>>>> at sbt.Init$class.delegate(Settings.scala:133)
>>>>>>>>> at sbt.Project$.delegate(Project.scala:111)
>>>>>>>>> at sbt.Init$class.compiled(Settings.scala:83)
>>>>>>>>> at sbt.Project$.compiled(Project.scala:111)
>>>>>>>>> at sbt.Init$class.make(Settings.scala:89)
>>>>>>>>> at sbt.Project$.make(Project.scala:111)
>>>>>>>>> at sbt.Project$.makeSettings(Project.scala:224)
>>>>>>>>> at sbt.Load$.apply(Load.scala:129)
>>>>>>>>> at sbt.Load$.defaultLoad(Load.scala:39)
>>>>>>>>> at sbt.BuiltinCommands$.doLoadProject(Main.scala:400)
>>>>>>>>> at 
>>>>>>>>> sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:394)
>>>>>>>>> at 
>>>>>>>>> sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:394)
>>>>>>>>> at 
>>>>>>>>> sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:60)
>>>>>>>>> at 
>>>>>>>>> sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:60)
>>>>>>>>> at 
>>>>>>>>> sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:62)
>>>>>>>>> at 
>>>>>>>>> sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:62)
>>>>>>>>> at sbt.Command$.process(Command.scala:90)
>>>>>>>>> at 
>>>>>>>>> sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(MainLoop.scala:71)
>>>>>>>>> at 
>>>>>>>>> sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(MainLoop.scala:71)
>>>>>>>>> at sbt.State$$anon$2.process(State.scala:170)
>>>>>>>>> at sbt.MainLoop$$anonfun$next$1.apply(MainLoop.scala:71)
>>>>>>>>> at sbt.MainLoop$$anonfun$next$1.apply(MainLoop.scala:71)
>>>>>>>>> at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
>>>>>>>>> at sbt.MainLoop$.next(MainLoop.scala:71)
>>>>>>>>> at sbt.MainLoop$.run(MainLoop.scala:64)
>>>>>>>>> at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:53)
>>>>>>>>> at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:50)
>>>>>>>>> at sbt.Using.apply(Using.scala:25)
>>>>>>>>> at sbt.MainLoop$.runWithNewLog(MainLoop.scala:50)
>>>>>>>>> at sbt.MainLoop$.runAndClearLast(MainLoop.scala:33)
>>>>>>>>> at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:17)
>>>>>>>>> at sbt.MainLoop$.runLogged(MainLoop.scala:13)
>>>>>>>>> at sbt.xMain.run(Main.scala:26)
>>>>>>>>> at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:57)
>>>>>>>>> at xsbt.boot.Launch$.withContextLoader(Launch.scala:77)
>>>>>>>>> at xsbt.boot.Launch$.run(Launch.scala:57)
>>>>>>>>> at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
>>>>>>>>> at xsbt.boot.Launch$.launch(Launch.scala:65)
>>>>>>>>> at xsbt.boot.Launch$.apply(Launch.scala:16)
>>>>>>>>> at xsbt.boot.Boot$.runImpl(Boot.scala:32)
>>>>>>>>> at xsbt.boot.Boot$.main(Boot.scala:21)
>>>>>>>>> at xsbt.boot.Boot.main(Boot.scala)
>>>>>>>>> [error] References to undefined settings:
>>>>>>>>> [error]
>>>>>>>>> [error]   release:container-id from release:aapt-generate
>>>>>>>>> [error]
>>>>>>>>> [error]   compile:container-id from compile:aapt-generate
>>>>>>>>> [error]
>>>>>>>>> [error]   preload:container-id from preload:aapt-generate
>>>>>>>>> [error]
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wednesday, February 5, 2014 5:31:11 PM UTC, Nick Stanchenko 
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> The linked lines in the gist should now be #27 and #28.
>>>>>>>>>>
>>>>>>>>>> On Wednesday, February 5, 2014 5:27:17 PM UTC, Nick Stanchenko 
>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>> Looks like you have an older version of the android-plugin. The 
>>>>>>>>>>> one I have:
>>>>>>>>>>> 1) Generates another file called “typed_layouts.scala” before 
>>>>>>>>>>> this step 
>>>>>>>>>>> https://gist.github.com/bmpc/8828401#file-sbt_output-L32
>>>>>>>>>>> 2) Runs AAPT (Android resource/asset compiler) for every apklib 
>>>>>>>>>>> and aarlib, not just your app 
>>>>>>>>>>> https://gist.github.com/bmpc/8828401#file-sbt_output-L31
>>>>>>>>>>>
>>>>>>>>>>> Well, the first one is just to track the version, but the second 
>>>>>>>>>>> one causes your actual problem — resources for appcompat are not 
>>>>>>>>>>> packaged.
>>>>>>>>>>>
>>>>>>>>>>> Try to clone https://github.com/jberkel/android-plugin, run 
>>>>>>>>>>> “sbt publish-local” in the cloned repo and modify your 
>>>>>>>>>>> “project/plugins.sbt” to depend on “0.7.1-SNAPSHOT” version of the 
>>>>>>>>>>> plugin.
>>>>>>>>>>>
>>>>>>>>>>

-- 
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/groups/opt_out.

Reply via email to