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

初始化就提示失败 #55

Open
fanxiang132 opened this issue Dec 15, 2020 · 4 comments
Open

初始化就提示失败 #55

fanxiang132 opened this issue Dec 15, 2020 · 4 comments

Comments

@fanxiang132
Copy link

image
调用: QNRTCEnv.init(getApplicationContext());
java.lang.NoSuchMethodError: No static method metafactory(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; in class Ljava/lang/invoke/LambdaMetafactory; or its super classes (declaration of 'java.lang.invoke.LambdaMetafactory' appears in /apex/com.android.runtime/javalib/core-oj.jar)

@OurEra
Copy link
Contributor

OurEra commented Dec 15, 2020

清理下IDE cache试下?

@fanxiang132
Copy link
Author

fanxiang132 commented Dec 15, 2020 via email

@OurEra
Copy link
Contributor

OurEra commented Dec 15, 2020

请确认编译有带上
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
还有有问题,可以提交完整日志文件

@fanxiang132
Copy link
Author

fanxiang132 commented Dec 15, 2020 via email

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