Can’t import Mesosfer and Cubeacon on Class MesosferApp

Home - Can’t import Mesosfer and Cubeacon on Class MesosferApp

Kuroi Himahime asked 2 years ago

I want to ask question. I have followed the tutorial but why did when I write¬†‘Mesosfer.initialize(this, “YOUR-APPLICATION-ID-HERE”, “YOUR-CLIENT-KEY-HERE”);’ and ‘Cubeacon.initialize(this);’ the words ‘Mesosfer’ and ‘Cubeacon’ is turning red and can’t be automatically imported?

2 Answers
Alann Maulana Staff answered 2 years ago

Hello,
 
First you need to download Mesosfer SDK & Cubeacon SDK. Then add both SDK in your app‘s build.gradle :

repositories{
    flatDir {
        dirs 'libs'
    }
}

dependencies {
    compile 'com.eyro.mesosfer:MesosferSDK-Android:x.y.z@aar'
    compile 'com.eyro.cubeacon:cubeacon:x.y.z@aar'
}
Girly Saputri Staff answered 2 years ago

Dear Kuroi HimaHime,
Thank you for your question. I have changed your question in this section since our term and condition of question is that it has to be in English.
Please let me know if Maulana’s answer help you. Looking forward to your feedback.