It transpires I was using 0.7.3 (ie 0.7.+), I've forced it to 0.7.3 and the
same result in AS (Android Studio 0.4.0).
BTW it compiles OK within AS it's just the code completion and error
highlighting.
On Friday, 3 January 2014 18:11:47 UTC, Michael Barany wrote:
>
> Try plugin 0.7.3, there was a bug in 0.7.2 that limited it to Java 1.6
>
> On Friday, January 3, 2014 5:48:21 AM UTC-5, Scott Culverhouse wrote:
>>
>> The below works with the latest buildtools (19.0.1) and gradle plugin
>> (0.7.2) in terminal however in AS it shows "Cannot resolve symbol" for the
>> jar which is "provided".
>>
>> Any ideas on how to exclude the certain classes from the dex. This is for
>> the xposed framework where the jar is already on the device.
>>
>>
>>
>> On Friday, 16 August 2013 18:51:10 UTC+1, Andy Lo A Foe wrote:
>>>
>>> I just ran into the same issue where I needed to exclude the jar for a a
>>> device provided implementation (uses-library). The following gradle config
>>> snippet worked for me:
>>>
>>> configurations {
>>> provided
>>> }
>>>
>>> android.applicationVariants.all {
>>> variant -> variant.javaCompile.classpath += configurations.provided
>>> }
>>>
>>> dependencies {
>>> provided files('libs/samsung_ble_sdk_200.jar')
>>> }
>>>
>>> Last comment in
>>> https://code.google.com/p/android/issues/detail?id=55764helped i.e. use
>>> ".all" instead of ".each" for latest gradle release.
>>>
>>> Cheers,
>>> Andy
>>>
>>
--
You received this message because you are subscribed to the Google Groups
"adt-dev" 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.