Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

StickersManager class not found for Quickblox

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

like image 545
Apurva Kolapkar Avatar asked Jul 20 '15 14:07

Apurva Kolapkar


1 Answers

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

like image 157
Dehimb Avatar answered Nov 17 '22 19:11

Dehimb