-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Fix compilation #11636
Fix compilation #11636
Conversation
The tag can't be resolved by Jitpack so use the commit-hash instead
Co-Authored-By: Thompson3142 <115718208+thompson3142@users.noreply.github.com>
* IcePick fails on Java 21 (default in Android Studio 2024.2) * Bridge is the most modern alternative that is currently available. It is backed by ``Android-State`` and can be configured with various frameworks * In the long term this should be replaced with something better
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the annoyances and thank you for fixing them! I tested state saving on my phone by setting "background process limit = 0" in developer settings, and it worked normally.
Further note: Also had the debug app installed on my phone and did some "casual" testing today. |
Can confirm, also works for me (after upgrading to ladybug) 👍 |
What is it?
Description of the changes in your PR
I checked out NewPipe with the latest version of Android Studio (2024.2) and it no longer compiles.
This is not good as the default (
dev
) branch should ALWAYS compile.New developers may run into problems immediately when checking out the code and give up instantly.
Here is a list of encountered and fixed problems:
llegalAccessError: superclass access check failed: class org.jetbrains.kotlin.kapt3.base.javac.KaptJavaCompiler
Testing:
Open a view/component where IcePick was removed (e.g. "About & FAQ") and rotate the device → No crash or similar should occur
This PR supersedes the following PRs:
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.
Due diligence