App Crash [Android]

futureapp's Avatar


18 Jun, 2018 11:39 AM

I Am trying ti create a beacan detect app

taking a code from your github page but u am facing some error


please help

  1. 1 Posted by warsaw on 18 Jun, 2018 05:06 PM

    warsaw's Avatar


    What SDK do you use ? I am not sure what exactly happens on your side. Can you attach full stack trace and steps to reproduce? Do you use the provided sample app that comes with the SDK?

  2. 2 Posted by futureapp on 19 Jun, 2018 04:59 AM

    futureapp's Avatar

    iam using github code

    when i am trying to add namespace i am showing error my app was crash
    on mainactivity when setnamespace

  3. 3 Posted by warsaw on 19 Jun, 2018 07:16 AM

    warsaw's Avatar

    Are you sure you have made no changes in the project, e.g. updated a gradle version?

    Do you use Android 8 or earlier ?

    Can you please paste met he full stack trace of your crash so I can track down the issue ?

  4. 4 Posted by warsaw on 19 Jun, 2018 02:19 PM

    warsaw's Avatar

    If you work with Android 8 please try using the following dependency in the app. The official version for Android 8 to appear in public github is still in Beta stage:

    compile('com.ubudu.sdk:ubudu-sdk:2.8.0-SNAPSHOT@aar') {
    transitive = true }

  5. 5 Posted by futureapp on 20 Jun, 2018 08:50 AM

    futureapp's Avatar

    on Mainactivity when i am adding
    mUbuduSdk = UbuduSDK.getSharedInstance(getApplicationContext()); mUbuduSdk.setNamespace(NAMESPACE);

    it show's me NullPointerException Don't know why

  6. 6 Posted by saulo.vera on 12 Jul, 2018 11:50 PM

    saulo.vera's Avatar

    Hello i have the same issue and i try with

    compile('com.ubudu.sdk:ubudu-sdk:2.8.0-SNAPSHOT@aar') {
    transitive = true }

    but i have same trouble when create UbuduSdk instance

    W/System.err: java.lang.NullPointerException: throw with null exception
    at com.ubudu.sdk.obfuscated.A.(Unknown Source:2627) at com.ubudu.sdk.obfuscated.A.b(Unknown Source:0) at com.ubudu.sdk.implementation.UbuduSDK.(SourceFile:715) at com.ubudu.sdk.implementation.UbuduSDK.a(SourceFile:116) at com.ubudu.sdk.UbuduSDK.getSharedInstance(SourceFile:65) 07-12 18:48:52.626 12642-12642/air.SamsClubMexico W/System.err: at com.ubudu.sdk.UbuduSDK.getSharedInstance(SourceFile:47)

  7. 7 Posted by Michal Gasztold on 13 Jul, 2018 09:29 AM

    Michal Gasztold's Avatar


    I have just fixed the issue. Could you try to resync your build.gradle with the same snapshot again? To be sure your Android Studio refreshes the dependency you might need to add

    configurations.all {
    // check for updates every build resolutionStrategy.cacheChangingModulesFor 0, 'seconds' }

    to your top project build.gradle file into allprojects { entry.

    Please let me know if it solves your issue.

  8. 8 Posted by saulo.vera on 13 Jul, 2018 11:12 PM

    saulo.vera's Avatar

    Hello Michal
    thank you the bug is solved, but i test versions app with 2.7.2 and 2.8.0.SNAPSHOT
    but 2.8.0 version i don't receive notifications and i log in the console manager

    2018-07-13 23:01:27 UTCreturning user{event":"user","date":"2018-07-13 23:01:27 UTC","u_app_user":{"advertising_id":"00000000-0000-0000-0000-000000000000","advertising_tracking_mode_enabled":false,"language":"English","model":"Samsung SM-G950F","system_name":"Android","system_version":"8.0.0","system_build_number":"R16NW","system_api_id":26,"sdk_name":"Contextual Interactions SDK","sdk_version (189)","u_application_uid"........

    in app

    E/Volley: [979] BasicNetwork.performRequest: Unexpected response code 404 for


  9. 9 Posted by Michal Gasztold on 14 Jul, 2018 07:13 AM

    Michal Gasztold's Avatar

    Could you please provide me your application namespace id so i can try to
    reproduce? Have you tried the sample app from our public github?

    W dniu sob., 14.07.2018 o 01:12 saulo.vera <[email blocked]>

  10. 10 Posted by saulo.vera on 16 Jul, 2018 03:17 PM

    saulo.vera's Avatar

    Hello Michal
    Namespace app:
    we use plugin gradle '
    grade 4.4

    We have sample app, i will change gradle to add 2.8.0-SNAPSHOT version


  11. 11 Posted by saulo.vera on 16 Jul, 2018 04:45 PM

    saulo.vera's Avatar

    hello Michal

    sample app runs ok with

    implementation('') implementation('com.ubudu.sdk:ubudu-sdk:2.8.0-SNAPSHOT@aar') { transitive = true } implementation '' implementation ''

    thanks you for the support


  12. 12 Posted by Michal Gasztold on 20 Jul, 2018 08:15 AM

    Michal Gasztold's Avatar

    Im glad to hear that.

    I have just released the library officialy on our github:

    Have a great day! Regards

  13. 13 Posted by saulo.vera on 24 Jul, 2018 04:22 PM

    saulo.vera's Avatar

    Thnks you so much!!
    have a nice day!!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac