请通知,我搜索了很多,所以这不是一个重复的问题无法找到Android的支持库
搜索这些没有答案
Can't find Android Support Package
Cant' find Android Support package
How to add "Android Design Support Library" to Eclipse with ADT-plugin?
https://developer.android.com/topic/libraries/support-library/setup.html#using-apis
我只是想能够使用 TabLayout,当我使用它,它说 无法解决“TabLayout”符号。
,当我尝试将其导入
进口android.support.design.widget.TabLayout; 说也解决不了“TabLayout”
还我搜索这个错误,它会导致安装Android支持库,我无法找到
这里是该 Android Studio cannot resolve symbol 'TabLayout'
搜索所以如何安装该库?
这里是gradle.build
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "24.0.0"
defaultConfig {
applicationId "com.example.android.engtomiwak"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
}
在此先感谢....
你把它加入到gradle中吗? – Joshua
你应该在这里添加你的build.gradle文件。 –
如果你的意思是添加编译“com.android.support:support-v4:23.0.+”这依赖项下,是的,我做了,仍然TabLayout无法解决 –