You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,19 +30,19 @@ Android Studio
30
30
1) Paste or clone this library into the ``/libs`` folder, in the root directory of your project. Create a new folder: ``/libs`` if not already present. (This step is not required - only for keeping cleaner project structure)
31
31
2) Edit ``settings.gradle`` by adding the library. You have also define a project directory for the library. Your ``settings.gradle`` should look like below:
32
32
::
33
-
34
-
include ':app', ':ColorPickerPreference'
35
-
project(':ColorPickerPreference').projectDir = new File('libs/ColorPickerPreference')
33
+
34
+
include ':app', ':ColorPickerPreference'
35
+
project(':ColorPickerPreference').projectDir = new File('libs/libs/ColorPickerPreference')
36
36
37
37
3) In ``app/build.gradle`` add the ColorPickerPreference library as a dependency:
38
38
::
39
-
40
-
dependencies {
41
-
compile fileTree(dir: 'libs', include: ['*.jar'])
42
-
compile 'com.android.support:appcompat-v7:21.0.3'
43
-
compile project(":ColorPickerPreference")
44
-
}
45
-
39
+
40
+
dependencies {
41
+
compile fileTree(dir: 'libs', include: ['*.jar'])
42
+
compile 'com.android.support:appcompat-v7:21.0.3'
43
+
compile project(":ColorPickerPreference")
44
+
}
45
+
46
46
47
47
4) Sync project, clean and build. You can use the ``ColorPickerPreference`` library as part of your project now.
0 commit comments