草庐IT

do_install

全部标签

compileSdkVersion and releaseType of the app do not match the apiVersion and releaseType on the devi

compileSdkVersionandreleaseTypeoftheappdonotmatchtheapiVersionandreleaseTypeonthedevice.润和鸿蒙开发板真机测试编译运行时报这个错误。原因:编译sdk版本高于真机解决办法:第一步:修改entry下面build_profile.json5里面的apiType为faMode;第二步:修改项目下面build_profile.json5,修改编译版本,降低版本再次运行,问题解决。

Mac问题:Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW

1.问题描述-MacM1芯片在使用homebrew安装依赖库时,出现如下提示:DisablethisbehaviourbysettingHOMEBREW_NO_INSTALL_CLEANUP2.解决方法-根据提示的语句进行下述操作:DisablethisbehaviourbysettingHOMEBREW_NO_INSTALL_CLEANUP.HidethesehintswithHOMEBREW_NO_ENV_HINTS(see`manbrew`).根据上述语句中的HOMEBREW_NO_ENV_HINTS进行如下操作即可:exportHOMEBREW_NO_INSTALL_CLEANUP=T

安装Microsoft Visual Studio Installer Projects 2022

安装MicrosoftVisualStudioInstallerProjects2022点击download: 离线安装网址:MicrosoftVisualStudioInstallerProjects2022-VisualStudioMarketplace提示关闭时安装,遵照执行即可~

解决引入spire.doc.free-3.9.0.jar导致spring boot项目无法使用maven的install问题

问题背景:在一个项目中需求中需要导出一个word模板,那之前有做过一个这个类似需求,这次使用的是freemarker模版。在引入spire.doc.free-3.9.0.jar依赖的时候发现maven依赖报红色,悬浮提示aliyun找不到改包,没有太在意这个部分,本地能够正常使用。本地仓库存在这个jar包,并且路径,包名等正确。测试过程中也没有发现无法使用这个jar包的时候。但是当需要install的时候突然就报红,提示该包在aliyun找不到(国内大部分人配置的都是阿里云的镜像来加速的,肯定会遇到这个问题)。百度了很多情况,都不知道怎么回事,思考了为什么install的时候要去阿里云镜像地址

安装 elasticsearch-head 环境时报错:Failed at the phantomjs-prebuilt@2.1.16 install script.

gitclonehttps://github.com/mobz/elasticsearch-head.gitcdelasticsearch-head/执行npminstall报错:执行 npminstallphantomjs-prebuilt@2.1.16--ignore-scripts命令–ignore-scripts参数用于npminstall在安装插件时忽略package.json中设置的脚本,意思就是避免package.json中的脚本影响插件的正常安装安装成功! 执行npmstart启动访问:http://localhost:9100/此时显示elasticsearch未连接,需要修

Stata17安装后遇到Java installation not found问题解决方法

初次使用 Stata17的时候你可能会遇到这个问题,在执行sscinstallaaplot命令的时候,会报报错:Javainstallationnotfound,这是因为没有指定Java环境导致的,我们只需要在stata中指定一下Java的环境变量就可以解决。1、下载java17以上的版本:https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html(注意:下载压缩包版本,windows64位的不建议下载jbk.17.0.6版本,因为很慢)2、将压缩包解压后将文件放到stata17安装的路径下:C:\P

go - sync.Once.Do() 使用 CompareAndSwapInt32

Go实现了sync.Once因此:typeOncestruct{mMutexdoneuint32}func(o*Once)Do(ffunc()){ifatomic.LoadUint32(&o.done)==1{return}//Slow-path.o.m.Lock()defero.m.Unlock()ifo.done==0{deferatomic.StoreUint32(&o.done,1)f()}}我试图了解这里对互斥量的需求,这样实现它会有什么问题?func(o*Once)Do(ffunc()){ifatomic.CompareAndSwapUInt32(&o.done,0,1){

go - sync.Once.Do() 使用 CompareAndSwapInt32

Go实现了sync.Once因此:typeOncestruct{mMutexdoneuint32}func(o*Once)Do(ffunc()){ifatomic.LoadUint32(&o.done)==1{return}//Slow-path.o.m.Lock()defero.m.Unlock()ifo.done==0{deferatomic.StoreUint32(&o.done,1)f()}}我试图了解这里对互斥量的需求,这样实现它会有什么问题?func(o*Once)Do(ffunc()){ifatomic.CompareAndSwapUInt32(&o.done,0,1){

vue中执行npm install提示:npm WARN deprecated core-js@2.6.12

场景:在执行npminstall时提示npmWARNdeprecatedcore-js@2.6.12,导致安装不了 提示的意思是:版本低不再维护了,让升级upgradeyourdependenciestotheactualversionofcore-js.npmWARNdeprecatedcore-js@2.6.12:core-js@ Someversionshavewebcompatibilityissues.Please,upgradeyourdependenciestotheactualversionofcore-js.解决方法: npmicore-js

Warning: You are using macOS 13.We do not provide support for this pre-release version.

安装git报错brewinstallgit解决方法:直接根据提示安装:xcode-select--install接着安装git  brewinstallgit git安装成功