对于我游戏中的菜单,我将它们绘制到屏幕上一次,然后只在它们被认为是脏的情况下才重新绘制。这是通过设置为true的布尔值来处理的,只要用户执行了应该导致重绘的操作,然后绘制循环将在绘制菜单之前检查该值。这一逻辑在3.1版本中运行良好,但在4.0版本中,菜单将闪烁(绘制1帧),然后显示紫色屏幕,直到再次绘制。
我已经在4.0中创建了一个非常简单的测试游戏来演示如下所示的问题。你会注意到屏幕看起来是紫色的。如果删除将_isDirty设置为false的行,您将看到矢车菊蓝色背景。
public class Game1 : Microsoft.Xna.Framework.Game
{
Graph
当运行桌面是一切都是绿灯-好的。但是运行androidinstall,在applyRetrolambda进程中增加错误。下面的错误消息:
org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_131\bin\java.exe'' finished with non-zero exit value 1
at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.asse
我在Intellij上遇到了Gluon的问题,我在Android SDK管理器中安装了所有的软件包。并在我的Gluon项目build.gradle中链接了android SDK路径。
但是我总是抛出这个错误:
FAILURE: Build failed with an exception.
* What went wrong:
You must install the Android Support Repository. Open the Android SDK Manager and choose the Android Support Repository from the Extra
当我试图在设备/模拟器上执行胶子应用程序时,这个问题与我的iOS有关。它看起来一点用也没有。它显示了以下错误:
launchIPadSimulator:It错误Unable to find a matching device [arch=x86_64, family=iPhone, name=null, sdk=null]
编辑的
launchIOSDevice:It错误No provisioning profile and signing identity found that matches bundle ID
我还检查了,但这对我没有帮助。所以问题是如何让它发挥作