您好我正在尝试导入此 https://github.com/jfmdev/afiledialog 或 https://github.com/iPaulPro/aFileChooser
尽管我尝试导入哪个消息,但我收到了相同的消息……您可以看到它们都在库中。现在我的 gradles 只尝试导入 afiledialog(lib1) 我认为这更好,因为它有自己的 gradles 而 aFileChooser 没有(关于如何做 aFileChooser 的解释也会有帮助)
我的应用程序低级 build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.example.ianz.onionmusic"
minSdkVersion 9
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:22.2.0'
compile project(':lib:lib1')
}
顶级settings.gradle:
include ':app'
include ':lib:lib1'