我刚刚开始试验信标和安卓应用程序,我通过将compile 'com.estimote:sdk:1.0.3@aar'添加到我的build.gradle文件的依赖项中来安装Estimote SDK,但我只得到了com.estimote.coresdk.*和com.estimote.mgmtsdk.*,而没有com.estimote.sdk.*,我想这就是完全成熟的SDK。
我哪里错了?如何获取完整的SDK?(我现在在-for上有一个Estimote Cloud帐户-分配了一个Estimote )
编辑:实际上CoreSDK是Estimote SDK中的新包(不像我想的那样是旧的)。所以,是的,如果你得到了CoreSDK,你就万事大吉了。
发布于 2017-07-28 21:06:35
Installation
将下面这一行添加到build.gradle文件:
dependencies {
compile 'com.estimote:sdk:1.0.11'
}初始化估计SDK的
在你的应用程序类onCreate()方法中初始化Estimote SDK:
// To get your AppId and AppToken you need to create new application in Estimote Cloud.
EstimoteSDK.initialize(applicationContext, appId, appToken);
// Optional, debug logging.
EstimoteSDK.enableDebugLogging(true);有关more信息,请查看README.md
https://stackoverflow.com/questions/45373217
复制相似问题