我的应用正在针对Android而不是针对IO进行编译
iOS Build Error Thu Dec 20 2018 21:46:07 GMT-0600 (Central Standard Time)
Android Successful build - 'AppCliente' Took - 0:58 At - 21:47 Dec 20th 2018
iOS Build Error Thu Dec 20 2018 21:49:24 GMT-0600 (Central Standard Time)
似乎我有某种令人反感的图片
Process return code is 0
Exception: java.lang.IllegalArgumentException: Unknown image type 0
java.awt.image.BufferedImage.<init>(BufferedImage.java:501)
com.codename1.build.daemon.Executor.getScaledInstance(Executor.java:1630)
com.codename1.build.daemon.Executor.createIconFile(Executor.java:934)
com.codename1.build.daemon.IPhoneBuilder.generateIcons(IPhoneBuilder.java:3957)
com.codename1.build.daemon.IPhoneBuilder.build(IPhoneBuilder.java:1246)
com.codename1.build.daemon.Executor$5.run(Executor.java:847)
我如何找出问题的根源?
谢谢!
答案 0 :(得分:0)
您用不是标准512x512 PNG文件的图像文件替换了图标。
答案 1 :(得分:0)
问题似乎出在图标中启用了透明度位。我设置了整个背景(并将图标切换为32位),并且可以正常工作。