Hi Xavier,

I've seen multiple forum posts inquiring about this capability, and that 
suggests that there is value in supporting this use case. I understand that 
this is probably not a high priority for the Android tools team, and I'd be 
happy to contribute the necessary changes to support it in the Gradle 
plugin.

Should I proceed with developing the changes and submitting them for review?

Thanks,
Mark


On Thursday, February 27, 2014 8:15:48 AM UTC-8, Xavier Ducrohet wrote:
>
> Add-on with resources is not a supported case, and probably won't be.
>
>
> On Wed, Feb 26, 2014 at 9:07 PM, Scott Battaglia 
> <[email protected]<javascript:>
> > wrote:
>
>> I have a gradle project that's referencing an add-on:
>>
>> i.e.
>> compileSdkVersion "<Vendor>:<AddOnName>:17"
>>
>> I've got just about everything working but my local resources accessing 
>> add-on resources is failing:
>>
>>         <TextView
>>             android:id="@+id/author_text"
>>             style="@r_package:style/AddOn.Resource"
>>             android:layout_width="fill_parent"
>>             android:layout_height="wrap_content"
>>             android:layout_weight="1"
>>             android:singleLine="true"
>>             android:text="author"
>>             android:visibility="gone" />
>>
>> In this example, the @r_package:style/AddOn.Resource can't be found 
>> either in Android Studio and at the command line when referenced via the 
>> resource (I can, however, find the R class in Android Studio if I ask it to 
>> open the class).
>>
>> Is there something else that needs to be done for this to work properly? 
>>  I couldn't find anything in the plug-in documentation (the only reference 
>> to working with add-ons that I found was on Stackoverflow)
>>
>> Thanks
>> Scott
>>
>> -- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
> http://developer.android.com | http://tools.android.com
>
> Please do not send me questions directly. Thanks! 
>

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

Reply via email to