Hi,

You need to use apklib and aarlib (see 
here: 
http://fxthomas.github.io/android-plugin/tutorial/02-configuring-the-build.html#toc_4)

apklib("com.android.support" % "appcompat-v7" % "18.0.0"),
aarlib("com.github.chrisbanes.actionbarpulltorefresh" % "extra-abc" % 
"0.9.3")

Nick

On Wednesday, February 5, 2014 2:16:00 PM UTC, Bruno Conde wrote:
>
> Greetings,
>
> I'm having problems trying to add *appcompat-v7* to my project using 
> *android-plugin 
> <https://github.com/jberkel/android-plugin>*. The *apklib* that I 
> reference in the *libraryDependencies *can't be resolved.
>
> I have ANDROID_HOME var correctly set in my environment. Also, for the 
> *extra-abc* lib I needed to change the "apklib" to "aar" so that it could 
> be resolved.
>
>       libraryDependencies ++= Seq(
>         "com.android.support" % "support-v4" % "18.0.0",
>         "com.novoda.imageloader" % "imageloader-core" % "1.5.6",
>         "com.android.support" % "appcompat-v7" % "18.0.0" 
> artifacts(Artifact("appcompat-v7", "apklib", "apklib")),
>         "com.github.chrisbanes.actionbarpulltorefresh" % "extra-abc" % 
> "0.9.3" artifacts(Artifact("extra-abc", "aar", "aar"))
>       )
>
> *Error:*
>
> [info] Resolving com.android.support#appcompat-v7;+ ...
> [warn] module not found: com.android.support#appcompat-v7;+
> [warn] ==== local: tried
> [warn]   
> /Users/xxx/.ivy2/local/com.android.support/appcompat-v7/[revision]/ivys/ivy.xml
> [warn] ==== public: tried
> [warn]   
> http://repo1.maven.org/maven2/com/android/support/appcompat-v7/[revision]/appcompat-v7-[revision].pom
>
> Am I missing something?
>
> Thanks,
>
> Bruno Conde
>
>

-- 
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