Giter VIP home page Giter VIP logo

Comments (15)

VenusCao avatar VenusCao commented on May 23, 2024

检查你android values下的 style 是否为noactionbar

from x5_webview_flutter.

VenusCao avatar VenusCao commented on May 23, 2024

还有不要使用AppCompat下的主题

from x5_webview_flutter.

hongjie104 avatar hongjie104 commented on May 23, 2024

noactionbar

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
        <!-- Show a splash screen on the activity. Automatically removed when
             Flutter draws its first frame -->
        <item name="android:windowBackground">@drawable/launch_background</item>
    </style>
</resources>

style用的都是默认的,并没有做过任何修改

from x5_webview_flutter.

VenusCao avatar VenusCao commented on May 23, 2024

示例app会出现么

from x5_webview_flutter.

hongjie104 avatar hongjie104 commented on May 23, 2024

示例app会出现么

示例APP我手机装了,X5Sdk.openWebActivity 访问百度,算是正常吧,只是偶尔会出现错误提示,应该是因为百度页面里有下载百度app的链接导致。但是不会崩溃

from x5_webview_flutter.

VenusCao avatar VenusCao commented on May 23, 2024

那可能就是sdk版本的问题,你可以对照demo的bulid.gradle调整

from x5_webview_flutter.

hongjie104 avatar hongjie104 commented on May 23, 2024

额,我看了一下,demo和我的工程里的gradle都是3.2.1

from x5_webview_flutter.

VenusCao avatar VenusCao commented on May 23, 2024

android sdk,不是gradle

from x5_webview_flutter.

hongjie104 avatar hongjie104 commented on May 23, 2024

compileSdkVersion 和 targetSdkVersion 都设置成和demo一样的28了,错误依旧~

from x5_webview_flutter.

VenusCao avatar VenusCao commented on May 23, 2024

那你等下,我看看怎么调整一下

from x5_webview_flutter.

VenusCao avatar VenusCao commented on May 23, 2024

反正就是找不到actionbar,你把style改成有actionbar的主题试试,下个版本我处理一下

from x5_webview_flutter.

VenusCao avatar VenusCao commented on May 23, 2024

Theme.Black.NoTitleBar 改成 Theme.Black

from x5_webview_flutter.

hongjie104 avatar hongjie104 commented on May 23, 2024

好,多谢

from x5_webview_flutter.

VenusCao avatar VenusCao commented on May 23, 2024

试试新版本0.1.3

from x5_webview_flutter.

hongjie104 avatar hongjie104 commented on May 23, 2024

试试新版本0.1.3

新版本不会闪退了,非常感谢

from x5_webview_flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.