This is the code that gets automatically generated when creating a new wearable project. so why doesn't it compile?
Asked
Active
Viewed 113 times
0
-
Did you do 'Clean your project' ? Go to 'Build' --> 'Clean Project' after making the default project ? Try to do that and see if these errors are gone – Ramakishna Balla Jul 04 '14 at 03:11
-
I tried what you suggested still fails. Thank you though – user3533841 Jul 04 '14 at 06:03
1 Answers
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