更新时间:2022-04-20 06:39:24
我已解决此问题.我在我的 AndroidManifest.xml
中添加了不需要的东西.我从其他地方复制并粘贴了此文件,但事实证明我不需要此文件并导致了问题:
I fixed the problem. I added something to my AndroidManifest.xml
that I didn't need to. I copied and pasted this from somewhere else, but it turned out that I didn't need this and was causing the problem:
<application
...
tools:replace="android:appComponentFactory"
android:appComponentFactory="androidx"
>
删除这些行解决了我的问题.
Removing those lines fixed my problem.