草庐IT

INSTALL_PACKAGES

全部标签

Android Installed Build Tools revision 34.0.0 is corrupted. Remove and install again using the SDK

前言ERROR:InstalledBuildToolsrevision34.0.0iscorrupted.RemoveandinstallagainusingtheSDKManager.错误:已安装的生成工具修订版34.0.0已损坏。使用SDK管理器删除并重新安装。上面提示看似简单只需要重新卸载再下载BuildTools34.0.0就行了但实际上并不行降低版本降低BuildToolsrevision实测不行行也是治标不治本解决方案通过查资料自己测试下面方法可行这个androidbuildtools版本你用哪个都可以但是需要修改文件名字比如我用的版本号是34.0.0打开你的SDK目录第一步:在你

Google Play Install Referrer API 和 Facebook App Ads Referral 集成

介绍:由于需要精准的获取投放广告的数据(投放的平台,防止数据的丢失等)。我们使用了GooglePlayInstallReferrerAPI和FacebookAppAdsReferral结合采集数据,然后通过后台服务记录数据。最后服务器记录的数据与Facebook提供的数据对比,检查数据的真实性、丢包概况等。最后得出结论可以用于后续运营策略。官网:GoogleInstallReferrerAPIGooglePlay网址构建工具FacebookAppAdsReferralFacebookApp管理平台要求:解决网络问题。(您懂得)需要有GooglePlay管理中心帐号。需要有Facebook管理中

(MACOS限定!)关于npm install 报错问题的解决

背景很多使用MacOS的朋友在设置npminstall会遇到报错的情况,如图:npmERR!codeEACCESnpmERR!syscallmkdirnpmERR!path/Users/bcy/.npm/_cacache/index-v5/04/28npmERR!errno-13npmERR!npmERR!Yourcachefoldercontainsroot-ownedfiles,duetoabuginnpmERR!previousversionsofnpmwhichhassincebeenaddressed.npmERR!npmERR!Topermanentlyfixthisproblem

IDEA Maven install Failed to execute goal org.apache.maven.plugins异常处理

目录一、异常错误二、原因三、解决方法修改pom.xml资源配置文件一、异常错误由于服务器编译拦截了静态资源,导致出现异常,需要重新打包编译打开IDEA带的Maven管理,双击clean清除由项目编译创建的target再双击install安装jar包到本地仓库,项目打包过程中出现异常二、原因[INFO]Using'UTF-8'encodingtocopyfilteredresources.[INFO]Using'UTF-8'encodingtocopyfilteredpropertiesfiles.系统默认编码是GBK,maven提升需要使用UTF-8,在setting中修改项目编码为UTF-8

npm install --legacy-peer-deps

问题:npm版本高无法解析依赖树导致依赖下载失败解决方法:执行npminstall--legacy-peer-deps依赖对等npminstallxxxx--legacy-peer-deps命令用于绕过peerDependency里依赖的自动安装;它告诉npm忽略项目中引入的各个依赖模块之间依赖相同但版本不同的问题,以npmv4-v6的方式去继续执行安装操作(默认使用npm4-6版本的安装模式,安装过程中会跳过对等依赖项)

npm install报错npm ERR! code ERESOLVE

1.npminstall报错npmERR!codeERESOLVE解决方法在npminstall后面加上–force或者–legacy-peer-depsnpminstall--legacy-peer-deps2.npminstall报错gypERR原因:node和npm版本不匹配解决方法1.首先去node官网查找对应版本node官网版本2查看自己电脑的node、npm版本,win+r打开cmd,输入:node-v我的node是v18.14.0npm-v我目前的npm版本是9.4.2,高啦高啦!应该改成对应的9.3.1npminstall-gnpm@9.3.1npminstall卸载原有的高版

npm install 长时间处于fetchMetadata: sill resolveWithNewModule

问题:使用npm安装时,过程长时间处于fetchMetadata:sillresolveWithNewModule状态:[ ...............]-fetchMetadata:sillresolveWithNewModulebase64-arraybuffer@1.0.2checkinginstallablestatus几个可能的原因处理:1、清除缓存npmcacheclean--force 2、换淘宝源npmconfigsetregistryhttps://registry.npm.taobao.org–配置后可通过下面方式来验证是否成功npmconfiggetregistry–或

npm install报错fatal: unable to access ‘https://github.com/nhn/raphael.git/‘: OpenSSL SSL_read 10054

报错信息:npmERR!E:\tools\Gitt\Git\cmd\git.EXEls-remote-h-thttps://github.com/nhn/raphael.gitnpmERR!npmERR!fatal:unabletoaccess'https://github.com/nhn/raphael.git/':OpenSSLSSL_read:Connectionwasreset,errno10054npmERR!npmERR!exitedwitherrorcode:128处理方法1.gitconfig--globalurl."https://".insteadOfgit://2.可能是

Install Stable Diffusion WebUI on Ubuntu 22.04.2 LTS

1.EnvironmentOS:Ubuntu22.04LTSKernel:5.15.0-60-genericCPU:Intel(R)Xeon(R)Gold6278CCPU@2.60GHz,8vCPUs GPU:1*NVIDIAV100-PCIe-32G RAM:64GBsystemdisk:512 GiBdatadisk: 2048 GiBStableDiffusionWebUIversion:0cc0ee1(2023/2/20)2.DownloadStableDiffusionmodelsGoto HuggingFace or Civitai tofindamodel.Usewgetcomm

ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based

记录一下,安装aiohttp库出现的问题问题1:报两个错误,ERROR:FailedbuildingwheelforyarlFailedtobuildyarlERROR:Couldnotbuildwheelsforyarl,whichisrequiredtoinstallpyproject.toml-basedprojects解决方法:ERROR:Failedbuildingwheelforyarl,根据这个,安装需要的库yarl,用pipinstallyarl不行,下载whl,用下面的就行存档:PythonExtensionPackagesforWindows-ChristophGohlke