gagakj / gagamall Goto Github PK
View Code? Open in Web Editor NEWReact Native开发嘎嘎商城客户端
Home Page: http://www.lcode.org/
License: Apache License 2.0
React Native开发嘎嘎商城客户端
Home Page: http://www.lcode.org/
License: Apache License 2.0
项目安装后报SyntaxError:Strict mode does not allow function declaration in a lexically nested statement.
can anybody meet the same error, any solution or workaround on it?
在源码里查了下,貌似没有看到多语言切换的实现
react-native run-ios
时,模拟器、真机去执行,报下列错误,有遇到过吗?
** BUILD FAILED **
The following build commands failed:
CompileC /Users/ivanzhou/Documents/GaGaMall/ios/build/Build/Intermediates/RCTWeChat.build/Debug-iphonesimulator/RCTWeChat.build/Objects-normal/x86_64/RCTWeChat.o RCTWeChat.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/GaGaMall.app
No devices are booted.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/GaGaMall.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
xcode:
Application GaGaMall has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent.
../GaGaMall-master/node_modules/react-native/react.gradle' as it does not exist.
提示而已
requiring unknown module "react/lib/ReactNative"
如何在数据量大的情况下,保证渲染性能。
你好,刚开始学习react native,想问一下,在你的订单代码中使用scrollable-tab-view 页中点击‘再来一单‘时,使用navigator跳转回餐馆详情页面该如何处理?我使用标准navigator push系统报错
run-android时报如下错误,但是我运行自己创建的项目时却可以正常安装上
F:\react_native\GaGaMall-master>react-native run-android
JS server already running.
Running D:\SoftWare\AndroidSDK\sdk/platform-tools/adb -s cf5fc28a reverse tcp:80
81 tcp:8081
Building and installing the app on the device (cd android && gradlew.bat install
Debug...
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
更换了好几个版本,都出现这样的问题,请问如何解决:
当前使用:
"react": "16.0.0-alpha.12",
"react-native": "0.48.3",
错误信息:
D:\RN_Demo\GaGaMall-master\node_modules\react-native-vector-icons\android\src\main\java\com\oblador\vectoricons\VectorIconsPackage.java:26: 错误: 方法不会覆盖或实现超类型的方法
@OverRide
^
1 个错误
:react-native-vector-icons:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
Compilation failed; see the compiler error output for details.
BUILD FAILED
Total time: 3.086 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
为社么你的TabNavigationbar 跳转二级页面就隐藏了,我写了一个demo,也用的TabNavigator,跳转的时候底部总是罕有四个tabbar,我没有看到你哪个代码处理这个了,请指点一下
It is showing fetching js bundle , nodejs is print to “request:/index.android.bundle?platform=android&dev=true&hot=false&minify=false” , virtual machine is blank ,
:app:dexDebug
UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dex.DexException: Multiple dex files define Landroid/support/v7/appcompat/R$anim;
at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)
at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)
at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)
at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
at com.android.dx.merge.DexMerger.merge(DexMerger.java:189)
at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:502)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:334)
at com.android.dx.command.dexer.Main.run(Main.java:277)
at com.android.dx.command.dexer.Main.main(Main.java:245)
at com.android.dx.command.Main.main(Main.java:106)
:app:dexDebug FAILED
支付也就是console.log一下,redux也不是你这么用的,immutable也不用,不要误导新人了,想学的去看F8APP和snowflake
按照你的步骤从git clone 下来、。然后npm install之后运行出现Cannot evaluate module react-native-vector-icons : Configuration with name 'default' not found.。初次接触RN,不太明白
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.