Robovm bindings import issue

时间秒杀一切 提交于 2019-12-11 10:05:16

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/23862504/robovm-bindings-import-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!