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
Release Build Failed for Android Studio 3 #2354
Comments
It doesn't look like you included the actual error message? |
This is what the |
Maybe try https://docs.gradle.org/current/userguide/logging.html? Usually somewhere in the gradle output is the thing that actually failed. |
Gradle Properties
Logs
Nothing more relevant in the debug logs and stack trace. I will try to make a build with a new app and incrementally add our project libraries to see if there's any conflict. |
Oh, ok maybe it is caused by the proguard warnings then. Those are pretty non-specific though. I think proguard outputs a log? Maybe https://www.guardsquare.com/en/proguard/manual/troubleshooting? Hard to tell what it's referencing from the logs you have now. |
I'm 99% sure it prints class names and everything to help resolve this, maybe you have some filter. |
Add |
As #2356 (thanks @SIARAY) shows, the problem is Glide referencing
The real solution, however, is to up your |
Thank you @TWiStErRob , my problem resolved. |
Adding those in proguard resolved for those.
|
Thanks @TWiStErRob. I wonder if there's a useful way to document which sdk people should compile against for Glide? |
Not working when compileSdkVersion is set to 26 |
|
I am using Glide4 in my project but one of my dependency is including Glide 3. |
@WhiteHatArpit Unfortunately that's unsafe, there's probably no good way to make that work. Even if you could, you're going to end up with two disk caches (maybe sharing the same folder!), two memory caches, two thread pools etc. |
Progress towards bumptech#2354
More progress towards bumptech#2354.
Thanks for all the effort and help. For now, I have reverted back to Glide 3 on my project. I guess it would take some time before migrating to Glide 4. |
Resolved my issue. @TWiStErRob, Thank you for your solution. |
Thanks @TWiStErRob , save my time. |
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. |
Glide Version: 4.0.0, 4.1.0, 4.1.1, 4.2.0-SNAPSHOT
Integration libraries: No
Device/Android Version: Build Fail
Issue details / Repro steps / Use case background: While making a release build, the following error occurs:
Android Studio
Gradle & Kotlin
Tried all 4 versions as mentioned above.
Works fine with 3.6.1.
Works fine for debug build.
The text was updated successfully, but these errors were encountered: