Comments (13)
I upgraded to 3.0.7, and I'm still seeing the error. Anyone else?
@martymiller Your project might have another dependency that is pulling in an older version of the lifecycle dependency that isn't getting resolved to the new one for some reason. Try running ./gradlew :app:dependencies > report.txt
and look for old versions of lifecycle-common
- for me it was from androidx.test.espresso:espresso-contrib
.
from mavericks.
3.0.7 is released. sorry for the delay
from mavericks.
I upgraded to 3.0.7, and I'm still seeing the error. Anyone else?
from mavericks.
@apramana I ran
./gradlew :app:dependencies
and correct me if I'm wrong, I'm still seeing an older version of lifecycle-common being used somewhere in the Mavericks lib:
@alvindizon it looks like there are some dependencies between mavericks and lifecycle-common (i.e. androidx.activity
-> androidx.core
-> lifecycle-runtime
) that are not on the latest version. In retrospect I should have also updated those in Mavericks, but you can also bump them in your own project.
from mavericks.
The mavericks version is 3.0.2
from mavericks.
Seeing the same issue as well. Project can still be built though
from mavericks.
Any updates for this?
from mavericks.
I opened a PR to address this, but please feel free to close it if this is already in progress upstream.
from mavericks.
Any updates on this?
from mavericks.
@rossbacher or @elihart when you have a chance, please review the PR to update dependencies.
from mavericks.
Really hoping you guys release v3.0.7 soon, so these compilation errors clear up. I see the PR is merged. Thanks!
from mavericks.
@apramana That did the trick. Thanks!
from mavericks.
@apramana I ran ./gradlew :app:dependencies
and correct me if I'm wrong, I'm still seeing an older version of lifecycle-common being used somewhere in the Mavericks lib:
+--- com.airbnb.android:mavericks-testing:3.0.7
| +--- com.airbnb.android:mavericks-mocking:3.0.7
| | +--- com.airbnb.android:mavericks:3.0.7
| | | +--- com.airbnb.android:mavericks-common:3.0.7
| | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:{require 1.6.4; reject _} -> 1.7.3
| | | | | +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.20 -> 1.9.10
| | | | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.20 -> 1.8.22
| | | | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.22
| | | | | | | +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.22 -> 1.9.10
| | | | | | | \--- org.jetbrains:annotations:13.0
| | | | | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.22
| | | | | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.8.22 (*)
| | | | | \--- org.jetbrains.kotlinx:atomicfu:0.21.0
| | | | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.20 -> 1.9.10
| | | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22 (*)
| | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:{require 1.6.4; reject _} -> 1.7.3 (*)
| | | +--- androidx.activity:activity:{require 1.5.1; reject _} -> 1.5.1
| | | | +--- androidx.annotation:annotation:1.1.0 -> 1.2.0
| | | | +--- androidx.core:core:1.8.0
| | | | | +--- androidx.annotation:annotation:1.2.0
| | | | | +--- androidx.annotation:annotation-experimental:1.1.0
| | | | | +--- androidx.lifecycle:lifecycle-runtime:2.3.1 -> 2.5.1
| | | | | | +--- androidx.annotation:annotation:1.1.0 -> 1.2.0
| | | | | | +--- androidx.arch.core:core-common:2.1.0 -> 2.2.0 (*)
| | | | | | \---androidx.lifecycle:lifecycle-common:2.5.1
from mavericks.
Related Issues (20)
- possible incompatibility with Kotlin coroutines 1.7.0 HOT 2
- Fail State call twice and make error HOT 2
- how to use stateflow in MavericksViewModel HOT 2
- How can I use MavericksView in a View or a Layout
- compare with mvc,mvp,mvvm HOT 2
- The viewModel() method may be missing the postInvalidate() logic. HOT 2
- Hilt and ViewModel initialization with Navigation Component arguments HOT 6
- Exploration of the correct way to update state with List<Data> in state HOT 1
- Ensure that your state properties properly implement hashCode. HOT 7
- I wanted to use the latest version of Epoxy, Mavericks, Paging3 (Epoxy Paging3), but couldn't find the Demo. Is it possible to combine all three?
- java.lang.SecurityException: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified
- java.lang.IllegalStateException HOT 1
- Value classes break State class no zero argument constructor usage HOT 1
- Discuss whenStarted function deprecation HOT 7
- I am using MavericksViewModel on Compose, I want to get the LifecycleOwner object in ViewModel how do I need to get this? HOT 3
- Crash when creating MavericksViewModel HOT 6
- Combining Mavericks with "custom" network response and error handling HOT 1
- Question - collectAsStateWithLifecycle HOT 4
- how to use maverik on activity ?
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 mavericks.