Skip to content

Commit 270acf5

Browse files
authored
Update README.md
1 parent fdaec14 commit 270acf5

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

README.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,39 @@ Usage
115115
```
116116
Notice
117117
====
118-
Due to support Material Design style and handle the image cache, So the library references the following categories.
118+
1.Due to support Material Design style and handle the image cache, So the library references the following categories.
119119
```xml
120120
compile 'com.android.support:design:27.1.1'
121121
compile 'com.android.support:recyclerview-v7:27.1.1'
122122
// Glide
123123
compile 'com.github.bumptech.glide:glide:4.7.1'
124124
annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
125125
```
126+
2.If u build project then see error log like this.
127+
```xml
128+
Manifest merger failed : Attribute application@label value=(@string/app_name) from
129+
AndroidManifest.xml:21:9-41 is also present at [com.rayzhang.android:rzalbum:1.7.0] AndroidManifest.xml:14:9-44 value=
130+
(@string/rz_app_name).Suggestion: add 'tools:replace="android:label"' to <application> element at
131+
AndroidManifest.xml:17:5-44:19 to override.
132+
```
133+
You can in ur AndroidMainfest.xml add「tools:replace="android:label"」in application level.
134+
```xml
135+
<application
136+
android:allowBackup="true"
137+
android:icon="@mipmap/ic_launcher"
138+
android:label="@string/app_name"
139+
android:supportsRtl="true"
140+
android:theme="@style/AppTheme"
141+
tools:replace="android:label"> --> Here
142+
<activity android:name=".MainActivity">
143+
<intent-filter>
144+
<action android:name="android.intent.action.MAIN" />
145+
146+
<category android:name="android.intent.category.LAUNCHER" />
147+
</intent-filter>
148+
</activity>
149+
</application>
150+
```
126151
Update Log
127152
====
128153
- **2018-08-12 Version 1.7.0**

0 commit comments

Comments
 (0)