- 博客(189)
- 资源 (1)
- 收藏
- 关注
原创 Flutter运行Android出现Failed to transform armeabi_v7a_release-1.0.0 > Java heap space
Flutter项目更新SDK后出现编译错误"Java heap space",原因是Gradle构建时内存不足。解决方法:修改Android目录下的gradle.properties文件,将org.gradle.jvmargs参数值从默认的1536M调整为2048M或更大,以增加Java堆内存空间。修改后重新运行项目即可解决该问题。
2025-11-21 15:12:59
181
原创 Xcode垃圾清理
Xcode缓存清理指南:四个可删除的目录 模拟器目录(~/Library/Developer/CoreSimulator)可完整删除或仅清理devices子目录 真机调试文件(iOS DeviceSupport)删除后连接设备会重新生成 打包归档(Archives)可选择性清理,注意保留必要版本记录 项目缓存(DerivedData)可删除但会导致重新编译变慢,建议选择性清理 注:所有操作均不会影响基础功能,删除后相关文件会在需要时重新生成。
2025-10-28 15:44:24
333
原创 解决Flutter运行android提示Deprecated imperative apply of Flutter‘s Gradle plugins
打开android目录下的,以键值对的形式添加库变量#库变量这样配置后,在gradle文件中引用的方式和以前不变.
2025-07-18 11:39:16
641
原创 gradle中namespace和applicationId的区别
摘要:Gradle文件中,namespace和applicationId是两个关键属性。namespace(AGP 7.0+引入)用于生成R类等资源的Java包名,影响代码结构;applicationId则是应用唯一标识,用于安装分发。二者通常一致,但可分离使用:代码重构时修改namespace,多渠道打包时调整applicationId。示例展示了基本配置,包括SDK版本、源码路径等核心参数。(149字)
2025-07-11 17:17:50
395
原创 Android更新complie sdk到35出现RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data
摘要 在Android开发中,当将compileSdkVersion升级到35后,编译时出现资源链接失败错误,提示无法加载android-35平台的资源文件。主要原因是Android Gradle插件(AGP)版本过低,与高版本SDK不兼容。解决方案是使用AGP升级助手将插件版本更新至8.1以上,以确保与Android 35 SDK的兼容性。
2025-07-03 16:38:40
2166
原创 Flutter打包IOS上传提示The archive did not include a dSYM for the Flutter.framework with the UUIDs
The archive did not include a dSYM for the Flutter.framework with the UUIDs.
2025-05-26 14:11:29
2262
2
原创 [Compose]子组件匹配Row和Column的宽高达到Android中xml的match_parent效果
在Android中,如果想让组件和父组件的宽高保持一致,使用即可。
2024-09-30 17:07:51
732
原创 解决Xcode15报错:DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS
DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead
2024-08-08 16:40:20
1170
原创 M芯片的Mac使用AE导出透明背景视频
为了方便,可以在输出模块后面的箭头里面选择自定义模板,方便下次选择。打开渲染设置,在输出设置中,格式选择QuickTime,通道选择为RGB+Alpha。
2024-06-08 19:43:34
748
原创 解决AGP升级到8.0后编译报错kaptGenerateStubsDebugKotlin
升级了Gradle插件到8.0,报错kaptGenerateStubsDebugKotlin.
2024-04-17 11:29:20
3263
原创 解决Xcode报错Stored properties cannot be marked unavailable with ‘@available‘
Stored properties cannot be marked unavailable with '@available'
2024-01-24 15:09:40
1955
原创 IOS编译出现Command PhaseScriptExecution failed with a nonzero exit code
Command PhaseScriptExecution failed with a nonzero exit code
2024-01-24 14:58:45
2248
原创 解决Android编译报错:Unable to make field private final java.lang.String java.io.File.path accessible
从网上的下载的一个老Android项目,编译时报以下错误。
2024-01-23 11:32:06
6319
4
原创 【Xcode】解决Unable to process request - PLA Update available
IOS更新app时,使用Xcode上传新版本的包时,提示无法上传。
2023-12-22 10:44:12
7558
1
原创 解决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
4726
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
6170
原创 解决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
1437
原创 解决Gitee或者Github出现Access denied fatal: unable to access,The requested URL returned error: 403
要把某个项目push到码云上,已经设置了仓库地址,在最后一步直接报错。
2023-08-03 10:36:44
5289
原创 解決Android报错:Could not initialize class org.codehaus.groovy.reflection.ReflectionCache
新电脑打开一个Android老项目,报以下错误根据报错信息来看,包名大部分是是com.gradle,猜测是和gradle版本有关,所以我们升级gradle版本。
2023-06-05 15:02:21
7383
2
原创 解决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
1493
原创 解決pod install报错:unable to access: LibreSSL SSL_read: error:Operation timed out, errno 60
pod install下载失败时,如何解决.
2023-06-05 09:59:27
1338
原创 解决Xcode运行IOS报错:redefinition of module ‘Firebase‘和could not build module ‘CoreFoundation‘
出现Error (Xcode): could not build module 'CoreFoundation'错误时的解决办法
2023-05-09 14:53:49
2801
原创 消除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
4900
原创 解决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
2561
原创 Flutter之ExpansionTile实现以代码方式码折叠、展开
Flutter自带的`ExpansionTile`只能通过点击标题触发展开和折叠,有时候我们想要以代码的方式控制,那满足不了我们的需求。我们只能修改源码。
2023-03-28 16:33:55
1566
原创 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
1453
原创 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
4900
原创 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
2080
原创 解决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
4194
原创 Android编译打包报错Invalid keystore format
debug.keystore是Android项目自动生成的keystore,用于给测试阶段的app签名。如果出现问题,重新生成一个即可。
2022-09-14 13:54:56
11087
3
原创 解决升级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
4082
2
原创 App上架Apple App Store和Google Play流程
App上架Apple App Store和Google Play的详细流程
2022-08-22 10:22:52
2748
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
3180
VB6.0绿色精简版
2009-05-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅