【发布时间】:2018-05-29 04:21:53
【问题描述】:
我收到重复输入的错误,但我不知道为什么。这是我的 build.grade 文件。
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.1"
defaultConfig {
applicationId "com.apppartner.androidprogrammertest"
minSdkVersion 14
targetSdkVersion 21
versionCode 1
versionName "1.0"
multiDexEnabled true
}
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:21.0.2'
compile 'com.loopj.android:android-async-http:1.4.9'
}
我相信我已经做好了一切准备。我该怎么办?
【问题讨论】:
-
@TONY 你的意思是来自项目结构还是依赖项的代码行?
-
成功了!非常感谢
标签: android dependencies build.gradle android-multidex