android - Failed to complete Gradle execution when i use "compile project" -
this first gradle file
apply plugin: 'com.android.application' apply plugin: 'com.neenbedankt.android-apt' apply plugin: 'com.google.gms.google-services' android { compilesdkversion 21 buildtoolsversion "21.1.2" defaultconfig { applicationid "it.hairlookapp.hairlook" minsdkversion 15 targetsdkversion 21 versioncode 1 versionname "1.0" } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } debug { debuggable false } } } dependencies { compile filetree(dir: 'libs', include: ['*.jar']) apt 'com.bluelinelabs:logansquare-compiler:1.1.0' compile 'com.android.support:appcompat-v7:22.2.0' compile 'com.android.support:support-v4:22.2.0' compile 'com.bluelinelabs:logansquare:1.1.0' compile 'com.loopj.android:android-async-http:1.4.5' compile 'com.google.android.gms:play-services-maps:7.5.0' compile 'com.google.android.gms:play-services:7.5.0' compile project(':andtinder') }
and second gradle
apply plugin: 'android-library' buildscript { repositories { mavencentral() } dependencies { classpath 'com.android.tools.build:gradle:1.0.1' } } repositories { mavencentral() } android { compilesdkversion 19 buildtoolsversion '19.1.0' defaultconfig { minsdkversion 13 targetsdkversion 19 versioncode 1 versionname "1.0" } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.txt' } } } dependencies { compile 'org.projectlombok:lombok:1.12.4' }
when compile, android studio "failed complete gradle execution. cause: ".
if remove compile project(':andtinder')
works, cannot use project.
how can fix it?
Comments
Post a Comment