Code Monkey home page Code Monkey logo

gagamall's Introduction

GaGaMall

React Native开发嘎嘎商城客户端-来自江清清的技术专栏

基于React Native 实现的嘎嘎商城客户端,暂时只是适配Android版本,暂时大部分布局页面正在开发中,业务逻辑功能以及iOS版本适配会后面进行。

当前的商城客户端会继续开发商品点单,订单,购物车,支付,商品列表以及详情,搜索功能,定位切换,国际化多语言切换,第三方账号登录以及分享等相关功能。也欢迎广大开发者多提建议。项目继续更新中。

关注我的订阅号(codedev123),每天推送分享移动开发技术(Android/iOS),React Native技术文章,项目管理,程序猿日常点滴以及精品技术资讯文章(欢迎关注,精彩第一时间推送)。
订阅号:codedev123

####一.依赖组件

####二.安装配置 #####1.第一步

git clone https://github.com/jiangqqlmj/GaGaMall.git

#####2.第二步

cd GaGaMall

#####3.第三步

npm install

#####4.第四步

1.运行Android版本
Mac OS X:react-native run-android  or Windows OS:react-native start and react-native run-android
2.运行iOS版本
Mac OS X:react-native run-ios or  xcode open project and run project

####三.套餐教程 1.[RN实战-嘎嘎商城]之仿快递时间轴布局实现(订单状态)
2.[RN实战-嘎嘎商城]之轻松实现Tab底部菜单导航栏切换效果-Android/iOS双适配
3.[RN实战-嘎嘎商城]之商家详情界面布局分析与实现

####四.运行效果 #####整体效果 个人中心 城市选择 订单列表 订单详情1 订单详情2 订单状态 订单结果 商品列表 商家详情

####五.打包方法 #####1.Android版本

1.签名key以及release签名信息已配置
2.cd GaGaMall
3.cd android && ./gradlew assembleRelease
4.上述命令执行完毕,在android/app/build/outputs/apk目录下面生成app-release.apk

####六.安装包下载 #####1.Android版本

gagamall's People

Contributors

jiangqqlmj avatar ljunb avatar yanbober 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  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

gagamall's Issues

could not install the app on the device

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.

  • What went wrong:
    Execution failed for task ':react-native-vector-icons:compileReleaseJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • 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: 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

BUILD FAILED :CFBundleIdentifier

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:

wechatimg47

It is showing fetching js bundle

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 ,

com.android.dex.DexException: Multiple dex files define Landroid/support/v7/appcompat/R$anim;

: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

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.