![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
react native
迷途小员员
这个作者很懒,什么都没留下…
展开
-
react-native-gesture-handler 手势的使用
6、接下来,你可以在你的React Native组件中使用react-native-gesture-handler提供的手势组件了。1、首先,在你的React Native项目中安装react-native-gesture-handler。以上是使用react-native-gesture-handler的基本步骤。2、安装完成后,需要链接react-native-gesture-handler到你的原生代码。4、然后,你需要在你的原生代码中进行一些额外的配置。具体的配置取决于你使用的平台。原创 2023-08-24 23:36:26 · 1402 阅读 · 0 评论 -
Execution failed for task ‘:app:javaPreCompileDebug‘.
要注意,google.com一定要放在jcenter()的上面,jcenter一定要放在最后一行。这里不考虑使用阿里的镜像,都使用谷歌的。查看你的grable版本是多少。原创 2023-08-21 19:17:14 · 142 阅读 · 0 评论 -
Project ‘app‘ not found in root project ‘xxx‘
使用rn进行下载依赖时报了这个错误:在android下的settings.gradle下查看是否有这段话:原创 2023-08-21 18:04:02 · 694 阅读 · 0 评论 -
Could not resolve all files for configuration ‘:jmessage-react-plugin:debugCompileClasspath‘. > C
我们来说说jmessage-react-plugin这个,极光聊天的包,在android没有存在,这边建议您把这个有关的包全部删除,依赖使用yarn remove jmessage-react-plugin删除这个包,等项目启动后,按照极光官方文档一步一步增加。或者直接去极光官网找解决方案。原创 2023-08-21 03:30:53 · 104 阅读 · 0 评论 -
Could not resolve all files for configuration ‘:jmessage-react-plugin:debugCompileClasspath‘. > C
他的意思是在阿里源中没有找到这个包,这个我们用默认的包。原创 2023-08-21 03:12:42 · 75 阅读 · 0 评论 -
2 files found with path ‘lib/arm64-v8a/libc++_shared.so‘ from inputs...-react native
一下加上一段话,将全部版本变成统一的。原创 2023-08-21 03:07:28 · 315 阅读 · 0 评论 -
rn和flutter出现“Running Gradle task ‘assembleDebug
【代码】rn和flutter出现“Running Gradle task ‘assembleDebug。原创 2023-08-20 03:06:08 · 1022 阅读 · 0 评论 -
adb devices存在连接emulator-5554怎么办
netstat -ano | findstr 5554 ,去查看pid是什么。发现还是有5554这条数据,可以采用window杀死端口号的方法。执行adb kill-server。得到pid,杀死这个pid。原创 2023-08-20 01:01:15 · 1506 阅读 · 2 评论 -
react-native运行时无响应,按r出现No apps connected. Sending “reload“ to all React Native apps failed. Make sur
解决方法:可参考。原创 2023-08-20 00:53:20 · 736 阅读 · 0 评论 -
Error Failed to install the app. Make sure you have the Android development environment set up
使用npx react-native doctor 诊断一下。原创 2023-08-19 11:43:52 · 146 阅读 · 0 评论