jaggerwang / zqc-app-demo Goto Github PK
View Code? Open in Web Editor NEW在球场移动应用开源版,可用作React Native移动应用开发的参考。
Home Page: http://study.163.com/course/courseMain.htm?courseId=1003433016
License: MIT License
在球场移动应用开源版,可用作React Native移动应用开发的参考。
Home Page: http://study.163.com/course/courseMain.htm?courseId=1003433016
License: MIT License
嘿嘿先给看看里面视频地方是怎么做的.
我这边使用了您的 网络连接判断代码.
为什么我的真机运行起来 4G网络判断状态既然是 flase 而你的就没问题
我的wifi 是没问题的
2 warnings and 1 error generated.** BUILD FAILED **The following build commands failed: CompileC /Users/hechuanhua/dev/zqc-app-demo/ios/build/Build/Intermediates/ReactNativeNavigation.build/Debug-iphonesimulator/ReactNativeNavigation.build/Objects-normal/x86_64/RCCNotification.o RCCNotification.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler(1 failure)Installing build/Build/Products/Debug-iphonesimulator/zaiqiuchang.appAn error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):Failed to install the requested applicationAn 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/zaiqiuchang.app/Info.plistPrint: Entry, ":CFBundleIdentifier", Does Not Exist
这里的代码是不可以添加新的动态,只有官方正式版才可以,教程不包括这些内容吗,我已经购买了教程的
Just followed the instructions but failed, could you please take a look? thanks! here is the output:
JS server already running.
Building and installing the app on the device (cd android && ./gradlew installDebug...
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html.
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/peter/dev/zqc-app-demo/android/app/build.gradle' line: 102
* What went wrong:
A problem occurred evaluating project ':app'.
> Could not get unknown property 'ZAIQIUCHANG_RELEASE_STORE_FILE' for SigningConfig_Decorated{name=release, storeFile=null, storePassword=null, keyAlias=null, keyPassword=null, storeType=null, v1SigningEnabled=true, v2SigningEnabled=true} of type com.android.build.gradle.internal.dsl.SigningConfig.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 5.366 secs
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
and the screenshot:
为什么在(球场DEMO)在手机上运行起来,没有已经上线的软件(在球场)流畅,特别是页面切换的动画。感觉已经上线的软件页面切换特别自然、顺滑,是做了什么特别的处理吗?新人求教。
求解,打包时需要做一些什么操作吗?
越看越觉得代码组织的好, 模块封装的好, 状态管理的好!
你好大师,想问问您的应用里边的发表的状态的图片预览效果是用什么插件或者自己实现的思路,劳烦指点一二。
用的模拟器,但是电脑是连接在网络上的,是不是跟这个有关系?
按照步骤运行
iOS
npm install
react-native link
react-native run-ios
出现:
** BUILD FAILED **
The following build commands failed:
CompileC /Users/jiasaichao/Desktop/test/zqc-app-demo/ios/build/Build/Intermediates/ReactNativ
eNavigation.build/Debug-iphonesimulator/ReactNativeNavigation.build/Objects-normal/x86_64/RCCNavigati
onController.o RCCNavigationController.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0
.compiler
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/zaiqiuchang.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 Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphone
simulator/zaiqiuchang.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
:react-native-image-picker:packageReleaseResources FAILED
FAILURE: Build failed with an exception.
Error: Cannot create directory D:\study\react_native\zqc-app-demo-master\node_
modules\react-native-image-picker\android\build\intermediates\incremental\packag
eReleaseResources\merged.dir\values
按照说明上的步骤 执行出现这个错误,请帮忙看看是什么问题,谢谢
When I try to build a release version for iOS, the following error occurred:
Undefined symbols for architecture i386:
"___gxx_personality_v0", referenced from:
_RCTDefaultLogFunction_block_invoke in libReact.a(RCTLog.o)
_RCTFormatLog in libReact.a(RCTLog.o)
___RCTAddLogFunction_block_invoke in libReact.a(RCTLog.o)
_RCTPerformBlockWithLogFunction in libReact.a(RCTLog.o)
_RCTPerformBlockWithLogPrefix in libReact.a(RCTLog.o)
RCTGetLocalLogFunction() in libReact.a(RCTLog.o)
___RCTPerformBlockWithLogPrefix_block_invoke in libReact.a(RCTLog.o)
...
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I also tried to build release version for vanilla React Native project (generated by react-native init AweSomeProject), it worked properly, so there might be something wrong in the libraries used here, e.g. react-native-wechat, react-native-video etc.
@jaggerwang would you please take a look?
你好,我打开应用报错,提示检查网络和位置出错,麻烦能告诉我怎么改下吗?
Unable to resolve module react/lib/ReactUpdates from /Users/a123/Downloads/zqc-app-demo-master/node_modules/react-native/Libraries/react-native/react-native.js: Module does not exist in the module map or in these directories:
/Users/a123/Downloads/zqc-app-demo-master/node_modules/react-native/node_modules/react/lib
, /Users/a123/Downloads/zqc-app-demo-master/node_modules/react/lib
This might be related to facebook/react-native#4968
To resolve try the following:
watchman watch-del-all
.node_modules
folder: rm -rf node_modules && npm install
.rm -fr $TMPDIR/react-*
or npm start -- --reset-cache
.RCTFatal + 104
-[RCTBatchedBridge stopLoadingWithError:] + 1138
__25-[RCTBatchedBridge start]_block_invoke_2 + 65
_dispatch_call_block_and_release + 12
_dispatch_client_callout + 8
_dispatch_main_queue_callback_4CF + 714
CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
__CFRunLoopRun + 2073
CFRunLoopRunSpecific + 488
GSEventRunModal + 161
UIApplicationMain + 171
main + 111
start + 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.