logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

解決Android报错:Could not initialize class org.codehaus.groovy.reflection.ReflectionCache

新电脑打开一个Android老项目,报以下错误根据报错信息来看,包名大部分是是com.gradle,猜测是和gradle版本有关,所以我们升级gradle版本。

文章图片
#android#java#android studio +1
mac不通过Xcode直接打开IOS模拟器

打开模拟器的前提必须是安装了Xcode。有两种方式使用系统的聚集搜索。快捷键:command+空格。搜索simulator,第一个就是模拟器。进入终端(terminal),使用以下命令打开模拟器。$ open -a Simulator...

#ios
解决Xcode报错Stored properties cannot be marked unavailable with ‘@available‘

Stored properties cannot be marked unavailable with '@available'

文章图片
#xcode#macos#ide +1
解决flutter doctor出现Android license status unknown或cmdline-tools component is missing

文章目录问题描述解决方案问题描述使用flutter doctor检查开发环境,出现以下问题wangyangyangdeMacBook-Pro:~ wangyang$ flutter doctorDoctor summary (to see all details, run flutter doctor -v):[✓] Flutter (Channel stable, 2.2.1, on Mac O

#android#flutter
Unable to 'pub upgrade' flutter tool. Retrying in five seconds...

原因因为Dart和Flutter都是Google开发的,所以被墙了,你懂的。解决方法为Flutter设置国内镜像就可以了。linux或mac使用vim编辑 ~/.bash_profileexport PUB_HOSTED_URL=https://pub.flutter-io.cnexport FLUTTER_STORAGE_BASE_URL=https://storage.flutt...

#flutter
解决Xcode运行IOS报错:redefinition of module ‘Firebase‘和could not build module ‘CoreFoundation‘

出现Error (Xcode): could not build module 'CoreFoundation'错误时的解决办法

文章图片
#ios#xcode#flutter +1
IOS编译报错‘ZipArchive.h‘ file not found|Use of undeclared identifier ‘SSZipArchive‘

ZipArchive.h' file not found,一般是因为导入的库名称不对。ZipArchive已经改名为SSZipArchive。

#xcode#macos#cocoapods
解决attempted to register plugin but it was already registered with this flutterengine

场景Flutter版本更新后,运行出现以下问题,App闪退。W/FlutterEngineCxnRegstry(10678): Attempted to register plugin (io.flutter.embedding.engine.plugins.shim.ShimPluginRegistry$ShimRegistrarAggregate@3777b26) but it was alr

#flutter#android
    共 43 条
  • 1
  • 2
  • 3
  • 4
  • 5
  • 请选择