Glide: error: cannot find symbol class GlideApp

Created on 10 Oct 2019  路  2Comments  路  Source: bumptech/glide


Glide Version: 4.8.0

```


I'm using Android studio 3.5,

I have tried every solution found on forums but nothing seems to work. I have tried:

Cleaning / Rebuilding the project -> not working
Invalidate Caches -> not working

My MyAppGlideModule.java:

package com.example.balulu.models;

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

@GlideModule
public class MyAppGlideModule extends AppGlideModule {
// empty
}

Dependencies used:

implementation 'com.github.bumptech.glide:glide:4.8.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'

stale

Most helpful comment

I found a solution myself. This error did not belong to Glide, it was related to ButterKnife library whenever we missed some view id in XML and keep calling that id in java file has produced this issue, so please make sure to use the correct view id mentioned in XML.

All 2 comments

This issue has been automatically marked as stale because it has not had activity in the last seven days. It will be closed if no further activity occurs within the next seven days. Thank you for your contributions.

I found a solution myself. This error did not belong to Glide, it was related to ButterKnife library whenever we missed some view id in XML and keep calling that id in java file has produced this issue, so please make sure to use the correct view id mentioned in XML.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

piedpiperlol picture piedpiperlol  路  3Comments

r4m1n picture r4m1n  路  3Comments

FooBarBacon picture FooBarBacon  路  3Comments

sergeyfitis picture sergeyfitis  路  3Comments

Ncit picture Ncit  路  3Comments