logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

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的兼容性。

#android#gradle#flutter
Flutter中StatefulWidget的生命周期

摘要:Flutter中StatefulWidget的生命周期由关联的State对象管理,核心方法包括createState()、initState()、didChangeDependencies()、build()、didUpdateWidget()、setState()、deactivate()和dispose()。这些方法分别用于创建状态实例、初始化数据、响应依赖变化、构建UI、同步属性差异、

#flutter
IOS编译出现Command PhaseScriptExecution failed with a nonzero exit code

Command PhaseScriptExecution failed with a nonzero exit code

文章图片
#ios#xcode
解决Android、Flutter编译时Gradle报错:javax.net.ssl.SSLException: Connection reset

解决Exception in thread "main" javax.net.ssl.SSLException: Connection reset

#android#flutter#gradle
解决git clone提示You hasn‘t joined this enterprise

文章目录出现场景原因解决windowsmac出现场景拉gitee的私人仓库时出现以下错误adodeMacBook-Pro:flutter ado$ git clone https://gitee.com/xxx/xxx-project.gitCloning into 'uoffer-android'...remote: [session-57469386] You hasn't joined th

#git#github
gradle中namespace和applicationId的区别

摘要:Gradle文件中,namespace和applicationId是两个关键属性。namespace(AGP 7.0+引入)用于生成R类等资源的Java包名,影响代码结构;applicationId则是应用唯一标识,用于安装分发。二者通常一致,但可分离使用:代码重构时修改namespace,多渠道打包时调整applicationId。示例展示了基本配置,包括SDK版本、源码路径等核心参数。(

#android#gradle
解决Idea报错出现Git is not installed

有时候打开Idea或者Android Studio时,会出现以下错误提示,这是idea的bug,无法识别git。然后发现内置的git也不能识别项目的log信息了。打开设置,选择Version Control->Git点击Test如果git目录没错的话,点击test以后下面会出现Git版本的提示。如果不能正确显示git的版本,说明目录不对,手动选择正确的git目录即可。最后查看git的log,发现能

#git#intellij idea#android studio
解决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.

#flutter#android studio#cocoapods
Android、Flutter为不同的CPU架构包打包APK(v7a、v8a、x86)

默认情况下,Android和Flutter打包出来的Apk都是包含了所有架构的,这样打出来的apk体积相对于单架构的apk有点大。这时,我们就需要分别打出不同的架构包。架构一般来说,x86代表32位CPU,x64(或者叫x86-64)代表64位CPU。在Android中,支持专有cpu架构也是Application Binary Interface(ABI)。Android开发者官网文档中支持的A

#android#flutter#架构
    共 24 条
  • 1
  • 2
  • 3
  • 请选择