Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E/ImageLoader: No field mMaxWidth in class Landroid/widget/ImageView; #1356

Open
AmirMukhtar16 opened this issue Apr 17, 2020 · 9 comments
Open

Comments

@AmirMukhtar16
Copy link

java.lang.NoSuchFieldException: No field mMaxWidth in class Landroid/widget/ImageView; (declaration of 'android.widget.ImageView' appears in /system/framework/framework.jar!classes3.dex)

Issue is occurring in ANDROID 10

@niteshfel
Copy link

How can we resolved this issue android Q ?? Can you guide some steps for same

@divyavyas12
Copy link

I am facing same issue.

@mobielbekeken-thijs
Copy link

This is related to #1343
And fixed in this commit: f6a9615

@nrazon
Copy link

nrazon commented Jul 21, 2020

@nostra13 You mentioned that you don't have time to new development; but you committed a fix for android 10 related bugs.
Does that mean we will expect a new release soon for this great library?

@GovindaPaliwal
Copy link

@nrazon issue fixed.
For now don't use
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' or .jar
You can download library as zip and add manually as module.
I am facing same issue, but this is worked in my case.

fixed in this commit: f6a9615

@mobielbekeken-thijs
Copy link

@GovindaPaliwal @nrazon
You can simply use this commit bij using JitPack:

In your build.gradle (app level) file, add:

repositories {
    maven { url "https://jitpack.io" }
}

And replace implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' with:
implementation 'com.github.nostra13:Android-Universal-Image-Loader:f6a9615868482672c3630cb7db6dcf43391e80de'

@CapnSpellcheck
Copy link

Hello, @thijsonline when I try to use that implementation I receive the following after doing Gradle sync:

ERROR: Unable to resolve dependency for ':app@originalDebugAndroidTest/compileClasspath': Could not resolve com.github.nostra13:Android-Universal-Image-Loader:f6a9615868482672c3630cb7db6dcf43391e80de.

When I click on "Show Details" I don't find any further details.
Does anyone have a suggestion for how to fix?

@CapnSpellcheck
Copy link

I harassed jitpack.io and got their build to work
I'm using this implementation and the build is done, so if their cache works then you guys should be able to use this: implementation 'com.github.nostra13:Android-Universal-Image-Loader:458df4da2e'

@advait2205
Copy link

advait2205 commented Sep 1, 2020

@thijsonline man i literally wanna thank you for the way you gave man my project was stuck for like 1 month cuz of that..Man u are saviour thx my man..:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants