androidx.fragment:fragment (androidx.fragment:fragment) has reported version 1.0.0 as outdated.
Consider upgrading to one of the following versions before publishing a new release: 1.1.0+.
androidx.fragment:fragment 已将版本报告为已过时。请考虑升级到较新版本(1.1.0+)。
解决办法 1) 如下:
- 1. Create folder
Assets/Editor
if not exist - 2. Add a file (name ending with “
Dependencies.xml
”). I Chose the file named “OverrideDependencies.xml”, content of the file as following:
<!-- see https://discussions.unity.com/t/922516/3 -->
<dependencies>
<androidPackages>
<repositories>
<repository>https://repo.maven.apache.org/maven2</repository>
</repositories>
<androidPackage spec="androidx.fragment:fragment:1.1.0" />
</androidPackages>
</dependencies>
- 3. Force resolve with the dependency manager from google (formerly jar resolver):

解决办法 2) 如下:
Just add the androidx in gradle file as following:
