Game Maker构建Android应用程序失败返回null:1

Game Maker构建Android应用程序失败返回null:1,android,proguard,game-maker,Android,Proguard,Game Maker,我尝试使用Game Maker:Studio创建Android应用程序,但不断出现以下错误: release: -code-gen: [mergemanifest] Merging AndroidManifest files into one. [mergemanifest] Manifest merger disabled. Using project manifest only. [echo] Handling aidl files... [aidl] Found 1

我尝试使用Game Maker:Studio创建Android应用程序,但不断出现以下错误:

release:

-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] Found 1 AIDL files.
     [aidl] Compiling 1 AIDL files.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Generating resource IDs...
     [aapt] C:\Users\Carl\AppData\Local\Temp\gm_ttt_59755\gm_ttt_2511\res\values\strings.xml:29: error: Found text " ${YYAndroidStringValues}
     [aapt] " where item tag is expected

BUILD FAILED
C:\Users\Carl\Documents\Programs\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml:653: The following error occurred while executing this line:
C:\Users\Carl\Documents\Programs\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml:698: null returned: 1
我有最新版本的安卓APK。第698行唯一的内容是
proguardFile=“${out.absolute.dir}/proguard.txt”>
(这是我在计算机上根本找不到的文件)。
有人知道这个问题的解决办法吗


提前谢谢。

我这里也有同样的问题

问题出在AndroidManifest.xml文件中。执行此测试:

  • 打开AndroidManifest.xml
  • 将代码粘贴到上面。这是一个干净有效的Android清单文件

    <?xml version='1.0' encoding='utf-8'?>
    <manifest android:hardwareAccelerated="true" android:versionCode="1" android:versionName="1.0.0" android:windowSoftInputMode="adjustPan" package="helloWorld" xmlns:android="http://schemas.android.com/apk/res/android">
        <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
        <uses-permission android:name="android.permission.INTERNET" />
        <application android:debuggable="true" android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name">
            <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/app_name" android:name="HelloWorld" android:theme="@android:style/Theme.Black.NoTitleBar">
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>
        </application>
        <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="19" />
    </manifest>
    
    
    
  • 并将“package=“helloWorld”更改为包的名称
  • 尝试构建。如果构建成功,您的AndroidManifest有一些无效指令,您需要逐一验证

    在我的例子中,我在
    android:theme=“@android:style/theme.Holo.White.NoTitleBar”
    指令中发现了错误。我更改为
    android:theme=“@android:style/theme.Black.NoTitleBar”
    ,它可以正常工作