Robovm绑定导入问题 [英] Robovm bindings import issue

查看:140
本文介绍了Robovm绑定导入问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试导入RoboVM绑定以在我的项目中实现mopub,但是当我尝试构建模型时遇到了一个问题。我试图将其导入为一个gradle项目,但是当我构建它,我得到错误:

 运行可能的错误创建Gradle Model'

它说:

 找不到com.github.jtakakura:gradle-robovm-plugin:0.0.9-SNAPSHOT。
必需项:
:robovm-ios-bindings -master:unspecified
有关详细信息,请参阅错误日志

/ p>


FAILURE:Build failed with a exception。



出了什么问题: br>
配置根项目robovm-ios-bindings-master的问题
无法解析配置':classpath'的所有依赖项
找不到com.github.jtakakura :gradle-robovm-plugin:0.0.9-SNAPSHOT。
要求:
:robovm-ios-bindings-master:未指定



尝试:

使用--stacktrace选项运行以获取堆栈跟踪使用--info或--debug选项来获取更多的日志输出。


我甚至不知道如何运行stacktrace有没有人有任何洞察如何解决这个问题?

解决方案

找到了!我进入ios绑定文件夹,打开build.gradle,找到了0.0.9-SNAPSHOT的代码行。然后我去了github robovm,并在那里打开build.gradle。我看到它有0.0.10作为快照,所以我改为它。它现在可以工作,我觉得很灿烂。


I am trying to import the RoboVM bindings to implement mopub in my project, but I ran into a problem when I tried to "build model". I tried to import it as a gradle project, but when I build it I get the error:

"Error in runnable 'Creating Gradle Model'" 

And it says:

"could not find com.github.jtakakura:gradle-robovm-plugin:0.0.9-SNAPSHOT.
Required by:
:robovm-ios-bindings-master:unspecified
See error log for details"

in the error log it said

"FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring root project 'robovm-ios-bindings-master'. Could not resolve all dependencies for configuration ':classpath'. Could not find com.github.jtakakura:gradle-robovm-plugin:0.0.9-SNAPSHOT. Required by: :robovm-ios-bindings-master:unspecified

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output."

I am not even sure how to run with the stacktrace option, does anyone have any insight on how to solve this problem?

解决方案

Found it out! I went into the ios bindings folder, opened the build.gradle, and found the line of code that had the 0.0.9-SNAPSHOT. Then I went to the github for robovm, and opened the build.gradle there. I saw that it had 0.0.10 as the snapshot, so I changed it to that. It now works, and I feel pretty brilliant for that.

这篇关于Robovm绑定导入问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆