Comments (9)
It looks for whatever reason gradle decides to pull in the jvm
variant of the core
module instead of the android
variant.
You can overrule this by doing:
implementation("com.mikepenz:aboutlibraries-core-android:10.7.0")
implementation("com.mikepenz:aboutlibraries:10.7.0") {
exclude group: 'com.mikepenz', module: 'aboutlibraries-core'
}
from aboutlibraries.
@DDihanov we are talking about legacy UI but you mentioned compose. The workaround from @mikepenz
implementation("com.mikepenz:aboutlibraries-core-android:10.7.0")
implementation("com.mikepenz:aboutlibraries:10.7.0") {
exclude group: 'com.mikepenz', module: 'aboutlibraries-core'
}
works by me.
from aboutlibraries.
The crash occurs simply by upgrading gradle without any other changes?
from aboutlibraries.
Yes, never had a problem until I upgraded to Gradle 8.0. All the versions I tried (including the latest 10.6.3) are perfectly happy on Gradle 7.4
from aboutlibraries.
Tested this with the sample app which uses Gradle 8.1.1. And it does not run in any problems. (With minifyEnabled
enabled)
Any special r8 rule you use?
Also make sure your jetpack dependencies are up2date.
Can you please provide a sample app to reproduce this problem?
from aboutlibraries.
Sample java app that has the issue.
(will work in development, but a release build will crash at runtime when the FaB is selected.
See the same behavior with Gradle 8 and 8.1.1
from aboutlibraries.
Can confirm this workaround is working.
from aboutlibraries.
FYI I had this issue but after upgrading to 10.8.3 the crash no longer happens:
implementation("com.mikepenz:aboutlibraries-core:10.8.3")
implementation("com.mikepenz:aboutlibraries-compose:10.8.3")
from aboutlibraries.
Thank you @DDihanov . glad this looks to be resolved with the new release.
from aboutlibraries.
Related Issues (20)
- Error - Please provide the required library data via the available APIs. HOT 6
- Sort json entries by `uniqueId` when used in Enterprise mode. HOT 1
- Root level application of plugin doesnt find libraries in other modules HOT 5
- KMP export path not working HOT 2
- Strange animation if header is set HOT 3
- Stackoverflow error in collectDependencies HOT 12
- Jetpack Compose: Dialog confirm button cannot be styled for Material 3 apps HOT 6
- Legacy UI whole app gradle 8.1.2 HOT 16
- error "Retrieved no components for:" after changing build.gradle to build.gradle.kts HOT 17
- Stop
- Black activity and show only app bar HOT 4
- With configPath, Gradle uses task without declaring an explicit or implicit dependency HOT 8
- failure to handle missing Intent HOT 3
- Roku Lib HOT 1
- Duplicate "AboutLibraries Library" listed HOT 5
- License dialog text is not shown correctly HOT 9
- Warning logs after updating to version 10.9.1 HOT 3
- v11.1.0-b02 did not publish all artifacts HOT 1
- Copyright text isn't embedded to aboutlibraries.json starting from 11.1.1 HOT 10
- samsung
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aboutlibraries.