docs/example/eclipse.md
This library and samples basically support Android Studio and Gradle.
Because they have strong power to handle dependencies and ability to configure flexibly,
and this library and sample app depend on them.
However, some of you might still want to build or debug the project on Eclipse. If you'd like to do that, please try the following instructions.
Please note that with these instructions you could bulid project on Eclipse, but test codes, build types ('debug' or 'release') and product flavors are still not supported.
Please check here to see if your enviroment satisfies the prerequisites for building the app.
Get the source code of the library and example app, by cloning git repository or downloading archives.
If you use git, execute the following command in your workspace directory.
$ git clone https://github.com/ksoichiro/Android-ObservableScrollView.git
If you are using Windows, try it on GitBash or Cygwin or something that supports git.
If you haven't define the environment variable ANDROID_HOME yet, define it to indicate Android SDK root directory.
Before trying to import projects to Eclipse, execute these command:
$ ./gradlew clean generateVersionInfoDebug generateEclipseDependencies
This will generate dependency codes from AAR files using Gradle wrapper and some metadata files (.classpath, .project, project.properties).
File > Import.General > Existing Projects into Workspace and click Next.
Android > Existing Android Code into Workspace.Browse and select project root directory (Android-ObservableScrollView).Search for nested projects.observablescrollview-samples and select Run As > Android Application.That's all!