iliad-app / iliad

This is an unofficial API and Android App of iliad. Iliad S.P. A. is not responsible in any way.
https://iliad-app.github.io/iliad/
GNU General Public License v2.0
5 stars 0 forks source link

Problem with Glide #6

Closed Fast0n closed 6 years ago

Fast0n commented 6 years ago

06-17 14:57:05.817 12970-12970/com.fast0n.ipersonalarea W/Glide: Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored

Fast0n commented 6 years ago

Solved thanks to

To use the generated API in your application, you need to perform two steps:

Add a dependency on Glide’s annotation processor:

repositories { mavenCentral() }

dependencies { annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1' } See the download and setup page for more detail.

Include a AppGlideModule implementation in your application:

package com.example.myapp;

import com.bumptech.glide.annotation.GlideModule; import com.bumptech.glide.module.AppGlideModule;

@GlideModule public final class MyAppGlideModule extends AppGlideModule {} You’re not required to implement any of the methods in AppGlideModule for the API to be generated. You can leave the class blank as long as it extends AppGlideModule and is annotated with @GlideModule.

AppGlideModule implementations must always be annotated with @GlideModule. If the annotation is not present, the module will not be discovered and you will see a warning in your logs with the Glide log tag that indicates that the module couldn’t be found.

Note: Libraries should not include AppGlideModule implementations. See the configuration page for details.