내 보낸 프로젝트의 서명 된 apk를 eclispe ADT에서 Android Studio로 내보내려고합니다.Android Studio에서 apk 발행 문제 발행
Error:(16, 0) Gradle DSL method not found:
'lintOptions()'
가능한 원인 :
을 적용하고 나는 APK 생성하기 위해 노력하고있어 때
Missing Gradle Project Information. Please check if the IDE successfully synchronized its state with the Gradle Project Model.
I했습니다 두 build.gradle
1 내부 루트 프로젝트 :
<code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
}
}
allprojects {
repositories {
jcenter()
}
}
lintOptions {
abortOnError false
checkReleaseBuilds false
}</code>
2 인을 앱
<code>
apply plugin: 'com.android.application'
android {
compileSdkVersion 15
buildToolsVersion "24.0.1"
defaultConfig {
applicationId "com.project.client.android"
minSdkVersion 7
targetSdkVersion 10
}
buildTypes {
release {
minifyEnabled true
proguardFiles 'proguard.cfg'
}
}
sourceSets {
main {
manifest.srcFile 'app/src/main/AndroidManifest.xml'
}
}
}
dependencies {
compile files('lib/commons-codec-1.7.jar')
compile files('lib/commons-io-2.4.jar')
compile files('lib/commons-lang-2.6.jar')
compile files('lib/core.jar')
compile files('lib/javase.jar')
compile files('lib/ksoap2-android-assembly-3.0.0.jar')
}
</code>
또한 루트 gradle 빌드 파일을 수정해서는 안됩니다. Android Studios에서 이에 대한 경고를 제공합니다. – Nick