okoala / 30daysofreactnative Goto Github PK
View Code? Open in Web Editor NEW30 Days 30 React Native Project
30 Days 30 React Native Project
可以提供一下你的Native扩展的静态项目么,后面几个是自己扩展的吧,能提供下么。
运行react-native run-android时,无法通过编译,请问怎么解决?
/Users/bo/Documents/work/react/30DaysofReactNative/android/app/src/main/java/com/threetydaysofreactnative/MainActivity.java:4: 错误: 找不到符号
import com.microsoft.codepush.react.CodePushReactPackage;
^
符号: 类 CodePushReactPackage
位置: 程序包 com.microsoft.codepush.react
/Users/bo/Documents/work/react/30DaysofReactNative/android/app/src/main/java/com/threetydaysofreactnative/MainActivity.java:8: 错误: 找不到符号
import com.brentvatne.RCTVideo.ReactVideoPackage;
^
符号: 类 ReactVideoPackage
位置: 程序包 com.brentvatne.RCTVideo
/Users/bo/Documents/work/react/30DaysofReactNative/android/app/src/main/java/com/threetydaysofreactnative/MainActivity.java:44: 错误: 找不到符号
new CodePushReactPackage(),
^
符号: 类 CodePushReactPackage
位置: 类 MainActivity
/Users/bo/Documents/work/react/30DaysofReactNative/android/app/src/main/java/com/threetydaysofreactnative/MainActivity.java:48: 错误: 找不到符号
new ReactVideoPackage(),
^
符号: 类 ReactVideoPackage
位置: 类 MainActivity
4 个错误
:app:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
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.