-
Notifications
You must be signed in to change notification settings - Fork 4
Modernize Android Project and Add CI/CD #86
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
Modernize Android Project and Add CI/CD #86
Conversation
- Migrate all Java code and Layouts to AndroidX and Material Components. - Update Gradle to 8.5 and Android Gradle Plugin to 8.2.0. - Update `compileSdk` and `targetSdk` to 34. - Fix D8/R8 build failures by excluding `listenablefuture` and adjusting Java compatibility. - Update `styles.xml` to use `Theme.MaterialComponents` and define `preferenceTheme`. - Add GitHub Actions workflows for CI (Build & Test) and Release. - Update `colors.xml` with missing resources. - Fix `AndroidManifest.xml` `exported` attributes for Android 12+ compatibility.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
build failed. fix it- android { |
I have fixed the lint errors. Specifically, I've updated |
- Safely handle `getColumnIndex` in `ExternalContentBridge.java`. - Use `requireActivity()` instead of `Objects.requireNonNull(getActivity())` in `AddCategoryFragment.java`. - Add `uses-feature android:name="android.hardware.telephony" android:required="false"` to `AndroidManifest.xml` to suppress lint error about implicit permissions.
This PR modernizes the codebase by migrating to AndroidX, updating the build system to the latest stable versions (Gradle 8.5, AGP 8.2.0), and ensuring compatibility with Android SDK 34 and Java 21 environment.
Key changes:
android.supportlibraries with theirandroidxequivalents in Java and XML files.D8/R8compilation errors by handlinglistenablefutureduplicates.JdkImageTransformissues by usingJavaVersion.VERSION_1_8source compatibility while running on JDK 21.AndroidManifest.xmlto includeandroid:exportedfor activities.styles.xmlto use Material Components theme and fix Settings crash by addingpreferenceTheme.PR created automatically by Jules for task 13992512488256457304 started by @xRahul