For Android Studio 0.8.14 (just downloaded) running on MacOS 10.9.5, brand new project, I get the complaint “Failed to find: com.android.support:support-v4:21.+” in the Messages Gradle Sync pane. This happens after I created a new project and in that wizard when doing "Add an activity to Mobile..." I chose "Fullscreen Activity".
If I choose different activities instead of Fullscreen when creating the project, I get different results, some good, some bad. All the bad results must be linked to the same root problem. This is What have I done wrong?
I get the same error as above if I instead choose: Master/Detail Flow Activity Settings Activity
I get no error if I instead choose: Blank Activity Blank Activity with Fragment Navigation Drawer Activity
I get “Failed to find: com.google.android.gms:play-services:4.2.42 Failed to find: com.android.support:appcompat-v7:21.+” when I choose: Google Maps Activity Login Activity
I get “Failed to find: com.google.android.gms:play-services:4.2.42" when I choose: Google Play Services Activity
I get "Failed to find: com.android.support:support-v13:21.+" when I choose: Tabbed Activity
Depending on which targetSdkVersion
you select, the template projects may require at least one of the support libraries. You need to install them:
http://developer.android.com/tools/support-library/setup.html
- Start the Android SDK Manager.
- In the SDK Manager window, scroll to the end of the Packages list, find the Extras folder and, if necessary, expand to show its contents.
- Select the Android Support Library item. Note: If you're developing with Android Studio, select and install the Android Support Repository item instead.
- Click the Install packages... button.