你瞅啥呢

02 2023 档案

摘要:2023-02-28 Unknown custom element: &lt;uni-view&gt; - did you register the component correctly? For recursive components, make sure to provide the &quot;name&quot; option.问题描述:vue h5业务,之前是由wepy转成uniapp,报错内容为: Unknown custom element: <uni-view> - did you register the component correctly? For recursive components, make su 阅读全文
posted @ 2023-02-28 16:11 叶乘风 阅读(1715) 评论(0) 推荐(1) 编辑
摘要:2023-02-13 Set `&quot;volar.inlayHints.eventArgumentInInlineHandlers&quot;: false` to hide Event Argument in Inline Handlers.Set `"volar.inlayHints.eventArgumentInInlineHandlers": false` to hide Event Argument in Inline Handlers. 设置`“volar.inlayHints.eventArgumentInInlineHan 阅读全文
posted @ 2023-02-27 16:52 叶乘风 阅读(1383) 评论(0) 推荐(0) 编辑
摘要:2023-02-23 {&quot;errMsg&quot;: &quot;getImageInfo:fail download image fail. reason: downloadFile:fail url not in domain list&quot;}描述:微信小程序绘制图片业务,开发工具测试,真机测试,体验版测试均没问题,正式上线后报错:downloadFile:失败url不在域列表中 报错原因:接口路径没有写在downloadFile合法域名里面,所以微信不允许你加载这个接口,你拿不到图片,就导致绘制失败。 解决方案:打开微信小程序后台管理页 阅读全文
posted @ 2023-02-23 16:03 叶乘风 阅读(528) 评论(0) 推荐(0) 编辑
摘要:新建android项目,选择basic active一项,在跑模拟器的时候,报错。 解决方案:找到AndroidManifest.xml文件,在<activity 里面添加一行属性 android:exported="true" 详情Gpt给出的解决方案: This error message in 阅读全文
posted @ 2023-02-14 10:29 叶乘风 阅读(712) 评论(0) 推荐(0) 编辑
摘要:as打包apk到android上运行显示如下报错: Unable to load script.Make sure you‘re either running a metro server( run ‘react-native start‘ ) or that your bundle ‘index. 阅读全文
posted @ 2023-02-13 17:18 叶乘风 阅读(490) 评论(0) 推荐(0) 编辑
摘要:2023-02-13 Android studio打包apk到手机上(模拟器也一样)运行时闪退环境:Rn项目apk,win10,android手机,as版本为4.2.2。 这是由chatGpt给出的解决方案: 1. 内存不足:如果您的应用程序使用了过多的内存,则手机可能无法正常运行它,导致闪退。 2. 配置问题:如果您的应用程序需要特定的配置,而您的手机不满足这些配置,则应用程序可能会闪退。 阅读全文
posted @ 2023-02-13 16:55 叶乘风 阅读(1061) 评论(0) 推荐(0) 编辑
摘要:as工具运行rn项目报错:More than one file was found with OS independent path 'lib/armeabi-v7a/libfbjni.so'. If you are using jniLibs and CMake IMPORTED targets。 阅读全文
posted @ 2023-02-13 12:55 叶乘风 阅读(1781) 评论(0) 推荐(0) 编辑
摘要:我的as版本:4.2.2 测试环境:Android 要修改as内存,需要修改两个地方: 1、打开as,找到帮助==>更改内存设置==>最大堆大小,把2048修改成你想要的值,我是改成了8192,就是8g内存,接着重启as,再进行下一步; 2、找到android/gradle.properties文件 阅读全文
posted @ 2023-02-13 11:44 叶乘风 阅读(1533) 评论(0) 推荐(0) 编辑
摘要:注: Rn:(react-nativ) as:(android studio) 电脑:win10 测试环境:Android 在新电脑用as跑一下老项目,报错:Module was compiled with an incompatible version of Kotlin. The binary 阅读全文
posted @ 2023-02-13 11:38 叶乘风 阅读(5333) 评论(0) 推荐(0) 编辑
摘要:问题描述:kotlin版本不兼容,又热心网友提示可以禁用kotlin插件,ok,照做,结果!打不开了!!! 注:本文摘抄于http://t.csdn.cn/TGKLz十分感谢这位兄弟提供的解决方案。 解决方案(win10): 找到一个文件(disabled_plugins.txt),删掉其中带有ko 阅读全文
posted @ 2023-02-13 11:15 叶乘风 阅读(224) 评论(0) 推荐(0) 编辑
摘要:Solution: You need to update your module's compileSdkVersion to match the minCompileSdk specified in the AAR metadata file. In this case, you would ha 阅读全文
posted @ 2023-02-13 10:53 叶乘风 阅读(31) 评论(0) 推荐(0) 编辑
摘要:初始化rn项目,as中运行app,报错: The minCompileSdk (31) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) is gr 阅读全文
posted @ 2023-02-12 18:01 叶乘风 阅读(1617) 评论(0) 推荐(0) 编辑
摘要:我的是rn项目,如果要查看compileSdkVersion的版本,那么打开你的项目中的android/app/build.gradle,搜索compileSdkVersion,compileSdkVersion后边跟着的就是版本号。 阅读全文
posted @ 2023-02-12 17:21 叶乘风 阅读(82) 评论(0) 推荐(0) 编辑
摘要:打开as,查看路径为:文件>设置>语言和框架> Kotlin 阅读全文
posted @ 2023-02-11 21:03 叶乘风 阅读(670) 评论(0) 推荐(0) 编辑
摘要:前言:啊卧槽!不想说了。 报错: Invariant Violation: requireNativeComponent: "RNGestureHandlerRootView" was not found in the UIManager. 和react-native-gesture-handler 阅读全文
posted @ 2023-02-10 16:20 叶乘风 阅读(393) 评论(0) 推荐(0) 编辑
摘要:完整报错: Error: Requiring module "node_modules\react-native-reanimated\src\index.ts", which threw an exception: TypeError: ReanimatedModule.installTurboM 阅读全文
posted @ 2023-02-10 14:22 叶乘风 阅读(505) 评论(0) 推荐(0) 编辑
摘要:我原本以为react-native的button有官方写好的icon可以使用,但没曾想没有,而且还没有官方出的icon,故此得寻找第三方插件:react-native-vector-icons 插件地址:https://oblador.github.io/react-native-vector-ic 阅读全文
posted @ 2023-02-10 10:42 叶乘风 阅读(173) 评论(0) 推荐(0) 编辑
摘要:跑马灯插件来自:https://github.com/ZhangTaoK/react-native-marquee-ab 安装: npm i react-native-marquee-ab --save 使用: import { MarqueeHorizontal } from 'react-nat 阅读全文
posted @ 2023-02-09 17:24 叶乘风 阅读(307) 评论(0) 推荐(0) 编辑
摘要:首先你的创建好一个rn项目,然后你在项目目录中打开终端,输入以下命令: yarn react-native run-android 你也可以简写成: cnpm run android 不过这样写你的在packpage.json里面的scripts对象添加一行下面的代码: "android": "re 阅读全文
posted @ 2023-02-09 16:00 叶乘风 阅读(96) 评论(0) 推荐(0) 编辑
摘要:初始化一个expo项目时,报错illegal operation on a directory 解释:对目录的非法操作 emmm,貌似少了些啥。 反正,意思就是版本不兼容。 解决方案:执行命令: npm update expo 升级or降级expo版本即可。(额,,-……-!) 阅读全文
posted @ 2023-02-08 16:28 叶乘风 阅读(553) 评论(0) 推荐(0) 编辑
摘要:项目开发环境:windows 10 项目运行系统:Android 项目搭建前你得确保你有一个用于开发的IDE和已经安装好了的rn(react-native简称)脚手架,我是要用rn的脚手架来搭建项目的。 请分别执行以下代码: react-natvie init myApp --version 0.6 阅读全文
posted @ 2023-02-08 11:07 叶乘风 阅读(233) 评论(0) 推荐(0) 编辑
摘要:问题描述:Androidstudio初始化android项目,报错: Unrecognized Android Studio (or Android Support plugin for IntelliJ IDEA) version '202.7660.26.42.7486908', please 阅读全文
posted @ 2023-02-08 10:47 叶乘风 阅读(339) 评论(0) 推荐(0) 编辑
摘要:2023-02-08 cli.init is not a function问题描述:初始化一个react-native项目,执行命令:react-native init xxx 或者是 npx react-native init xxx均报如下错误: TypeError: cli.init is not a function 报错原因:react-native版本不兼容这 阅读全文
posted @ 2023-02-08 10:18 叶乘风 阅读(453) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示