you need to manually add the play services preview.

http://developer.android.com/preview/google-play-services-wear.html


On Thu, Jun 26, 2014 at 5:54 PM, 中西良明 <[email protected]> wrote:

> Hi,
>
> I got Android Studio 0.8.0 today and update/install components with
> Android SDK Manager.
>
> Then I tried to create Android Wear application project. But I wasn't able
> to build the application project.
>
> In the application build.gradle file, there are the following
> dependencies:
>
> dependencies {
>     compile fileTree(dir: 'libs', include: ['*.jar'])
>     // You must install or update the Support Repository through the SDK
> manager to use this dependency.
>     // You must install or update the Support Repository through the SDK
> manager to use this dependency.
>     compile 'com.android.support:support-v13:+'
>     compile 'com.google.android.support:wearable:+'
>     compile 'com.google.android.gms:play-services-wearable:+'
> }
>
> I faced the following errors:
> - Failed to find: com.google.android.gms:play-services-wearable:+
> - Failed to find: com.google.android.support:wearable:+
>
> I don't see such libraries in sdk/extras/ directory.
>
> There is no wearable in
> sdk/extras/android/m2repository/com/android/support.
> And there is no play-services-wearable in
> sdk/extras/android/m2repository/com/android/gms.
>
> Android SDK Manager shows the followings:
>     Android SDK Tools updated to rev. 23
>     Android SDK Platform-tools updated to rev. 20.
>     All Android L components installed.
>     All Android 4.4W components installed.
>     Android Support Repository updated to rev.6
>     Google Repository updated to rev.8
>
> I guess necessary libraries for Wear aren't included in the latest
> packages.
>
> Could you please check it and please distribute the libraries for wearable.
>
> Best Regards,
> Yoshiaki NAKANISHI
>
>  --
> You received this message because you are subscribed to the Google Groups
> "adt-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to