如何安装早期版本的robovm eclipse插件? [英] How to install earlier version of robovm eclipse plugin?

查看:209
本文介绍了如何安装早期版本的robovm eclipse插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用libgdx进行游戏项目.我的开发环境如下:

I have been working on a game project using libgdx. My dev environment is as follows:

操作系统: Mac OSX 10.10.3

OS: Mac OSX 10.10.3

IDE: 弹簧工具套件 版本:3.6.4.RELEASE 建立编号:201503100339 平台:Eclipse Luna SR1(4.4.2)

IDE: Spring Tool Suite Version: 3.6.4.RELEASE Build Id: 201503100339 Platform: Eclipse Luna SR1 (4.4.2)

使用 Robovm eclipse插件.

With Robovm eclipse plugin.

ibgdx版本: 1.4.1

我在整个开发过程中都进行了自动更新",并且一直有效到2015年4月(我认为直到robovm 1.2发行为止或多或少).

I have had "auto updates on" through out my development process and it worked well until April 2015 (more or less until robovm 1.2 release I think).

我能够制作临时发行版,并让测试人员在15年4月之前通过installrapp.com安装该应用程序.我需要在这个项目上休息一下,以做其他事情.一周前,当我回到该版本发布游戏时,出现了robovm更新,然后事情开始崩溃. Robovm的版本提高到1.3,这导致了源代码中的编译错误.我尝试将libgdx升级到1.6.2,但它根本没有帮助.我几乎处于发布阶段,我根本不想处理代码更改,也不想耗尽我的测试人员.

I was able to produce ad-hoc releases and get my testers install the app via installrapp.com before April'15. I needed to take a break from this project to work on something else for a while.When I came back to it a week ago to make a release of the game, there was a robovm update and things started to fall apart afterwards. Robovm got bumped up to 1.3, which caused compilation errors in source code. I tried o upgrade libgdx to 1.6.2 but it didn't help at all. I am almost at release phase and I do NOT want to deal with code changes at all, not to exhaust my testers.

我从以前的备份中恢复了我的project + eclipse安装.但不幸的是,我备份中的robovm插件版本是1.2.测试人员说,尽管我可以使用它生成IPA,但它在启动屏幕后立即崩溃.

I restored my project+eclipse installation from an earlier backup I have. But unfortunately, robovm plugin version in my backup is 1.2. Although I can produce IPAs using it, my testers say, app crashes right after splash screen.

尽管我已经看到这篇文章,认为robovm 1.2插件是我的案子.

Although I have seen this post, I think robovm 1.2 plugin is the suspect for my case.

我期待做的是找到一种重新安装robovm 1.0.0插件的方法.我在此处找到了它的源代码.

What I am looking forward to do is to find a way to re-install robovm 1.0.0 plugin. I found the source code of it here.

但是我不知道如何构建它.

But I don't know how to build it.

我在任何地方都找不到可用的插件二进制版本.不幸的是,当我尝试在eclipse中安装它时,只有最新版本的插件可用.

I could not find binary version of plugin available anywhere. When I tried to install it within eclipse, unfortunately only the latest version of the plugin is available.

如何降级robovm eclipse插件?

How could I downgrade robovm eclipse plugin ?

任何帮助将不胜感激.

Any help would be appreciated.

编辑

我注意到robovm生成的IPA在IOS 7.1.2上有效,但在IOS 8.3上无效.

I noticed that IPAs generated by robovm work on IOS 7.1.2 but not on IOS 8.3 .

推荐答案

当我深入研究时,发现了一些东西.我将在这里分享我的发现,以便也许其他人可以从中受益.

As I dug more around, I found some stuff. I am going to share my findings here so that, perhaps, someone else can benefit from.

首先,可以在此处中找到旧版本的robovm插件.

First of all, older binary versions of robovm plugin could be found here.

只需下载所需的版本,将其取消存档(如有必要),然后通过本地资源将其添加到您的eclipse中.我设法安装了robovm.1.0.0.

Just download the required version, unarchive it (if necessary) and add it to your eclipse via a local resource. I managed to install robovm.1.0.0.

但是它对我的情况没有帮助.但是,当我在各处闲逛时,我注意到IPA在IOS 7.1.2上工作,但在IOS 8.3上崩溃.

However it did NOT help my case. But while I was poking here and there, I have noticed that IPAs work on IOS 7.1.2 but crash on IOS 8.3.

这使我认为IOS 8.3具有一些技巧(与往常一样),并且需要新版本的robovm才能使应用程序在该平台上运行. 此处的帖子证明了这一理论.

This made me think that IOS 8.3 has some tricks (as usual) and newer version of robovm is required to make apps working on that platform. This posting here proves that theory.

对我而言,这意味着我需要更新robovm才能使我的应用程序在IOS 8.3上运行.为了使robovm使用libgdx等,我还需要更新其他工具(在此处),并可能解决编译错误.

What it means for me is the fact that I need to update robovm to get my app working on IOS 8.3. In order to get robovm working with libgdx etc, I also need to update bunch of other tools (find versions of tools here) and possibly tackle compilation errors.

我不确定这些方法是否可以解决我所面临的问题.当他们处理完后,我将在这里更新.

I am not sure if these will fix the problems I am facing with. I will update here when I am done with them.

__ UPDATE __

大惊小怪并努力使所有内容保持最新状态之后,我决定从头开始.这是我所做的:

After fussing and fighting with trying to get everything up-to-date, I decided to start from scratch instead. Here is what I have done:

  • 我得到了最新的STS捆绑包
  • 我在上面添加了gradle
  • 为Eclipse添加了android SDK插件
  • 添加了Robovm最新插件
  • 我下载了最新的libgdx安装程序
  • 使用GUI实用程序创建了一个新项目
  • 创建了Android和IOS项目.
  • 确认IOS项目可以在IOS8& IOS7.
  • 确认android项目可以正常运行
  • 我将代码迁移到了新项目中.
  • 确认IOS专案可同时在IOS7及以上版本中使用. iOS8(模拟器和设备)
  • Android项目可在设备上运行
  • I got the lastest STS bundle
  • I added graddle on top of it
  • Added android SDK plugin for eclipse
  • Added Robovm latest plugin
  • I downloaded the latest libgdx installer
  • Craeted a new project using GUI utility
  • Created Android and IOS projects.
  • Confirmed that IOS project works fine on IOS8 & IOS7.
  • Confirmed that android project works fine
  • I migrated my code over to new project.
  • Confirmed that IOS project works on both IOS7 & IOS8 (both simulator and device)
  • Android project works on device

这是一个有点笨拙的解决方案,但它确实有效.!

It was a bit heavy-handed solution but it worked.!

我希望这些可以帮助我以外的人.

I hope these help someone else besides me.

这篇关于如何安装早期版本的robovm eclipse插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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