<legend id='gibHj'><style id='gibHj'><dir id='gibHj'><q id='gibHj'></q></dir></style></legend>
      <i id='gibHj'><tr id='gibHj'><dt id='gibHj'><q id='gibHj'><span id='gibHj'><b id='gibHj'><form id='gibHj'><ins id='gibHj'></ins><ul id='gibHj'></ul><sub id='gibHj'></sub></form><legend id='gibHj'></legend><bdo id='gibHj'><pre id='gibHj'><center id='gibHj'></center></pre></bdo></b><th id='gibHj'></th></span></q></dt></tr></i><div id='gibHj'><tfoot id='gibHj'></tfoot><dl id='gibHj'><fieldset id='gibHj'></fieldset></dl></div>
      • <bdo id='gibHj'></bdo><ul id='gibHj'></ul>

    1. <small id='gibHj'></small><noframes id='gibHj'>

        <tfoot id='gibHj'></tfoot>

        如何从我的 LIBGDX 游戏中制作可执行文件

        时间:2023-05-19

        1. <tfoot id='u7Ldv'></tfoot>

                <bdo id='u7Ldv'></bdo><ul id='u7Ldv'></ul>
                  <tbody id='u7Ldv'></tbody>

                <small id='u7Ldv'></small><noframes id='u7Ldv'>

                • <i id='u7Ldv'><tr id='u7Ldv'><dt id='u7Ldv'><q id='u7Ldv'><span id='u7Ldv'><b id='u7Ldv'><form id='u7Ldv'><ins id='u7Ldv'></ins><ul id='u7Ldv'></ul><sub id='u7Ldv'></sub></form><legend id='u7Ldv'></legend><bdo id='u7Ldv'><pre id='u7Ldv'><center id='u7Ldv'></center></pre></bdo></b><th id='u7Ldv'></th></span></q></dt></tr></i><div id='u7Ldv'><tfoot id='u7Ldv'></tfoot><dl id='u7Ldv'><fieldset id='u7Ldv'></fieldset></dl></div>
                  <legend id='u7Ldv'><style id='u7Ldv'><dir id='u7Ldv'><q id='u7Ldv'></q></dir></style></legend>
                  本文介绍了如何从我的 LIBGDX 游戏中制作可执行文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我以前从未将程序制作成可执行文件,而且我一直在研究如何做到这一点已经有一段时间了.当我尝试将其放入 jar 中时,一切正常,但是当我尝试运行它时,没有任何反应.

                  I've never made a program into an executable before, and I've been looking into how to do this for some time now. When I try to put it into a jar everything works fine but when I try to run it nothing happens.

                  如何将我的游戏制作成可执行文件以便它可以运行(在 Windows 上,而不是在 android 上)我觉得我没有将它链接到图书馆或其他东西......不确定.谢谢!

                  How do I make my game into an executable so it can be run (on windows, not android) I feel like I am not Linking it to the libraries or something... Not sure. Thanks!

                  我应该补充一下,我得到了错误

                  I should add I get the error

                  JAR export finished with warnings. See details for additional information. 
                  duplicate entry: com/badlogic/gdx/utils/arial-15.fnt 
                  duplicate entry: com/badlogic/gdx/utils/arial-15.fnt 
                  duplicate entry: com/badlogic/gdx/utils/arial-15.png 
                  duplicate entry: com/badlogic/gdx/utils/arial-15.png 
                  Jar export finished with problems. 
                  See details for additional information. 
                  

                  推荐答案

                  您的问题是,当您使用 eclipse export as Executable jar 文件时,它不包含您在 gdx 中使用的资产(图形、声音...)项目.您可以手动执行的操作是将您的资产文件夹复制到生成的 jar 文件旁边,或者使用您最喜欢的 zip 管理工具将您的资产文件夹包含在您的 jar 文件中.

                  Your problem is that when you use eclipse export as Executable jar file it does not include the assets (graphical, sounds ...) that you used in your gdx project. What you can do manually is either copy your assets folder right next to the generated jar file or include your assets folder in your jar file with your favorite zip management tool.

                  另一种方法是使用相同的 eclipse 导出向导并选中另存为 ANT 脚本",然后编辑生成的 ant 文件以包含您的应用所需的所有文件和文件夹.

                  Another way would be to use this same eclipse export wizard and check "Save as ANT script" and then edit the generated ant file to include all the files and folders needed by your app.

                  希望对你有帮助

                  这篇关于如何从我的 LIBGDX 游戏中制作可执行文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:libGDX 项目无法加载库 liblwjgl.dylib 下一篇:将 Admob 添加到 Libgdx 游戏

                  相关文章

                  最新文章

                  <small id='1BL5J'></small><noframes id='1BL5J'>

                  • <bdo id='1BL5J'></bdo><ul id='1BL5J'></ul>
                  <legend id='1BL5J'><style id='1BL5J'><dir id='1BL5J'><q id='1BL5J'></q></dir></style></legend>

                • <i id='1BL5J'><tr id='1BL5J'><dt id='1BL5J'><q id='1BL5J'><span id='1BL5J'><b id='1BL5J'><form id='1BL5J'><ins id='1BL5J'></ins><ul id='1BL5J'></ul><sub id='1BL5J'></sub></form><legend id='1BL5J'></legend><bdo id='1BL5J'><pre id='1BL5J'><center id='1BL5J'></center></pre></bdo></b><th id='1BL5J'></th></span></q></dt></tr></i><div id='1BL5J'><tfoot id='1BL5J'></tfoot><dl id='1BL5J'><fieldset id='1BL5J'></fieldset></dl></div>

                      <tfoot id='1BL5J'></tfoot>