Closed india2sarthak closed 2 years ago
Update: It had nothing to do with Kotlin being the primary language. Was able to fix the issue by downgrading the minSdkVersion to 22 (from 23). Not sure why that happened, I would recommend adding it to the getting started doc if it is indeed required to have the minSdkVersion set to less than 22.
I have been unable to use DJI UXSDK in a Kotlin app. I followed the steps mentioned in the UXSDK getting started document to include the dependencies. However, whenever I include any UI element of the ux-sdk in the layout xml file, the app just crashes with the following message:
libbacktrace: bool ThreadEntry::Wait(int): pthread_cond_timedwait for value 1 failed: Connection timed out.
So does the UX SDK support kotlin as the primary language of the project or could it be due to some other reason? Here is my build gradle file