NotificationManagerCompat Failed To Solve - Android Wear

I am sure that I just missed something obvious, but I do not understand where to look for a solution. I am trying to start with android wear and follow the tutorial on this page . However, I cannot find any information about which libraries I need to include or where to get them from. I use eclipse and used the Android SDK manager to download the Android Wear system image (although I have a G-Watch to check it) and all 4.4W materials, and I installed the project to build against 4.4 W, but I still get the following error:

The import android.support.v4.app.NotificationManagerCompat cannot be resolved The import android.support.v4.app.NotificationCompat.WearableExtender cannot be resolved 

I have android-support-v4.jar support enabled, and android.support.v4.app.NotificationCompat found OK, but I can not see anywhere in the wearing documents in android that say I can get this library, and this forces make me crazy. If someone could point me in the right direction, that would be great.

thanks

0
java android eclipse android-wear
source share
1 answer

There is no android.support.v4.app.NotificationManagerCompat file in the support library.

In the current. Studying my android-support-v4.jar shows this class. Make sure that the latest version of the JAR is downloaded to your computer (from the SDK manager) and to your project (for example, copied to libs/ from $SDK/extras/android/support/v4/ , where $SDK is located where the Android SDK is installed) .

+5
source share

All Articles