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
### 控制台提示 'Failed to find GeneratedAppGlideModule'
233
+
234
+
```
235
+
W/Glide (21133): Failed to find GeneratedAppGlideModule. You should include an annotationProcessor complie dependency on com.github.bumptech.glide:compiler in you application ana a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored.
final List<AssetEntity> result = await AssetPicker.pickAssets(
@@ -160,6 +206,8 @@ AssetPicker.pickAssets(
160
206
});
161
207
```
162
208
209
+
## Frequent asked question
210
+
163
211
### Create `AssetEntity` from `File` or `Uint8List` (rawData)
164
212
165
213
In order to combine this package with camera shooting or something related, there's a wordaround about how to create an `AssetEntity` with `File` or `Uint8List` object.
@@ -176,4 +224,12 @@ If you don't want to keep the asset in your device, just delete it after you com
176
224
final List<String> result = await PhotoManager.editor.deleteWithIds([entity.id]);
### Glide warning 'Failed to find GeneratedAppGlideModule'
230
+
231
+
```
232
+
W/Glide (21133): Failed to find GeneratedAppGlideModule. You should include an annotationProcessor complie dependency on com.github.bumptech.glide:compiler in you application ana a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored.
233
+
```
234
+
235
+
`Glide` needs annotation to keep singleton, prevent conflict between instances and versions, so while the photo manager uses `Glide` to implement image features, the project which import this should define its own `AppGlideModule`. See [Android](#android) section for implementation.
0 commit comments