StickersManager class not found for Quickblox
Asked Answered
C

1

8

I am trying to use Quickblox's sample chat application.

http://quickblox.com/developers/Android_XMPP_Chat_Sample

But I am getting this error "The import vc908 cannot be resolved" At this line :

import vc908.stickerfactory.StickersManager;

I have used these libs : - quickblox-android-sdk-chat-2.2.6.jar - quickblox-android-sdk-core-2.2.6.jar

Also Added these : - android-support-v7-appcompat - google-play-services_lib - pull-to-refresh

Claypan answered 20/7, 2015 at 14:24 Comment(0)
B
3

StickersManager is a part of StickerPipe library. To use stickers functionality, you must include dependency to this library

       repositories {
           maven { url  'http://maven.stickerpipe.com/artifactory/stickerfactory' }
        }


       dependencies {
           compile('vc908.stickers:stickerfactory:0.2.2@aar') {
              transitive = true;
           }
       }

This integration described at Stickers section of documentation

You need use android studio to build project. If you use Eclipse, try to migrate with this tutorial

UPDATE

Eclipse users now can follow this instructions to add StickerPipe library

And another sample with StickerPipe library

Bibliology answered 21/7, 2015 at 7:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.