Giter VIP home page Giter VIP logo

zqc-app-demo's People

Contributors

jaggerwang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zqc-app-demo's Issues

想请教下网络状态的问题

我这边使用了您的 网络连接判断代码.
为什么我的真机运行起来 4G网络判断状态既然是 flase 而你的就没问题
我的wifi 是没问题的

mac 运行出错

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

startTabBasedApp 加载所有tabs页面 会特别卡

有个问题请教下, Navigation.startTabBasedApp 会渲染所有的配置在tabs中的页面,我第二个是页面是打开相机,这样就会特别卡,怎么才能不渲染第二个页面,当我点击的时候才渲染这个页面?
image

running "react-native run-android" failed

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:

screen shot 2017-02-28 at 1 50 58 am

关于页面切换的问题

为什么在(球场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.

  • What went wrong:
    Execution failed for task ':react-native-image-picker:packageReleaseResources'.

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

按照说明上的步骤 执行出现这个错误,请帮忙看看是什么问题,谢谢

Building release version for iOS failed

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)

screen shot 2017-03-08 at 1 26 21 pm

, I tried to upgrade ReactNative to latest version (0.42.0) but didn't help.

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:

  1. Clear watchman watches: watchman watch-del-all.
  2. Delete the node_modules folder: rm -rf node_modules && npm install.
  3. Reset packager cache: 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.