Do you have a menu XML file which specifies app:showAsMenu rather than
android:showAsMenu? If so, did you create an attribute named showAsMenu
yourself?

That lint check is detecting the (rather common) bug which happens when you
take a project which used to have an app compat dependency, and you delete
appcompat and the various activity superclass definitions, but forget to
update the menu file.

(In 0.10.0 there was a bug where the appcompat dependency was not
recognized, which was fixed in 0.10.1, but it sounds like you're dealing
with a different problem).


On Tue, May 6, 2014 at 3:09 AM, Roman Mazur <[email protected]> wrote:

> Another complain :)
> Is "AppCompatMethod" check run regardless I do not use AppCompat library?
> I checked dependencies report on my project and did not find a dependency
> on appcompat library. I get AppCompatMethod warnings though.
>
>
> On 6 May 2014 11:48, Roman Mazur <[email protected]> wrote:
>
>> Currently 'ValidFragment' check produces an error if default fragment
>> constructor in implicit.
>> To be honest, I'm not satisfied with such a behaviour because it makes me
>> add an empty constructor explicitly to a bunch of classes...
>>
>>  --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "adt-dev" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/adt-dev/aKRNyi8OSBM/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Best regards,
> Roman Mazur
>
> Software engineer at Stanfy (http://stanfy.com.ua)
> Skype: roman.mazur.f
> LinkedIn: http://ua.linkedin.com/in/romanmazur
> Twitter: http://twitter.com/roman_mazur
>
> --
> 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/d/optout.
>

-- 
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/d/optout.

Reply via email to