Well, I was using 0.7, but got stuck in an error so I decided to try 
another version. Also,
"The 0.7.x version is no longer maintained".
 
The error was at runtime related to the appcompat-v7 library:

java.lang.NoClassDefFoundError: android.support.v7.appcompat.R$styleable
            at 
android.support.v7.app.ActionBarActivityDelegate.onCreate(ActionBarActivityDelegate.java:107)


On Wednesday, February 5, 2014 3:05:03 PM UTC, Nick Stanchenko wrote:
>
> Is there any particular reason not to use version 0.7? There’s been a lot 
> of effort put into it...
> Anyway, I guess simply specifying the artifact will not work, since the 
> plugin won’t know it has to merge resources from AAR dependencies.
>
> On Wednesday, February 5, 2014 2:43:52 PM UTC, Bruno Conde wrote:
>>
>> Hi,
>>
>> I'm using v0.6.2 of android-plugin. I do not have those functions: aarlib 
>> and apklib. I believe they are only included in version 0.7.
>>
>> aarlib("com.github.chrisbanes.actionbarpulltorefresh" % "extra-abc" % 
>> "0.9.3")
>> [error]         ^
>> [error] one error found
>>
>> Bruno.
>>
>> On Wednesday, February 5, 2014 2:34:52 PM UTC, Nick Stanchenko wrote:
>>>
>>> Hi,
>>>
>>> You need to use apklib and aarlib (see here: 
>>> http://fxthomas.github.io/android-plugin/tutorial/02-configuring-the-build.html#toc_4<http://www.google.com/url?q=http%3A%2F%2Ffxthomas.github.io%2Fandroid-plugin%2Ftutorial%2F02-configuring-the-build.html%23toc_4&sa=D&sntz=1&usg=AFQjCNGSq9yofKG9bT_7ncqi2FdpJs0jHQ>
>>> )
>>>
>>> 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