ably-realtime

Cannot add Gradle dependencies to my Codename One Project

…衆ロ難τιáo~ 提交于 2019-12-23 04:35:06
问题 I'm building a simple online app with Netbeans using Codename One, and I wanted to use Ably for internet communication, but I'm having trouble importing the Ably API. Ably's site tells me that I need to add the line compile 'io.ably:ably-java:1.0.0' to the build.gradle dependencies section, but there is no build.gradle in my project. After seeing this question, I added a new build hint with gradleDependencies as the key and compile 'io.ably:ably-java:1.0.0' as the value. When I try to run the

Cannot add Gradle dependencies to my Codename One Project

自古美人都是妖i 提交于 2019-12-06 14:50:59
I'm building a simple online app with Netbeans using Codename One, and I wanted to use Ably for internet communication, but I'm having trouble importing the Ably API. Ably's site tells me that I need to add the line compile 'io.ably:ably-java:1.0.0' to the build.gradle dependencies section, but there is no build.gradle in my project. After seeing this question , I added a new build hint with gradleDependencies as the key and compile 'io.ably:ably-java:1.0.0' as the value. When I try to run the project, though, it still fails and tells me error: package io.ably.lib.types does not exist import