当前位置:网站首页>Tencent X5 kernel initialization failed tbsreaderview not support by:***

Tencent X5 kernel initialization failed tbsreaderview not support by:***

2022-06-11 05:21:00 Food can be very delicious

Recently, Tencent has really been X5 Kernel integration is a torment , The official documents are true, and they are a little crude . I won't repeat some operations in official documents , This article mainly records the file functions not support by:*** Solutions for .

When initializing Tencent X5 Add this line of code to the kernel method .

        QbSdk.setTbsListener(new TbsListener() {
    
            @Override
            public void onDownloadFinish(int i) {
    
            }
            @Override
            public void onInstallFinish(int i) {
    
                Log.e(TAG, "onInstallFinish:  The kernel was downloaded successfully " );
            }
            @Override
            public void onDownloadProgress(int i) {
    
            }
        });
        boolean needDownload = TbsDownloader.needDownload(this, TbsDownloader.DOWNLOAD_OVERSEA_TBS);
        Log.e(TAG, "onCreate: "+needDownload );
        if (needDownload) {
    
            TbsDownloader.startDownload(this);
        }
原网站

版权声明
本文为[Food can be very delicious]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203020540509817.html