- 博客(179)
- 资源 (1)
- 收藏
- 关注
原创 解决AGP升级到8.0后编译报错kaptGenerateStubsDebugKotlin
升级了Gradle插件到8.0,报错kaptGenerateStubsDebugKotlin.
2024-04-17 11:29:20 235
原创 解决Xcode报错Stored properties cannot be marked unavailable with ‘@available‘
Stored properties cannot be marked unavailable with '@available'
2024-01-24 15:09:40 981
原创 IOS编译出现Command PhaseScriptExecution failed with a nonzero exit code
Command PhaseScriptExecution failed with a nonzero exit code
2024-01-24 14:58:45 572 1
原创 解决Android编译报错:Unable to make field private final java.lang.String java.io.File.path accessible
从网上的下载的一个老Android项目,编译时报以下错误。
2024-01-23 11:32:06 1128
原创 【Xcode】解决Unable to process request - PLA Update available
IOS更新app时,使用Xcode上传新版本的包时,提示无法上传。
2023-12-22 10:44:12 2679
原创 解决App Store上架提示您必须上传 12.9 英寸 iPad Pro(第 2 代)显示屏的截屏
您必须上传 12.9 英寸 iPad Pro(第 2 代)显示屏的截屏。(2048,2732)您必须上传 12.9 英寸 iPad Pro(第 3 代)显示屏的截屏。(2048,2732)
2023-12-15 17:17:14 1083 1
原创 解决Flutter运行报错Could not run build/ios/iphoneos/Runner.app
Could not run build/ios/iphoneos/Runner.app on Try launching Xcode and selecting "Product > Run" to fix the problem
2023-12-01 16:31:08 2400
原创 解决Flutter报错boxconstraints has non-normalized height/width constraints
BoxConstraints has non-normalized height constraints.The offending constraints were: BoxConstraints(0.0
2023-12-01 11:23:09 769
原创 解决Gitee或者Github出现Access denied fatal: unable to access,The requested URL returned error: 403
要把某个项目push到码云上,已经设置了仓库地址,在最后一步直接报错。
2023-08-03 10:36:44 1918
原创 解決Android报错:Could not initialize class org.codehaus.groovy.reflection.ReflectionCache
新电脑打开一个Android老项目,报以下错误根据报错信息来看,包名大部分是是com.gradle,猜测是和gradle版本有关,所以我们升级gradle版本。
2023-06-05 15:02:21 3961
原创 解决Error (Xcode): File not found:XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a
老项目在最新的Xcode14.3运行报以下错误。根据网上的资料,这是由于 Xcode14只支持构建ios11.0及以上的版本。libarclite对于老的版本才需要,在IOS11以上被废弃了。所以我们要确保所有的库的构建目标都要在11.0以上。
2023-06-05 12:11:08 1179
原创 解決pod install报错:unable to access: LibreSSL SSL_read: error:Operation timed out, errno 60
pod install下载失败时,如何解决.
2023-06-05 09:59:27 928
原创 解决Xcode运行IOS报错:redefinition of module ‘Firebase‘和could not build module ‘CoreFoundation‘
出现Error (Xcode): could not build module 'CoreFoundation'错误时的解决办法
2023-05-09 14:53:49 1405
原创 消除Flutter doctor的警告Warning: `dart` on your path resolves to xxx/bin/dart
Warning: `dart` on your path resolves to /usr/local/Cellar/dart/2.13.3/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/flutter/to/path. Consider adding /Users/flutter/to/path to the front of your path
2023-05-05 09:24:19 2844 1
原创 解决Flutter报错The method ‘File.create‘ has fewer named arguments than those of overridden method
Flutter SDK更新到3.7.9,可能会遇到file库的依赖冲突。
2023-04-06 14:16:01 2028
原创 Flutter之ExpansionTile实现以代码方式码折叠、展开
Flutter自带的`ExpansionTile`只能通过点击标题触发展开和折叠,有时候我们想要以代码的方式控制,那满足不了我们的需求。我们只能修改源码。
2023-03-28 16:33:55 960
原创 Flutter run出现No Provisioning Profile was found for your project‘s Bundle Identifier or your device
Flutter运行ios时,出现错误No Provisioning Profile was found for your project's Bundle Identifier or your device
2023-03-07 14:35:22 940
原创 Dart或Flutter中解决异常-type ‘int‘ is not a subtype of type ‘double‘
在Dart中,int和double是需要显示转换的,不然会出现异常:type 'int' is not a subtype of type 'double'
2022-11-25 15:34:38 3101
原创 Flutter-解决Try catch出现异常:type ‘_TypeError‘ is not a subtype of type ‘Exception‘ in type cast
在Dart或者Flutter中,捕获异常的类型是dynamic,所以可能存在类型转换异常,Unhandled Exception: type '_TypeError' is not a subtype of type 'Exception' in type cast。
2022-11-25 14:35:39 1650
原创 解决Android、Flutter编译时Gradle报错:javax.net.ssl.SSLException: Connection reset
解决Exception in thread "main" javax.net.ssl.SSLException: Connection reset
2022-11-17 12:19:55 2541
原创 Android编译打包报错Invalid keystore format
debug.keystore是Android项目自动生成的keystore,用于给测试阶段的app签名。如果出现问题,重新生成一个即可。
2022-09-14 13:54:56 8669
原创 解决升级Flutter3.0后出现警告Operand of null-aware operation ‘!‘ has type ‘WidgetsBinding‘ which excludes null
更新到Flutter 3.0之后,如果用到了WidgetsBindind.instance,可能会报warning
2022-08-22 15:14:11 3761 2
原创 App上架Apple App Store和Google Play流程
App上架Apple App Store和Google Play的详细流程
2022-08-22 10:22:52 1721 3
原创 解决Flutter上架Google Play提示Version code 1 has already been used. Try another version code.
Flutter打包aab或者apk,versionCode必须比上一次的大,否则会提示Version code 1 has already been used. Try another version code.
2022-08-18 17:18:17 1907
原创 Flutter和Android中覆盖gradle中的repositories仓库地址
Android项目中都会用到三方依赖,但是从2022开始,jcenter仓库已经被废弃,如果新项目引用了一些老的三方库,库中如果还是使用jcenter解决依赖的话,就可能在运行或者编译时出现从jcenter下载依赖失败的情况。......
2022-08-10 17:32:06 7827
原创 解决Idea报错出现Git is not installed
有时候打开Idea或者Android Studio时,会出现以下错误提示,这是idea的bug,无法识别git。然后发现内置的git也不能识别项目的log信息了。打开设置,选择Version Control->Git点击Test如果git目录没错的话,点击test以后下面会出现Git版本的提示。如果不能正确显示git的版本,说明目录不对,手动选择正确的git目录即可。最后查看git的log,发现能正常显示了,同时也能正常pull和push了。...
2022-07-11 17:09:09 29496
原创 解决Cocoapods重装或更新后版本不生效的问题
有时候在运行时,会出现以下提示使用重新安装后,发现版本依然没改变。解决方案方法1如果使用的是安装的,后面加上参数,覆盖安装。运行也不会出现错误了。如果使用的是更新的cocoapods,需要使用以下命令覆盖。......
2022-07-08 03:48:22 2907
原创 解决pod install报错:ffi is an incompatible architecture
最近公司换了M1的macbookpro,安装完IOS环境后,在项目中运行出现以后错误解决方案看错误提示,因为Cocoapod依赖了包,包的架构不兼容导致的。因为从m1开始,macbook采用的是ARM架构的cpu,和以前的x86架构的软件不兼容,我们只需要将ffi转换为兼容arm架构的包即可。运行以下2条命令......
2022-07-06 11:35:43 1453
原创 Android编译出现Warning: Mapping new ns to old ns的解决方案
Android项目编译时出现警告Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
2022-06-16 16:51:38 25262 11
原创 解决Android Studio中Flutter点击run出现CocoaPods not installed. Skipping pod install.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side. Without CocoaPods, plugins will not work on iOS or macOS.
2022-06-02 03:07:51 5586 3
原创 解决CocoaPods installed but it is not working
You appear to have CocoaPods installed but it is not working. This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
2022-06-02 02:48:25 4082
VB6.0绿色精简版
2009-05-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人