-
Notifications
You must be signed in to change notification settings - Fork 43
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
android闪退 #5
Comments
检查你android values下的 style 是否为noactionbar |
还有不要使用AppCompat下的主题 |
style用的都是默认的,并没有做过任何修改 |
示例app会出现么 |
示例APP我手机装了,X5Sdk.openWebActivity 访问百度,算是正常吧,只是偶尔会出现错误提示,应该是因为百度页面里有下载百度app的链接导致。但是不会崩溃 |
那可能就是sdk版本的问题,你可以对照demo的bulid.gradle调整 |
额,我看了一下,demo和我的工程里的gradle都是3.2.1 |
android sdk,不是gradle |
compileSdkVersion 和 targetSdkVersion 都设置成和demo一样的28了,错误依旧~ |
那你等下,我看看怎么调整一下 |
反正就是找不到actionbar,你把style改成有actionbar的主题试试,下个版本我处理一下 |
Theme.Black.NoTitleBar 改成 Theme.Black |
好,多谢 |
试试新版本0.1.3 |
新版本不会闪退了,非常感谢 |
在执行这个方法的时候 X5Sdk.openWebActivity(url, title: title); 闪退了~
报错如下
求指导
The text was updated successfully, but these errors were encountered: