Foros de discusión

Mobile SDK 2.0 and Liferay 6.2

thumbnail
Denis Signoretto, modificado hace 7 años.

Mobile SDK 2.0 and Liferay 6.2

Expert Mensajes: 375 Fecha de incorporación: 21/04/09 Mensajes recientes
Hi,

I've seen that at DEVCON 2016 has been presented Liferay Mobile SDK 2.0.
I'd like to know whether it can be used with Liferay 6.2 or not and if there are some sample code available.

Thanks,
Denis.
thumbnail
Bruno Farache, modificado hace 7 años.

RE: Mobile SDK 2.0 and Liferay 6.2

Liferay Master Mensajes: 603 Fecha de incorporación: 14/05/07 Mensajes recientes
Yes, it's in this new repo, it has documentation with samples:

https://github.com/liferay-mobile/liferay-android-sdk
thumbnail
Bruno Farache, modificado hace 7 años.

RE: Mobile SDK 2.0 and Liferay 6.2

Liferay Master Mensajes: 603 Fecha de incorporación: 14/05/07 Mensajes recientes
Forgot to mention it also supports 6.2.
thumbnail
Denis Signoretto, modificado hace 7 años.

RE: Mobile SDK 2.0 and Liferay 6.2

Expert Mensajes: 375 Fecha de incorporación: 21/04/09 Mensajes recientes
Hi Bruno,

To use Mobile SDK 2.0 for Android I guess I need to use the new SDK Builder (https://github.com/liferay-mobile/liferay-sdk-builder). Correct?

Looking at README.md it seems there is some error about how to use it.
It reports to clone "git@github.com:liferay/liferay-mobile-sdk.git", is this correct?

I've also tryed downloading liferay-sdk-builder version 2.0.1 but it fail with this error:
C:\Users\denis\Desktop\liferay-sdk-builder-2.0.1>gradlew

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':services'.
> Could not resolve all dependencies for configuration ':services:classpath'.
   > Could not find com.liferay.mobile:liferay-sdk-builder-gradle-plugin:1.0.2.
     Searched in the following locations:
         file:/C:/Users/denis/.m2/repository/com/liferay/mobile/liferay-sdk-builder-gradle-plugin/1.0.2/liferay-sdk-builder-gradle-plugin-1.0.2.pom
         file:/C:/Users/denis/.m2/repository/com/liferay/mobile/liferay-sdk-builder-gradle-plugin/1.0.2/liferay-sdk-builder-gradle-plugin-1.0.2.jar
         https://jcenter.bintray.com/com/liferay/mobile/liferay-sdk-builder-gradle-plugin/1.0.2/liferay-sdk-builder-gradle-plugin-1.0.2.pom
         https://jcenter.bintray.com/com/liferay/mobile/liferay-sdk-builder-gradle-plugin/1.0.2/liferay-sdk-builder-gradle-plugin-1.0.2.jar
         https://repo1.maven.org/maven2/com/liferay/mobile/liferay-sdk-builder-gradle-plugin/1.0.2/liferay-sdk-builder-gradle-plugin-1.0.2.pom
         https://repo1.maven.org/maven2/com/liferay/mobile/liferay-sdk-builder-gradle-plugin/1.0.2/liferay-sdk-builder-gradle-plugin-1.0.2.jar
     Required by:
         com.liferay.mobile:services:unspecified

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


Can you help me understanding how to generate SDK classes for my custom services using Mobile SDK 2.0 for Android?

Thanks,
Denis.