Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
大家好,当我尝试在我的设备(android 手机)上运行此应用程序时,我尝试使用 react-native-camera 模块创建一个相机应用程序,但出现以下错误。任何人都可以为我提供解决方案吗?
转到文件“MainApplication.java”(在 .\android\app\src\main\java\com\projectName 下)
确保在 getPackages() 函数下没有重复的行(在我的例子中,我有两次“new RCTCameraPackage()”)。
修复重复导入。