【问题标题】:cant compile apk using Game Maker Studio无法使用 Game Maker Studio 编译 apk
【发布时间】:2016-08-08 20:37:55
【问题描述】:

我刚刚使用 android SDK 管理器更新了构建工具。

现在我无法使用游戏制作工作室编译 apk。

这是控制台的错误输出。

我认为除了 Windows 更新之外我没有更改任何内容。我有 Windows 10、64 位

Stats : GMA : Elapsed=6821.0873
Stats : GMA : sp=32,au=0,bk=3,pt=0,sc=11,sh=0,fo=4,tl=0,ob=41,ro=3,da=0,ex=1,ma=29,fm=0x49E50A39
cmd /c ""C:\Users\pc\AppData\Roaming\GameMaker-Studio\Android\runner\gradle\gradlew"" build -x assembleDebug

:com.mysite.myapp:preBuild UP-TO-DATE
:com.mysite.myapp:preReleaseBuild UP-TO-DATE
:com.mysite.myapp:checkReleaseManifest
:com.mysite.myapp:preDebugBuild UP-TO-DATE
:com.mysite.myapp:prepareComAndroidSupportMultidex101Library
:com.mysite.myapp:prepareComAndroidSupportSupportV42311Library
:com.mysite.myapp:prepareReleaseDependencies
:com.mysite.myapp:compileReleaseAidl
:com.mysite.myapp:compileReleaseRenderscript
:com.mysite.myapp:generateReleaseBuildConfig
:com.mysite.myapp:generateReleaseAssets UP-TO-DATE
:com.mysite.myapp:mergeReleaseAssets
:com.mysite.myapp:generateReleaseResValues
:com.mysite.myapp:generateReleaseResources
:com.mysite.myapp:mergeReleaseResources
:com.mysite.myapp:processArmeabi-v7aReleaseManifest
Warning: C:\Users\pc\Documents\GameMaker\Cache\MobiPC_App\Android\Default\com.mysite.myapp\src\main\AndroidManifest.xml:28:3-182:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:28 to replace other declarations but no other declaration present
Warning: C:\Users\pc\Documents\GameMaker\Cache\MobiPC_App\Android\Default\com.mysite.myapp\src\main\AndroidManifest.xml:29:5-35:16 Warning:
    activity#com.mysite.myapp.RunnerActivity@android:label was tagged at AndroidManifest.xml:29 to replace other declarations but no other declaration present
C:\Users\pc\Documents\GameMaker\Cache\MobiPC_App\Android\Default\com.mysite.myapp\src\main\AndroidManifest.xml:28:3-182:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:28 to replace other declarations but no other declaration present
C:\Users\pc\Documents\GameMaker\Cache\MobiPC_App\Android\Default\com.mysite.myapp\src\main\AndroidManifest.xml:29:5-35:16 Warning:
    activity#com.mysite.myapp.RunnerActivity@android:label was tagged at AndroidManifest.xml:29 to replace other declarations but no other declaration present
:com.mysite.myapp:processArmeabi-v7aReleaseResourcesC:\Users\pc\Documents\GameMaker\Cache\MobiPC_App\Android\Default\com.mysite.myapp\build\intermediates\manifests\full\armeabi-v7a\release\AndroidManifest.xml:78:28-65 : No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version').

 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':com.mysite.myapp:processArmeabi-v7aReleaseResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'F:\Android\android-sdk\build-tools\23.0.1\aapt.exe'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 12.612 secs
Create finished: 01:33:39

【问题讨论】:

    标签: android build compilation


    【解决方案1】:

    我将构建工具版本设置为最新版本。 在首选项中,我将缓存路径设置为较短的

    我还卸载了一个名为“APPODEAL”的扩展程序,我认为这也引起了问题。

    现在我设法编译了 apk

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-04-06
      • 2020-07-04
      • 1970-01-01
      • 1970-01-01
      • 2019-08-06
      • 1970-01-01
      • 2020-09-15
      相关资源
      最近更新 更多