GithubHelp home page GithubHelp logo

gagakj / gagamall Goto Github PK

View Code? Open in Web Editor NEW
777.0 63.0 235.0 24.36 MB

React Native开发嘎嘎商城客户端

Home Page: http://www.lcode.org/

License: Apache License 2.0

Python 0.30% Java 0.35% JavaScript 98.48% Objective-C 0.87%

gagamall's Issues

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

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

错误: 方法不会覆盖或实现超类型的方法

更换了好几个版本,都出现这样的问题,请问如何解决:

当前使用:
"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

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

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.