logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

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#架构
Flutter: Android SDK not found at this location,Android Studio not found at xxx

今天一个网友配置Flutter开发环境的时候,已经安装好了Android Studio,配置了Android的环境变量,然后使用flutter doctor一直提示以下错误。问题一:android sdk not found at this locationC:\users\lj> flutter doctor[√] Flutter (Channel stable, 2.0.3, on Mi

#android#android studio
解决IOS上架App Store后显示语言为英文的问题

IOS App在App Store中的语言显示为英文.

文章图片
#ios#xcode
RangeError (index): Invalid value: Valid value range is empty: 0

场景最近在学习flutter,运行时碰到了这个错误。I/flutter (25300): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════I/flutter (25300): The following RangeError was thro...

#flutter#android
Flutter使用Scaffold报错。

错误信息E/flutter ( 7426): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: Scaffold.of() called with a context that does not contain a Scaffold.E/flutter ( 7426): No Scaffold ancestor ..

#flutter
添加Flutter模块到已有项目(Android)

创建Flutter模块#进入指定目录$ cd#使用命令创建flutter模块,flutter_module是模块名$ flutter create -t module flutter_module主工程配置app的build.gradleandroid{......compileOptions {sourceCompatibility 1.8targetC...

【Android Studio】Suggestion: use tools:overrideLibrary="xxx.xxxx"

###错误场景在项目中,导入其他moule后,编译时提示以下错误。Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 16 declared in library [xxx.xxx]/xxx/xxx/AndroidManifest.xml 。Suggestion: use tools..

Android音频播放模式切换-外放、听筒、耳机

切换播放模式需要使用AudioManager.默认音频播放使用的是外放(扬声器)。AudioManager audioManager = (AudioManager)context.getSystemService(Context.AUDIO_SERVICE);切换到听筒audioManager.setMode(AudioManager.MODE_IN_CALL);audioMana...

RangeError (index): Invalid value: Valid value range is empty: 0

场景最近在学习flutter,运行时碰到了这个错误。I/flutter (25300): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════I/flutter (25300): The following RangeError was thro...

#flutter#android
gradle中namespace和applicationId的区别

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

#android#gradle
    共 36 条
  • 1
  • 2
  • 3
  • 4
  • 请选择