You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
你好,配置文件我都改成了我电脑上的环境,但是一直报这个错,
编译时报错! 报错:
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
配置:
apply plugin: 'com.android.application'
apply plugin: 'android-apt'
apply plugin: 'com.droidtitan.lintcleaner'
buildscript {
repositories {
jcenter()
}
dependencies {
// replace with the current version of the Android plugin
classpath 'com.android.tools.build:gradle:2.1.3'
// Since Android's Gradle plugin 0.11, you have to use android-apt >= 1.3
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'com.droidtitan:lint-cleaner-plugin:0.3.0'
}
}
你好,配置文件我都改成了我电脑上的环境,但是一直报这个错,
编译时报错!
报错:
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
配置:
apply plugin: 'com.android.application'
apply plugin: 'android-apt'
apply plugin: 'com.droidtitan.lintcleaner'
buildscript {
repositories {
jcenter()
}
dependencies {
// replace with the current version of the Android plugin
classpath 'com.android.tools.build:gradle:2.1.3'
// Since Android's Gradle plugin 0.11, you have to use android-apt >= 1.3
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'com.droidtitan:lint-cleaner-plugin:0.3.0'
}
}
apt {
arguments {
resourcePackageName "com.gzsll.hupu"
// androidManifestFile variant.outputs[0].processResources.manifestFile
}
}
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
android {
compileSdkVersion 23
buildToolsVersion "24.0.2"
defaultConfig {
applicationId "com.gzsll.hupu"
minSdkVersion 15
targetSdkVersion 22
versionCode 42
versionName "2.2"
}
signingConfigs {
def isRelease = gradle.startParameter.taskNames.any { it.contains('Release') }
def path = isRelease ? properties.getProperty("keystore.path") : 'debug.keystore'
def password = isRelease ? properties.getProperty("keystore.password") : ''
def alias = isRelease ? properties.getProperty("keystore.alias") : ''
myConfig {
storeFile file(path)
storePassword password
keyAlias alias
keyPassword password
}
}
buildTypes {
release {
signingConfig signingConfigs.myConfig
minifyEnabled false
zipAlignEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:design:24.2.0'
compile 'com.android.support:appcompat-v7:24.2.0'
compile 'com.android.support:cardview-v7:24.2.0'
compile 'com.android.support:recyclerview-v7:24.2.0'
compile 'com.android.support:support-v13:24.2.0'
compile 'com.jakewharton:butterknife:7.0.1'
//Dagger
provided 'javax.annotation:javax.annotation-api:1.2'
compile 'com.google.dagger:dagger:2.0.2'
apt 'com.google.dagger:dagger-compiler:2.0.2'
//otto
compile 'com.squareup:otto:1.3.8'
//greendao
compile 'de.greenrobot:greendao:2.1.0'
compile 'com.squareup.okhttp3:okhttp:3.2.0'
compile 'com.squareup.retrofit2:retrofit:2.0.1'
compile 'com.squareup.retrofit2:adapter-rxjava:2.0.1'
compile 'com.alibaba:fastjson:1.1.46.android'
compile 'io.reactivex:rxandroid:1.1.0'
compile 'io.reactivex:rxjava:1.1.5'
compile('com.github.afollestad.material-dialogs:core:0.8.5.2@aar') {
transitive = true
}
compile 'com.timehop.stickyheadersrecyclerview:library:0.4.3@aar'
compile 'com.github.clans:fab:1.6.2'
compile 'com.umeng.analytics:analytics:latest.integration'
compile 'com.daimajia.swipelayout:library:1.2.0@aar'
compile 'com.github.castorflex.smoothprogressbar:library:1.1.0'
compile 'com.liulishuo.filedownloader:library:0.2.0'
compile 'com.facebook.fresco:fresco:0.10.0'
compile "com.facebook.fresco:imagepipeline-okhttp3:0.10.0"
compile 'com.facebook.fresco:animated-gif:0.10.0'
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-beta2'
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta2'
}
谢谢
The text was updated successfully, but these errors were encountered: