android - Error : WatchActivity cannot be resolved to a type,Why i'm getting this? -
this question has answer here:
well have update android sdk 23 & eclips adt plugin latest version.
why i'm getting error in import library of watchactivity . , have fixed issue "update eclipse android development tools 23".
when create new android project "blank activity" src & layout folder empty.
when create new android project "blank wear activity" create scr folder activity file bit contains error
watchactivity cannot resolved type
i believe faulty template, extending e.g. insetactivity
instead of non-existing watchactivity
works fine. there's other issues template, e.g. inflating layout in oncreate
instead of in onreadyforcontent
. please see sample project @ https://github.com/sveinungkb/wear-test working template.
Comments
Post a Comment