【问题标题】:Gamemaker 1.4 android build.gradle editGamemaker 1.4 android build.gradle 编辑
【发布时间】:2020-10-02 21:26:20
【问题描述】:

我花了很多时间制作我的安卓游戏,但现在我遇到了问题。 由于 64 requipment,我无法将其上传到 playstore。我已阅读我可以将此行添加到 build.gradle

ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'

你能帮我把它添加到 gradle.build 吗? 我在 Roaming\GameMaker-Studio\Android\runner\RootFiles 中找到了该文件 这是文件的内容。

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    repositories {
        jcenter()
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.2.0+'

    }
}

    repositories {
        jcenter()
        maven {
            url "https://maven.google.com"
        }
    }

我不确定这是否是正确的文件,尝试添加此行 bud 在编译时出错。 或者,也许您知道执行此操作的不同方法。 我正在使用 GMS 1.4

【问题讨论】:

    标签: game-maker


    【解决方案1】:

    我一直在检查使 1.4 生成 64 位兼容 apk 文件的不同方法,但即使您实现添加 arm-v8a 和 x86_64 以便 Gradle 尝试生成它,它仍然需要 libyoyo.so(也许其他)为您的每个新 abis 兼容的文件,以制作 64 位 android 兼容的 apk。 获取这些文件的唯一方法是获取源代码并为每个所需的 64 位 abis 进行交叉编译。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-07-10
      • 2023-03-20
      • 2016-10-22
      • 1970-01-01
      • 2023-03-15
      • 2022-08-08
      • 1970-01-01
      • 2015-02-11
      相关资源
      最近更新 更多