我的清单包含这些依赖项:
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.android.support:appcompat-v7:24.1.1'
compile 'com.android.support:design:24.1.1'
compile 'com.android.support:support-v4:24.1.1'
compile 'uk.co.chrisjenx:calligraphy:2.1.0'
compile 'biz.kasual:materialnumberpicker:1.2.0'
compile 'com.google.android.gms:play-services-gcm:9.4.0'
compile 'com.google.android.gms:play-services-maps:9.4.0'
compile 'com.google.maps.android:android-maps-utils:0.4.3'
compile 'com.google.code.gson:gson:2.6.2'
compile 'org.parceler:parceler-api:1.1.5'
compile 'com.makeramen:roundedimageview:2.2.1'
compile 'com.synnapps:carouselview:0.0.9'
compile 'com.mikepenz:actionitembadge:3.2.5@aar'
compile 'com.mikepenz:iconics-core:2.6.0@aar'
compile 'com.appsflyer:af-android-sdk:4.+@aar'
compile 'com.android.support:support-v13:24.1.1'
compile 'com.android.support:cardview-v7:24.1.1'
compile 'com.google.android.gms:play-services-location:9.4.0'
testCompile 'junit:junit:4.12'
apt 'org.parceler:parceler:1.1.5'
}
当我做import com.google.android.gms.location.places
我没有上课
import com.google.android.gms.location.places.AutocompleteFilter;
import com.google.android.gms.location.places.AutocompletePrediction;
import com.google.android.gms.location.places.AutocompletePredictionBuffer;
import com.google.android.gms.location.places.Places;
我正在使用此API为AutocompleteView做一个教程,但是他们使用版本8.4.0,当我使用我正在使用的那个时,它并不是一个建议。我现在在Android Studio上。
答案 0 :(得分:0)