Clean manifest and migrate MultiDex to AndroidX#6
Conversation
There was a problem hiding this comment.
Codex Review: Here are some suggestions.
Reply with @codex fix comments to fix any unresolved comments.
About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".
| compile 'com.android.support:design:23.4.0' | ||
| compile 'com.github.bloder:magic:1.1' | ||
| compile 'com.google.android.gms:play-services:9.4.0' | ||
| compile 'com.android.support:multidex:1.0.0' | ||
| compile 'androidx.multidex:multidex:2.0.1' |
There was a problem hiding this comment.
[P1] Add Google Maven repository for AndroidX MultiDex
The new dependency androidx.multidex:multidex:2.0.1 will not resolve because this project’s Gradle configuration only declares jcenter() for both buildscript and allprojects repositories. AndroidX artifacts are served from the Google Maven repository, so Gradle 2.1.2 with jcenter alone will fail with Could not find androidx.multidex:multidex:2.0.1. Either add google() (or the explicit Maven URL) to the repositories or keep using the support library version to avoid breaking the build.
Useful? React with 👍 / 👎.
Summary
<uses-sdk>and versionCode from manifest to rely on Gradle configurationandroidx.multidex.MultiDexApplicationand update MultiDex dependencyandroid:exportedon all activities for API 31+Testing
./gradlew test(fails: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 403 Forbidden")https://chatgpt.com/codex/tasks/task_e_68b35e0077f08330a031cccef46940ad