Android

Can TUILiveKit use TRTC without introducing IM SDK?

No, all the components of TUIKit use Tencent Cloud IM SDK as the basic service for communication, such as the core logic of creating room signaling, Lian-mic signaling, etc., all use IM services. If you have purchased other IM products, you can also refer to TUILiveKit logic to adapt.

Exception: allowBackup exception, How to Handle?




Reasons:The allowBackup property is configured in the AndroidManifest.xml of several modules, causing conflicts.
Solution:You can remove the allowBackup attribute from your project's AndroidManifest.xml file or change it to false to turn off backup and restore, And add tools:replace="android:allowBackup" in the application node of the AndroidManifest.xml file; Indicates to override the settings of other modules, using your own Settings.




Activity theme issue: activity need to use a Theme.AppCompat theme, How to Handle?



Reasons: Since LoginActivity inherited from AppCompatActivity, a Theme.AppCompat was to be given toLoginActivity.
Solution:You can add a Theme.AppCompat theme to the LoginActivity configuration in your project's AndroidManifest.xml file. You can also use your own Theme.AppCompat theme. An example of a fix is shown in the image: