环信 react native demo 将RN资源打包到assets出错
调用此方法 将RN资源打包到android studio
react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
出现一下错误
TransformError: /home/scs/AndroidStudioProjects/webim-react-native-master/App/Sdk/dist/strophe-1.2.8.js: require() must have a single string literal argument
请问如何解决
react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
出现一下错误
TransformError: /home/scs/AndroidStudioProjects/webim-react-native-master/App/Sdk/dist/strophe-1.2.8.js: require() must have a single string literal argument
请问如何解决
没有找到相关结果
已邀请:
1 个回复
لاذع