首页 > 解决方案 > 如何为 64 位设备支持我的颤振应用程序?

问题描述

我是新来的。我已经创建了我的应用程序的一个发布版本。

此构建适用于 32 位设备,但不适用于 64 位设备。

请帮助我在哪里以及如何更改设置/配置。

标签: androidflutter

解决方案


You can configure your build.gradle app module like this -

// Your app's build.gradle
apply plugin: 'com.android.app'

android {
   compileSdkVersion 27
   defaultConfig {
       appId "com.google.example.64bit"
       minSdkVersion 15
       targetSdkVersion 28
       versionCode 1
       versionName "1.0"
       ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
// ...

推荐阅读