留言板

Mobile SDK 2.0 and Liferay 6.2

thumbnail
Denis Signoretto,修改在7 年前。

Mobile SDK 2.0 and Liferay 6.2

Expert 帖子: 375 加入日期: 09-4-21 最近的帖子
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,修改在7 年前。

RE: Mobile SDK 2.0 and Liferay 6.2

Liferay Master 帖子: 603 加入日期: 07-5-14 最近的帖子
Yes, it's in this new repo, it has documentation with samples:

https://github.com/liferay-mobile/liferay-android-sdk
thumbnail
Bruno Farache,修改在7 年前。

RE: Mobile SDK 2.0 and Liferay 6.2

Liferay Master 帖子: 603 加入日期: 07-5-14 最近的帖子
Forgot to mention it also supports 6.2.
thumbnail
Denis Signoretto,修改在7 年前。

RE: Mobile SDK 2.0 and Liferay 6.2

Expert 帖子: 375 加入日期: 09-4-21 最近的帖子
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.