0

enter image description here

This is the code that gets automatically generated when creating a new wearable project. so why doesn't it compile?

1 Answers1

0

WatchActivity does not exist. Android Studio 0.8.0 had wrong templates and would create this code, but the proper class to extend is just the plain old Activity (this bug is already fixed, as of 0.8.1 and 0.8.2 new activites no longer extend WatchActivity).

See Compiling simple wearable app in Android Studio - WatchActivity not found

Community
  • 1
  • 1
matiash
  • 54,791
  • 16
  • 125
  • 154