I have 3-days(and night) problem while compiling my test project via gradle
My error is
error: package org.holoeverywhere.app does not exist
import org.holoeverywhere.app.Activity;
I have the following structure:
MySimpleProject
-SimpleApp
--build.gradle
-settings.gradle
-build.gradle
My SimpleApp
depends HoloEverywhere library.
build.gradle
from MySimpleProject
is
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.4'
}
}
setting.gradle
from MySimpleProject
is
include ':SimpleApp'
build.gradle
from SimpleApp
apply plugin: 'android'
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
compile 'org.holoeverywhere:library:1.6.1'
}
android {
compileSdkVersion 17
buildToolsVersion "17.0.0"
}
Log
./gradlew build
The TaskContainer.add() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the create() method instead.
:SimpleApp:prepareDebugDependencies
:SimpleApp:compileDebugAidl UP-TO-DATE
:SimpleApp:generateDebugBuildConfig UP-TO-DATE
:SimpleApp:mergeDebugAssets UP-TO-DATE
:SimpleApp:compileDebugRenderscript UP-TO-DATE
:SimpleApp:mergeDebugResources UP-TO-DATE
:SimpleApp:processDebugManifest UP-TO-DATE
:SimpleApp:processDebugResources UP-TO-DATE
:SimpleApp:compileDebug
/home/oleg/AndroidStudioProjects/MySimpleProject/SimpleApp/src/main/java/com/example/mysimpleapp/LoginActivity.java:19: error: package org.holoeverywhere.app does not exist
import org.holoeverywhere.app.Activity;
Can anybody help me?