xotahal / react-native-material-ui-demo-app Goto Github PK
View Code? Open in Web Editor NEWDemo app for react-native-material-ui lib
Demo app for react-native-material-ui lib
Would be nice to see 'this.context.uiTheme.palette' in action.
I encountered below error after react-native run-android
.
Application example has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent.
runApplication
AppRegistry.js:99
__callFunction
MessageQueue.js:236
<unknown>
MessageQueue.js:108
guard
MessageQueue.js:46
callFunctionReturnFlushedQueue
MessageQueue.js:107
Do you know this error cause?
If there is any necessary other information, I will present it so please tell me.
Unable to connect with remote debugger
Win 7, Android Emulator ADB Nexus 4.
First, thanks for a wonderful project - this framework and demo app are super helpful! I'm able to successfully run the demo app and the components all seem to work except for the ActionButton. I've also tried incorporating it into my own project and the behavior is the same: the icon does not render and the button does not respond to taps -- both on the Home
scene as well as in the ActionButton
scenes. I wonder if this is only happening to me, and if there is something I'm missing.
Here's a cap of the demo app running in my iOS simulator after freshly cloning the repo and following the setup instructions in the README:
I cloned the repo, ran
then
and got this error:
The following commands produced analyzer issues:
Analyze RCTLocationObserver.m
(1 command with analyzer issues)
The following build commands failed:
CompileC /Users/hb29488/Documents/repos/react-native-material-ui-demo-app/ios/build/Build/Intermediates/RCTWebSocket.build/Debug-iphonesimulator/RCTWebSocket.build/Objects-normal/x86_64/RCTWebSocketObserver.o RCTWebSocketObserver.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/example.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-iphonesimulator/example.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
I got this error when attempting to run:
react-native run-android
Scanning folders for symlinks in /.../react-native-material-ui-demo-app/node_modules (10ms)
Starting JS server...
Building and installing the app on the device (cd android && ./gradlew installDebug)...
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '12.0.2'.
When run on Android 4.3 version (ie. API 16- 18)
In Manifest.xml
But still throwing error ,
Error while updating property 'nativeBackgroundAndroid' of a view managed by : RCTView
null
Ripple drawable is not available on android API < 21
Error: No resource found that matches the given name (at 'label' with value '@string/app_name')
The whole res folder is missing under android/app/src/main
I am getting the following error when we try to run this demo project.
Unable to resolve module ../react-native-material-ui
from D:\projects\sampleProjects\materialdemo\react-native-material-ui\src\App\App.react.js
: could not resolve `D:\projects\sampleProjects\materialdemo\react-native-material-ui\src\react-native-material-ui' as a file nor as a folder
I follow the instructions but when run react-native run-android
I got this:
Scanning folders for symlinks in /Users/********/Developer/react-native-material-ui-demo-app/node_modules (13ms)
Starting JS server...
Building and installing the app on the device (cd android && ./gradlew installDebug)...
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
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
The emulator is running btw
Any possible way to use custom icon in action in leftelement
** BUILD FAILED **
The following build commands failed:
CompileC /Users/jcursi/Sites/joncursi/react-native-material-ui-demo-app/ios/build/Build/Intermediates/RCTWebSocket.build/Debug-iphonesimulator/RCTWebSocket.build/Objects-normal/x86_64/RCTSRWebSocket.o RCTSRWebSocket.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/example.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-iphonesimulator/example.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Due to a change in the iOS source code, you new need to specifically allow the connection to the dev server.
<key>NSAllowsArbitraryLoads</key> <true/>
I'll set up a quick PR ;)
Looks like there was missing two modules: color
and lodash.merge
in package.json
How can I update submodules?
The import path '../react-native-material-ui' is wrong, which causes multiple errors as side effect.
Since it is from node_modules, it has to be 'react-native-material-ui'.
Fatal, not a git repository
Followed instructions in readme:
414 git clone https://github.com/xotahal/react-native-material-ui-demo-app.git
415 cd react-native-material-ui-demo-app/
416 yarn install
417 git submodule init
418 git submodule update
419 npm start
In another window:
react-native run-ios
Result:
Installing build/Build/Products/Debug-iphonesimulator/example.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-iphonesimulator/example.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
hi,i got this errors while trying to compile, i'm using node v 6.9.2 :
/Users/shmn/Development/ReactNative/react-native-material-ui-demo-app/node_modules/react-native/packager/react-packager/src/Logger/index.js:85
printFields? = [])
^
SyntaxError: Unexpected token ?
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:542:28)
at loader (/Users/shmn/Development/ReactNative/react-native-material-ui-demo-app/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/Users/shmn/Development/ReactNative/react-native-material-ui-demo-app/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/shmn/Development/ReactNative/react-native-material-ui-demo-app/node_modules/react-native/packager/react-packager/index.js:14:16)
I see this error when starting:
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
I have used android 23 x86 Android 6.0
and Android accelerated x86 Nougat Android Platform 7.1.1 API Level 25
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.