草庐IT

port_name

全部标签

android - 错误 : The file name must end with . xml 或 .png

即使我没有选择photothumb.db作为可绘制对象,我还是收到一条错误消息,提示photothumb.db应以.xml或.png结尾我的profilesmaller图片是png类型下面是我的代码下面是我的Gradle控制台消息FAILURE:Buildfailedwithanexception.*Whatwentwrong:Executionfailedfortask':app:mergeDebugResources'.>C:\Users\CharleneMarie\AndroidStudioProjects\Guest\app\src\main\res\drawable\phot

升级springboot3.2.0报Name for argument of type [java.lang.String] not specified, and parameter name inf

我这里项目版本是jdk17+springboot3.1.5升级为jdk21和springboot3.2.0;升级过程总体还是挺顺利的,只是访问应用时老报错:Nameforargumentoftype[java.lang.String]notspecified,andparameternameinformationnotfoundinclassfileeither.这个错误,是因为spring6.1调整了参数,而springboot会自动帮助设置,一开始通过设置maven编译器,例如:org.apache.maven.pluginsmaven-compiler-plugin3.11.02121-

【Git】ssh: connect to host github.com port 22: Connection refused

错误展示:错误原因:22端口被拒绝访问解决办法在~/.ssh/config文件(有就直接编辑,没有就创建)里添加以下内容,这样ssh连接GitHub的时候就会使用443端口。Hostgithub.comHostnamessh.github.comPort443修改完,使用`ssh-Tgit@github.com`查看是否连接成功

java - 安卓 Ant 错误 : invalid resource directory name: ./bin/res\crunch

我正在使用ant命令行构建一个带有外部库的android项目。(出于某种原因,我无法将其制成jar以放入libs/)完成项目和lib项目的android更新和引用链接的所有步骤后,运行“antrelease”时弹出“invalidresourcedirectoryname:./bin/res\crunch”的错误。我知道这是一个常见错误,但在进行深入研究并尝试了所有解决方案后未能解决,包括1)项目->清洁2)删除../bin/res/crunch。(它会重新出现并造成麻烦)3)修改android版本或SDK版本到更高版本有什么建议吗?谢谢! 最佳答案

c# - Facebook (OAuthException - #100) 尝试访问节点类型 (AnonymousUser) 上不存在的字段 (first_name)

我在我的应用程序中使用Facebook登录已经有一段时间了,没有任何问题。我们对我们的网站进行了重大更新,现在我不断从一些用户那里收到这个错误,而且只在我们的Androidcordova应用程序中出现(OAuthException-#100)(#100)Triedaccessingnonexistingfield(first_name)onnodetype(AnonymousUser)我无法重现该错误,尝试了很多不同的方法,是否安装了Facebook应用程序,不同的用户,不同的手机。我在C#中使用这段代码来获取用户varfb=newFacebook.FacebookClient(acc

报错解决:Failed to connect to github.com port 443: Connection refuesd

今天在用git下载时遇到错误:Cloninginto'xxxxx'...fatal:unabletoaccess'https://github.com/xxxxxxxx.git/':Failedtoconnecttogithub.comport443:Connectionrefused查询后尝试以下方法解决:1.查看自己的本机系统代理(设置---网络和Internet---代理---地址:端口):2.修改git配置:(其中的xxxx改为你电脑的端口号)gitconfig--globalhttp.proxyhttp://127.0.0.1:xxxxgitconfig--globalhttps.p

VScode import导入自己的模块文件路径错误ModuleNotFoundError: No module named ‘v0‘

VScodeimport导入自己的模块文件路径错误ModuleNotFoundError:Nomodulenamed'v0'1.问题描述(ubuntu20.04、windows、MacOS均可解决)2.先上答案解释说明(抄自chatGPT):3.其他方法:1)在工作区文件.vscode/launch.json中configurations列表中添加"env"2)"cwd":"${fileDirname}"失败说明(抄自chatGPT):3)"code-runner.fileDirectoryAsCwd"失败说明(抄自chatGPT):`"code-runner.fileDirectoryAsC

遇到Web server failed to start. Port 8080 was already in use.该如何解决?

1.今天晚上做了一个springboot的小案例,运行springboot案例时,发现项目没有启动成功:2.错误描述为:Webserverfailedtostart.Port8080wasalreadyinuse.这句错误描述意思是当前程序的端口号8080被占用了,需要将占用该端口的程序停止掉才行。3.我们按住win+R键调出运行窗口,输入cmd进入命令行:4.进入命令行后,输入如下命令查看“8080”对应端口的程序占用情况:5.我们通过查询发现id为“14268”的进程占用了8080端口,直接将它关闭掉:6.如上图,进程关闭成功后,我们打开idea,重新启动springboot项目,发现项目

java - 错误 : No resource found that matches the given name (at 'title' with value '@string/menu_settings' )

我正在做“hellotoandroid”一书中的“数独”练习。我看到有人和我有同样的问题,但我无法解决。我已经删除了这个项目三次并从头开始重新创建,但我一直在下面收到相同的错误消息,即使我正在从书中复制/粘贴也是如此。W/ResourceType(8592):BadXMLblock:headersize29806ortotalsize538970658islargerthandatasize0C:\java\Sudoku\res\layout\activity_main.xml:6:error:Error:Noresourcefoundthatmatchesthegivenname(a

ESlint报错[vue/comment-directive]cleareslint-plugin-vue及Cannot find name ‘template‘.

项目背景:项目是用vite脚手架创建的vue3项目问题:新建了一个vue文件,在页面的第一行和最后一行都报错报错信息:   Cannotfindname'template'.Vetur(2304)   [vue/comment-directive]cleareslint-plugin-vue解决方法:关于Cannotfindname'template'.Vetur(2304)报错,搜索到的解决方法大都是建议把vetur报错关了,尝试后发现并没用关于[vue/comment-directive]cleareslint-plugin-vue,大都建议将.eslintrc.js配置文件中添加代码:"