android - I extended AppCompatActivity and onCreate showing Red underline -


using android studio 1.3 preview

i have implemented appcompatactivity working oncreate showing underline after mouse on it's showing error

overriding method should call super.oncreate();

enter image description here

although there super call .

why showing red underline ?

update : problem fixed in android studio 1.3 preview 2


this known issue android studio 1.3 preview build. reporting false positives lint inspection.

you can read reported issue here:

https://code.google.com/p/android/issues/detail?id=174964

you can downgrade latest android studio in release channel (1.2) or suggested fix is:

you can cancel "lint inspections" temporarily.

in android studio 1.3: android studio>setting>inspections>android lint>missing super call


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -