Comments (11)
运行apk,没有图片出来,不能滑动。不能像展示的那样显示好多图片能滑动。 代码是pull master 最新的。是怎么回事呢 @duheng
from mozi.
运行apk,没有图片出来,不能滑动。不能像展示的那样显示好多图片能滑动。 代码是pull master 最新的。是怎么回事呢 @duheng
这个我只是做个demo,用于展示功能,接口是网上爬别人家的接口不是我自己的。数据少的时候就只有几条。 我图上展示的那个是我在之前公司的时候调用的公司成型的API接口,比较稳定,所以出来的效果也比较好
from mozi.
你好,我想问一下安卓用android studio打开直接报这个错 :ERROR: The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.
from mozi.
你好,我想问一下安卓用android studio打开直接报这个错 :ERROR: The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.
1.开启安卓模拟器;
2.在终端执行adb devices验证是否连上了模拟器
3.在终端执行yarn run android
下图是我刚刚跑出来的结果,是正常的。在android studio启动经常会提示你升级sdk,可以不用理会。rn项目不建议用android studio启动。
from mozi.
can not find iphone x, 但是我的iphone x模拟器开着呢?这是咋回事?
我的xnode版本是11.2(beta), 作者能否提供下您的xnode版本?
from mozi.
can not find iphone x, 但是我的iphone x模拟器开着呢?这是咋回事?
我的xnode版本是11.2(beta), 作者能否提供下您的xnode版本?
一:执行 open /node_modules/react-native/local-cli/runIOS/findMatchingSimulator.js
二:替换 if (!version.startsWith('iOS') && !version.startsWith('tvOS')) {
为
if (
!version.startsWith('com.apple.CoreSimulator.SimRuntime.iOS') &&
!version.startsWith('com.apple.CoreSimulator.SimRuntime.tvOS')
) {
三:全局搜索 simulator.isAvailable !== 'YES' 替换为 simulator.isAvailable !== true
四:重新执行yarn run ios
from mozi.
can not find iphone x, 但是我的iphone x模拟器开着呢?这是咋回事?
我的xnode版本是11.2(beta), 作者能否提供下您的xnode版本?一:执行 open /node_modules/react-native/local-cli/runIOS/findMatchingSimulator.js
二:替换 if (!version.startsWith('iOS') && !version.startsWith('tvOS')) {
为
if (
!version.startsWith('com.apple.CoreSimulator.SimRuntime.iOS') &&
!version.startsWith('com.apple.CoreSimulator.SimRuntime.tvOS')
) {三:全局搜索 simulator.isAvailable !== 'YES' 替换为 simulator.isAvailable !== true
四:重新执行yarn run ios
from mozi.
can not find iphone x, 但是我的iphone x模拟器开着呢?这是咋回事?
我的xnode版本是11.2(beta), 作者能否提供下您的xnode版本?一:执行 open /node_modules/react-native/local-cli/runIOS/findMatchingSimulator.js
二:替换 if (!version.startsWith('iOS') && !version.startsWith('tvOS')) {
为
if (
!version.startsWith('com.apple.CoreSimulator.SimRuntime.iOS') &&
!version.startsWith('com.apple.CoreSimulator.SimRuntime.tvOS')
) {
三:全局搜索 simulator.isAvailable !== 'YES' 替换为 simulator.isAvailable !== true
四:重新执行yarn run ios
已解决 谢谢!
from mozi.
报module找不到:
error info :
bundling failed: Error: Unable to resolve module ../../../../src/components
from /Users/liyunhua/Documents/work/react-native/ReactNamtiApp/src/auth/LogIn.js
: The module ../../../../src/components
could not be found from /Users/liyunhua/Documents/work/react-native/ReactNamtiApp/src/auth/LogIn.js
. Indeed, none of these files exist:
/Users/liyunhua/Documents/work/src/components(.native||.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx)
code:
login.js:
import { Toast, Loading, Icon, } from 'components';
import { hexMD5, } from 'commons/utils';
import BaseSelector from 'selectors/base';
import * as BaseActions from 'actions/base';
import connect from 'store/connect';
from mozi.
1、上述问题已解决,是由于没有babel-plugin-root-import导致的。
from mozi.
babel-plugin-root-import
谢谢你的反馈,已更新
from mozi.
Related Issues (20)
- 接口已失效 HOT 1
- win7下面yarn install时卡住
- 请问如何修改 App 名称? HOT 1
- 可以集成dva进去吗 HOT 2
- 这种个性化脚手架如何制作的呢?
- 升级Xcode10+之后出现的两个bug HOT 1
- 安卓常见的报错解决方案
- 升级Xcode 10.2之后无法使用react-native run-ios Could not find iPhone X simulator HOT 4
- 你好mac下npm install项目报错 HOT 4
- 项目中 安卓端返回键 再按一次退出应用 有点问题 HOT 3
- 没有找到saga相关的代码呢? HOT 4
- yarn run android报错:Could not get unknown property 'mergeResourcesProvider' for object of type com.android.build.gradle.internal.api.ApplicationVariantImpl HOT 1
- error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. HOT 1
- 启动报错,window HOT 2
- resource android:attr/xxx not found
- resource fork, Finder information, or similar detritus not allowed Command CodeSign failed with a nonzero exit code
- xcode 11.1启动不起来 HOT 1
- 每次重新执行yarn start和yarn run android后都会报错 ,需要执行gradlew clean才会正常 HOT 4
- xcode11启动报错 Unknown argument type '__attribute__' in method -[RCTAppState getCurrentAppState:error:]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mozi.