Foros de discusión

Mobile SDK already out of date for Eclipse, please update!

thumbnail
Cameron McBride, modificado hace 9 años.

Mobile SDK already out of date for Eclipse, please update!

Expert Mensajes: 269 Fecha de incorporación: 8/02/11 Mensajes recientes
The Mobile SDK Eclipse plugin for Liferay android development requires ADT version 21 to be installed. The current version of ADT is 23.

This is the error when trying to install the Mobile SDK plugin if you have the latest ADK:
Cannot complete the install because one or more required items could not be found.
Software being installed: Liferay Mobile SDK (Requires Android Development Tools, ADT) 2.1.1.201406300312-ga2 (com.liferay.mobile.sdk.feature.group 2.1.1.201406300312-ga2)

I have verified this by doing the following:
1. Installing ADT 21
2. Installing the Mobile SDK
3. Try to upgrade ADT to the latest 23, and get a message saying that Liferay Mobile SDK requires ADT 21 and will not upgrade.

When will the Mobile SDK plugin be updated? Is there a work around in the meantime?
thumbnail
Bruno Farache, modificado hace 9 años.

RE: Mobile SDK already out of date for Eclipse, please update!

Liferay Master Mensajes: 603 Fecha de incorporación: 14/05/07 Mensajes recientes
Hi Cameron,

I will talk to the IDE team to see if ADT can be upgraded.

In the meantime you can try with any ADT or IDE you like (including Android Studio), the SDK is just a jar file that can be dropped to any Android project, for more details:

https://github.com/liferay/liferay-mobile-sdk/blob/master/android/README.md#setup
thumbnail
Cameron McBride, modificado hace 9 años.

RE: Mobile SDK already out of date for Eclipse, please update!

Expert Mensajes: 269 Fecha de incorporación: 8/02/11 Mensajes recientes
Thanks for the reply Bruno. You are totally correct that on the Android side of things we can just drop in the jar and code away. However, for custom remote services created with service builder we need a way to create the custom jar. That is where the Mobile SDK is very handy. There is a tool with the SDK, as I'm sure your aware, that lets you select the services you want and it generates the extra jar that needs to be moved over to the Android project.

If there is a way to create the extra jar without the mobile SDK that would be great!
thumbnail
Bruno Farache, modificado hace 9 años.

RE: Mobile SDK already out of date for Eclipse, please update!

Liferay Master Mensajes: 603 Fecha de incorporación: 14/05/07 Mensajes recientes
Yes, the SDK Builder can be called via command line:

https://github.com/liferay/liferay-mobile-sdk/tree/master/builder

The IDE team answered saying this update site:

http://106.187.96.36/gamerson/liferay-ide-updatesite-2.2.0.201407211534/

It can be used in the IDE to install non released plugin, which supports ADT 23. You can use that!

I'm not sure why you need to upgrade ADT to use the SDK Builder though. The generated code doesn't have any dependency on Android.
thumbnail
Cameron McBride, modificado hace 9 años.

RE: Mobile SDK already out of date for Eclipse, please update!

Expert Mensajes: 269 Fecha de incorporación: 8/02/11 Mensajes recientes
Thanks for those two links, I will try them out and report back. I agree that there should be no dependency between the Liferay mobile SDK and a particular version of ADT. I needed to upgrade ADT to the latest version for Android development, not for Liferay.
Adnan Yaqoob, modificado hace 9 años.

RE: Mobile SDK already out of date for Eclipse, please update!

New Member Mensajes: 9 Fecha de incorporación: 30/06/14 Mensajes recientes
I tried to use the above link

No software found at:
http://106.187.96.36/gamerson/liferay-ide-updatesite-2.2.0.201407211534/