如何从android移除react native软件包

问题描述 投票:0回答:1

我已卸载react-native-reanimated。删除前已unlinked

输出:

> npx react-native unlink react-native-reanimated
warn Calling react-native unlink [packageName] is deprecated in favor of autolinking. It will be removed in the next major release.
Autolinking documentation: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md
info Unlinking "react-native-reanimated" iOS dependency
info iOS module "react-native-reanimated" has been successfully unlinked
info Android module "react-native-reanimated" is not installed

其次:

npm un react-native-reanimated

但是,当我在Android Studio中打开项目时,该软件包仍会列出。

配置存储在哪里,以及如何删除它?

enter image description here

react-native android-studio react-native-android
1个回答
0
投票

1)取消链接-react native取消链接react-native-animated。2)卸载-React Native卸载react-native-animated。3)如果仍然存在库或导入,请检查package.json,settings.gradle和MainApplication.java。

© www.soinside.com 2019 - 2024. All rights reserved.