Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: 7.2 missing dependency
Hi! Android Studio notified to upgrade dependecies.
I'd like make these upgrades:
But gradle gave me a dependency error:
How can I fix this issue?
I'd like make these upgrades:
implementation 'com.liferay.mobile:liferay-android-sdk:7.1.3' ==> 7.2.0
implementation 'com.liferay.mobile:liferay-screens:4.0.1' ==>5.0.2.
But gradle gave me a dependency error:
ERROR: Failed to resolve: com.liferay.mobile:liferay-android-services-v72:7.2.0
How can I fix this issue?
Ups, we didn't publish the library in jcenter. Fixing it now.
While it gets published you can add the repository:
repositories { maven { url "https://dl.bintray.com/liferay/liferay-mobile" } }
While it gets published you can add the repository:
repositories { maven { url "https://dl.bintray.com/liferay/liferay-mobile" } }
Thank you.
The gradle depencency is now ok, but while I compile the compiler gave these errors:
Duplicate class com.liferay.mobile.screens.service.v62.JournalArticleService found in modules classes.jar (com.liferay.mobile:liferay-android-services-v62:7.2.0) and classes.jar (com.liferay.mobile:liferay-screens:5.0.2)
Duplicate class com.liferay.mobile.screens.service.v70.JournalArticleService found in modules classes.jar (com.liferay.mobile:liferay-android-services-v7:7.2.0) and classes.jar (com.liferay.mobile:liferay-screens:5.0.2)
Strange... I've published a 7.2.1 that should fix that duplicated class problem. Should be up in jcenter soon.
Now it doesn't show error, thank you.
Thanks for the information..
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™