이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

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: