Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Import #92

Closed
Mardoqueu opened this issue Apr 3, 2017 · 1 comment
Closed

Import #92

Mardoqueu opened this issue Apr 3, 2017 · 1 comment

Comments

@Mardoqueu
Copy link

Why can't I import the following dependencies?

compile 'com.android.support:cardview-v7:23.0.1'
compile 'com.android.support:recyclerview-v7:23.0.1'
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.google.apis:google-api-services-youtube:v3-rev149-1.20.0'
compile 'com.google.http-client:google-http-client-android:1.20.0'
compile 'com.google.api-client:google-api-client-android:1.20.0'
compile 'com.google.api-client:google-api-client-gson:1.20.0'

I keep getting these errors:

C:\Android\Projects\android-topeka-master-master\android-topeka-master-master\app\src\main\java\com\google\samples\apps\topeka\com\george\videos\GetPlaylistTitlesAsyncTask.java
Error:(13, 76) error: cannot find symbol class PlaylistListResponse
Error:(18, 13) error: cannot find symbol class YouTube
Error:(20, 39) error: cannot find symbol class YouTube
Error:(25, 15) error: cannot find symbol class PlaylistListResponse

@Mardoqueu
Copy link
Author

I already fixed.

compile('com.google.apis:google-api-services-youtube:v3-rev149-1.20.0') {
exclude module: 'httpclient' //by artifact name
exclude group: 'org.apache.httpcomponents' //by group
exclude group: 'org.apache.httpcomponents', module: 'httpclient' //by both name and group
}

compile('com.google.http-client:google-http-client-android:1.20.0') {
    exclude module: 'httpclient' //by artifact name
    exclude group: 'org.apache.httpcomponents' //by group
    exclude group: 'org.apache.httpcomponents', module: 'httpclient' //by both name and group
}


compile('com.google.api-client:google-api-client-android:1.20.0') {
    exclude module: 'httpclient' //by artifact name
    exclude group: 'org.apache.httpcomponents' //by group
    exclude group: 'org.apache.httpcomponents', module: 'httpclient' //by both name and group
}


compile('com.google.api-client:google-api-client-gson:1.20.0') {
    exclude module: 'httpclient' //by artifact name
    exclude group: 'org.apache.httpcomponents' //by group
    exclude group: 'org.apache.httpcomponents', module: 'httpclient' //by both name and group
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant