roomorama / Caldroid

A better calendar for Android
Other
1.42k stars 532 forks source link

Unsure how to install #393

Open aicioara opened 8 years ago

aicioara commented 8 years ago

Could you add an installation guide?

I did the following steps (I use Android Studio 2.0).

I added this line to build.gradle (Module : app)

compile 'com.roomorama:caldroid:3.0.1'

^ Full vesion is


dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:22.2.1'
    compile 'com.android.support:support-v4:22.2.1'
    compile 'com.roomorama:caldroid:3.0.1'
}

I did Tools -> Android -> Sync Project with Gradle Files.

Nothing got downloaded.

Some guide (or at least an URL to a guide) of how to integrate this into your project would be nice.

staroflead commented 8 years ago

Follow instruction in the main page and you are fine. Well there is another way to add the lib. As for me, since I need to make more in-depth customization for caldroid, I add cloned source as a module. I think this may help you in this case. Clone the source to your pc and look for Project Explorer on the left, right click your root folder (it's named app in my case), then New->Module->Import Gradle Project and voila! You can now use project just fine :). Remember to give credits to it's creators.