简体   繁体   English

FlashDevelop-Haxe尝试使用Android和Flash进行调试

[英]FlashDevelop - Haxe Trying to debug with Android and Flash

So I'm kind of new to Haxe I installed the setup and all the Android stuff (SDK,NDK,..) and it all ran fine with HTML5, Windows, and neko. 因此,我对Haxe还是陌生的,我安装了安装程序和所有Android设备(SDK,NDK等),并且在HTML5,Windows和neko上都运行良好。 However when I run with android I get "Error: Could not detect Android API platforms in "android/platforms". But I have couple of APIs in there so I don't understand what's going on. Here is a screenshot of my platforms folder (I used SDK Manager) 但是,当我使用android运行时,出现“错误:无法在“ android / platforms”中检测到Android API平台。但是我那里有几个API,所以我不知道发生了什么。这是我的platform文件夹的屏幕截图(我使用过SDK Manager)

在此处输入图片说明

Do I need my Android device to be plugged in? 我需要插入我的Android设备吗? If so how would FlashDevelop detect it. 如果是这样,FlashDevelop将如何检测到它。

Also, when I try and compile to flash I get an error: 另外,当我尝试编译为Flash时,出现错误:

在此处输入图片说明

Is there anything else I have to install to compile flash with Haxe? 要使用Haxe编译Flash,还需要安装其他工具吗?

You are missing flashplayer or you have not associated it with swf files. 您缺少Flash Player或尚未将其与SWF文件关联。 Goto https://www.adobe.com/support/flashplayer/downloads.html and dowload the appropiate flash debugger based on your system. 转到https://www.adobe.com/support/flashplayer/downloads.html并根据您的系统下载合适的Flash调试器。 Then associate .swf filetypes with it. 然后将.swf文件类型与其关联。

You can also use FlashDevelop's appman tool which does this in a very simple and automated way. 您还可以使用FlashDevelop的appman工具,该工具以非常简单和自动化的方式执行此操作。 Open it on FD menu, tools, install software and find the players at "runtimes" list. 在FD菜单,工具,安装软件上打开它,然后在“运行时”列表中找到播放器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM