I get this error when I do gradle online.
Error:Gradle: FAILURE: Build failed with an exception. * What went wrong: Task 'testClasses' not found in project ':ProwessPride_V1.01'. * Try: Run gradle tasks to get a list of available tasks. Run with
Where ProwessPride_V1.01 is the jar file that I include in the project.
I am doing Invalidate Caches / Restart in the studio. rebuild and clean up the project, but I cannot solve this error. So please help me how can I solve it.
build.gradle
apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.0" defaultConfig { applicationId "com.example.technopits.dcn" minSdkVersion 17 targetSdkVersion 23 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:23.0.0' compile 'com.android.support:recyclerview-v7:23.0.0' compile 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2' compile 'com.google.android.gms:play-services-gcm:7.3.0' compile project(':ProwessPride_V1.01') }
Project buil.gradle
// Top-level assembly file, where you can add configuration parameters common to all subprojects / modules.
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.3.0'
user3834185
source share