Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: uses unchecked or unsafe operations. #1

Open
bha2020 opened this issue Feb 12, 2019 · 3 comments
Open

error: uses unchecked or unsafe operations. #1

bha2020 opened this issue Feb 12, 2019 · 3 comments

Comments

@bha2020
Copy link

bha2020 commented Feb 12, 2019

Error: Program type already present: com.tencent.smtt.export.external.DexClassLoaderProvider
please help.

@bha2020 bha2020 changed the title error: package com.tencent.smtt.sdk does not exist error: uses unchecked or unsafe operations. Feb 12, 2019
@hanlyjiang
Copy link
Owner

Error: Program type already present: com.tencent.smtt.export.external.DexClassLoaderProvider
please help.

Can u give more error info?

@bha2020
Copy link
Author

bha2020 commented Feb 14, 2019

When I tried to compile project it gives me compile time errors as follows
error: package com.tencent.smtt.sdk does not exist
error: cannot find symbol variable QbSdk

error: package com.tencent.smtt.sdk does not exist
error: cannot find symbol class WebView
error: cannot access TbsReaderView class file for com.tencent.smtt.sdk.TbsReaderView not found

So I added tbs_.jar file in libs folder and above errors gone but now It gives error as
'Error: Program type already present: MTT.ThirdAppInfoNew'

@hanlyjiang
Copy link
Owner

When I tried to compile project it gives me compile time errors as follows
error: package com.tencent.smtt.sdk does not exist
error: cannot find symbol variable QbSdk

error: package com.tencent.smtt.sdk does not exist
error: cannot find symbol class WebView
error: cannot access TbsReaderView class file for com.tencent.smtt.sdk.TbsReaderView not found

So I added tbs_.jar file in libs folder and above errors gone but now It gives error as
'Error: Program type already present: MTT.ThirdAppInfoNew'

I think u project have init issues
Did you cloning my whole repo And open it with AndroidStudio directly, When U open it, if AndroidStudio prompt you to upgrade gradle version, if there is and u click update, you should clone a new repo, and open it again, then ignore the gradle upgrade dialog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants