Search code examples
androidbump

Bump sample code for BUMPCHAT not working


In the BUMP API I CANT ABLE TO RUN BUMPCHAT SAMPLE CODE. My API key is correct. In the logcat this error.

 E/AndroidRuntime(1703): java.lang.NoClassDefFoundError: com.bumptech.bumpapi.BumpResources$layout

Will anyone help me about that issue.

Thanks


Solution

  • I think you have different package name in the layout which you are referencing in the XML from the layout class

    E/AndroidRuntime(1703): java.lang.NoClassDefFoundError: com.bumptech.bumpapi.BumpResources$layout

    your application is not able to find this class com.bumptech.bumpapi.BumpResources$layout

    Which means that the layout class is inside the BumpResources class.

    Check the layout and specify the correct package name.