[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# AndroidX Release Note Archive\n\n| **Note:** These are the original release notes for AndroidX components that shipped before the AndroidX 1.0.0 release. For the current release notes see the [AndroidX release notes](/jetpack/androidx/releases).\n\n1.0.0\n-----\n\nSeptember 21, 2018\n\nThis is the stable release of AndroidX 1.0.0 and is suitable for use in\nproduction.\n\n**New features**\n\n- [`AnimatedStateListDrawableCompat`](/reference/androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat) provides animated transitions between drawable states.\n- [`VectorDrawableCompat`](/reference/androidx/vectordrawable/graphics/drawable/VectorDrawableCompat) gains support for gradient and [`ColorStateList`](/reference/android/content/res/ColorStateList) fills and strokes.\n\n1.0.0-rc02\n----------\n\nAugust 27, 2018\n\nThis release candidate of AndroidX is considered feature-complete and its public\nAPI surface is stable. This release will be shipped as final stable version\nbarring any critical issues that may arise. This release should be safe to use\nin production. Please report any issues to the [public issue\ntracker](https://source.android.com/setup/contribute/report-bugs).\n\n**Fixed issues**\n\n- Proguard removes View Model Application constructor (public issue [112230489](https://issuetracker.google.com/issues/112230489))\n- Fixed `AnimatedStateListDrawableCompat` constant state\n- Removed media2 dependency from mediarouter 1.0.0\n- `Fragment.getViewLifecycleOwner()` does not get stopped when hitting the home button ([public issue 113070421](https://issuetracker.google.com/issues/113070421))\n\n1.0.0-rc01\n----------\n\nAugust 6, 2018\n\nThis release candidate of AndroidX is considered feature-complete and its public\nAPI surface is stable. This release will be shipped as final stable version\nbarring any critical issues that may arise. This release should be safe to use\nin production. Please report any issues to the [public issue\ntracker](https://source.android.com/setup/contribute/report-bugs).\n| **Note:** Some libraries, such as media2, have remained in alpha stage as their API surfaces are not yet finalized. We do not recommend using alpha libraries in production. Libraries should strictly avoid depending on alpha libraries in production, as their API surfaces may change in source- and binary-incompatible ways.\n\n**Fixed issues**\n\n- BottomNavigationView menu is not initialized correctly in design support library\n- PositionalDataSource doesn't correctly handle pre-pended item inserts into the database\n- Sliders are janky and not responsive\n- `SlicesProviderCompat.getPinnedSpecs()` doesn't add user IDs to URIs\n- RoutePlayer2: remote playback does not switch back to local playback\n- Cached slice parsing is crashing on actions\n- Google Search app crash in rendering static Slice\n- ConcurrentModificationException in RecyclerView selection library when data set changed with removing selection\n- PreferenceThemeOverlay has been updated to the latest material theme. If no custom theme is provided, PreferenceThemeOverlay is used as the default theme.\n- PreferenceThemeOverlay.v14 and PreferenceThemeOverlay.v14.Material themes have been deprecated in favour of PreferenceThemeOverlay.\n- PreferenceGroup visibility is now tied to its children - hiding a parent group will also prevent its children from being shown in the hierarchy. Use Preference.isShown() to get whether a Preference is actually displayed to the user in the hierarchy.\n- Preference.onSetInitialValue(boolean, Object) has been deprecated and replaced with onSetInitialValue(Object). PreferenceDataStore now also correctly restores default values.\n\n1.0.0-beta01\n------------\n\nJuly 2, 2018\n\nThis beta release of AndroidX is considered feature-complete and its public API\nsurface is stable, barring any critical issues that may arise. While this\nrelease is safe to use in production, it may still contain bugs. Please report\nany issues to the [public issue\ntracker](https://source.android.com/setup/contribute/report-bugs).\n\n**Fixed issues**\n\n- GestureSelectionHelper eating events on non-selectable items\n- Slider slices can have duplicated thumb icon when slider value is being updated\n- IconCompat broke TYPE_URI icons in alpha3\n- Crash with Preferences using Seekbar\n- Crash in Slice.toString()\n- OffsettingListUpdateCallback.onMoved() calls mCallback.onRemoved() instead of mCallback.onMoved() (Issue [110711937](https://issuetracker.google.com/issues/110711937))\n\n**Android Studio fixes affecting AndroidX**\n\n- `gradle.properties` file does not update to use AndroidX while creating project with minimum as P\n- External libraries can't compile with AndroidX enabled on Windows (Issue [79642238](https://issuetracker.google.com/issues/79642238))\n- Converted androidx app crash when deploying\n- Failed to resolve: androidx.databinding:databinding-runtime:3.2.0-alpha16\n- Unable to deploy Rendering script app after refactoring to Android X\n- Crash when executing \"Refactor to AndroidX\"\n- Error: package android.support.annotation does not exist\n- ConstraintLayout classes are given the wrong class name during \"Refactor to AndroidX\"\n- Error: package android.support.design.R does not exist\n\n1.0.0 alpha 3\n-------------\n\nJune 6, 2018\n\nBugfix release.\n\n**Fixed issues**\n\n- RecyclerView does not render if two projects with different AndroidX dependencies are open\n- Project fails to create and add androidx flags if gradle.properties is not present\n- Missing androidx.core.media.MediaMetadataCompat\n- Slices are falling over when larger than 64K\n- Crash in slice browser\n- Unable to migrate App to AppCompact with having androidX dependencies\n- Databinding libraries are not updated to androidx\n- Cells with large images block rest of cell content\n- Incorrect import when refactoring to Androidx\n- Slices crashing with NPE in SliceProviderCompat\n- Refactor tool error: Should not use a different version (27) than the compileSdkVersion (28)\n- Dex merge issues with trying to build refactored project (Android Sunflower)\n- AndroidX refactor tool doesn't convert dependencies containing variables\n- Espresso Test Recorder does not support androidx dependencies\n- NPE in com.example.androidx.slice.demos\n- dejetifier flatfoot problems\n- androidx.wear has bad dependency on ConstraintLayout libs\n- Full loading slices are broken\n- After refactoring to androidx adding a new activity is creating with old support code\n- dagger-android does not work with jetifier\n- Grid templates: Min width of thumbnails for grid row is 1:1 width/height ratio.\n- Enforce requiring a primary action on a slice\n- Slices for device volume will require setMin on the slider\n- Permission slices broken\n- Slices needs a new permission system\n- Need to allow auto-granting slice perms based on a perm\n- Inconsistent sizes in slice\n- NullPointerException in FontsContractCompat\n\n1.0.0 alpha 2\n-------------\n\nMay 25, 2018\n\nBugfix release.\n\n**Fixed issues**\n\n- Fixes an issue with [`BuildCompat.isAtLeastP()`](/reference/android/support/v4/os/BuildCompat#isatleastp)\n\n1.0.0 alpha 1\n-------------\n\nMay 8, 2018\n\nInitial alpha release. The package names are subject to change during the\nalpha period.\n\n**Known issues**\n\n- The following libraries are not yet compatible with the AndroidX refactor:\n - `com.google.dagger:dagger-android`\n - `com.google.android.support:wearable`\n - `io.fabric.tools:gradle`: Requires 1.25.4 or later\n- Upgrade to version `2.16 or later for`com.google.dagger:dagger-android\\` to be compatible with the AndroidX refactor.\n- The Android Studio refactor tool incorrectly refactors some classes from the `android.arch.persistence.room.*` and `android.support.v4.media.*` namespaces. \n **Workaround:** Check and correct your import lines after running the refactor tool.\n- After using Android Studio refactor tool, full package name is used for some classes in code even though the package was imported.\n\n**Fixed issues**\n\n- BottomNavigationView menu is not initialized correctly (AOSP issue [63375220](https://issuetracker.google.com/issues/63375220))\n- RecyclerView getItemDecorationAt has incorrect documentation (AOSP issue [72727717](https://issuetracker.google.com/issues/72727717))"]]