- 👋 Hi, I’m 许度庆
- 👀 I’m interested in Java / NodeJs / Android
xu-duqing / react-native-art-sample Goto Github PK
View Code? Open in Web Editor NEW使用ART在RN上绘图案例
使用ART在RN上绘图案例
09-07 13:14:43.911 5239 5269 E ReactNativeJS: undefined is not an object (evaluating '_react.PropTypes.number')
09-07 13:14:43.930 5239 5269 E ReactNativeJS: Module AppRegistry is not a registered callable module (calling runApplication)
createDashedView() {
const path = new Path()
.moveTo(1, 1)
.lineTo(WINDOW_WIDTH, 1);
return (
<View style={{ backgroundColor: '#ffffff' }}>
<Shape d={path} stroke={CASHIER_GRAY_COLOR} strokeWidth={1} strokeDash={[1, 5]} />
);
}
RT
右键点击项目 -> ‘Add Files to ProjectName -> 选择 node_modules/react-native/React/Libraries/ART/ART.xcodeproj’
android Studio 可以跑RN项目?
<Surface width={100} height={100}> <Text fill='#fff' font="bold 35px SingYiEG-Ultra-GB">test</Text> </Surface>
用react-native自带的text是可以的
求方案
xx
android模拟器5.0 x64和6.0 x64运行崩溃,有遇到过么
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.