Building Android studio application to read MbientLab MetaMotionRL sensor data

I have created an application in Android Studio that when run, will read a Bluetooth MetaWear sensor. I am having an issue building the project onto an android tablet. When building, the auto-generated BuildConfig file is outputting the version code as null. This value should be an int. Any help with this is greatly appreciated.


  • edited March 2022

    While this is not at all related to our SDK or sensors, it seems like you just need to put a VERSION # in your gradle file:
    versionCode 23
    versionName "3.5.27"

Sign In or Register to comment.