Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行出错了 #6

Closed
dongkuo opened this issue Feb 18, 2017 · 7 comments
Closed

运行出错了 #6

dongkuo opened this issue Feb 18, 2017 · 7 comments
Assignees
Labels

Comments

@dongkuo
Copy link

dongkuo commented Feb 18, 2017

不懂Kotlin,跑test的时候出现了2个问题:一个是AudioManager.kt的13行和16行编译出错,提示说要在async后加(),加上后编译OK,是Kotlin版本问题???二是运行后抛出空指针异常,原因是Game.kt的404行中的panel为空,看panel是在172行初始化的,debug发现压根就没执行这句话,啥情况???

@ice1000
Copy link
Collaborator

ice1000 commented Feb 18, 2017

好的,反馈已收到,我会去看的。大概一周内可以看到修复(如果问题仅仅是出于我傻逼的话)。
先感谢反馈。

@ice1000
Copy link
Collaborator

ice1000 commented Feb 19, 2017

Kotlin版本是个问题,因为我在用Kotlin1.1,我这就改成1.0.7先。
修复问题之后就会close issue,到时候你可以pull。

ice1000 added a commit that referenced this issue Feb 19, 2017
@ice1000
Copy link
Collaborator

ice1000 commented Feb 19, 2017

似乎好了?我这里运行都没问题。我运行了 test/Test2.kt 。
然后我按你说的,async 加了括号,然后改了一下 setBounds 的重载(就是把之前的重载去掉了,避免在初始化之前GG)。现在不知道行不行了。

@ice1000
Copy link
Collaborator

ice1000 commented Feb 19, 2017

如果您pull了最近的commit之后还有问题,请等我下周五以后再来修复。。。(学生党对不起啦)

@dongkuo
Copy link
Author

dongkuo commented Feb 19, 2017

行,可以了。另外有些demo有问题,你对Game做修改了而demo没跟着修改。PS:弱弱地问一下,你大几???

@ice1000
Copy link
Collaborator

ice1000 commented Feb 19, 2017

应该是,那你看着弄嘛,早期Demo有些在使用旧API,你可以考虑删除,或者看java doc来使用新API(Frice is well documented!

@ice1000 ice1000 closed this as completed Feb 19, 2017
@ice1000 ice1000 added the bug label Nov 29, 2017
@ice1000 ice1000 self-assigned this Nov 29, 2017
@ice1000
Copy link
Collaborator

ice1000 commented Dec 18, 2017

文档: https://icela.github.io
(方便后来人看)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants