分享一个用ReactNative写的仿微信客户端的APP(带截图)
-
@CrazyWL
感谢指出问题,确实是一段无用的代码,可以删掉
-
@aLazy
可能是我服务端在调试导致的,你现在再试应该是可以获取数据的
-
@yubo72576 谢谢
-
楼主厉害, 最近小弟也是入坑了, 看到你做的这么好, 下下来好好参考学习, 谢谢楼主
-
@YvanMasterAll
一起学习,一起进步!
-
@caoyunxiao 你好,关于iOS版引用库的问题,你是怎么处理得,我这边报错了
-
你好!注释掉下面4行代码:
storeFile file(MYAPP_RELEASE_STORE_FILE)
storePassword MYAPP_RELEASE_STORE_PASSWORD
keyAlias MYAPP_RELEASE_KEY_ALIAS
keyPassword MYAPP_RELEASE_KEY_PASSWORD还是会报错:
Starting JS server...
Building and installing the app on the device (cd android && ./gradlew installDebug)...
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html是什么地方的问题呢,谢谢!
-
@lyf1923811803
看英文提示啊同学。不是提示你没有运行的模拟器或者没有连接的真机吗,所以apk安装不了,其实apk已经生成了,你在android\app\build\outputs\apk目录下找找看有没有apk文件
-
我是新手,运行demo的时候,react-native run-ios报错:
** BUILD FAILED **The following build commands failed:
CompileC /Users/l/RN/demo/RNWeChat/ios/build/Build/Intermediates/RNNeteaseIm.build/Debug-iphonesimulator/RNNeteaseIm.build/Objects-normal/x86_64/NTESSpellingCenter.o RNNeteaseIm/Util/Spelling/NTESSpellingCenter.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/l/RN/demo/RNWeChat/ios/build/Build/Intermediates/RNNeteaseIm.build/Debug-iphonesimulator/RNNeteaseIm.build/Objects-normal/x86_64/NIMKitUtil.o RNNeteaseIm/Util/NIMKitUtil.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)Installing build/Build/Products/Debug-iphonesimulator/TestReactNavigation.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not ExistCommand failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/TestReactNavigation.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
-
@yphp
你好,我暂时无法为你解答该错误原因,你可以加入QQ群:419213248 一起讨论该项目或者ReactNative相关的问题