webview访问https7.0系统兼容问题dlopen failed 1C

先描述下:我这里是一个弹框,弹框里面是webview,

问题点:自从上了https,解析webview就开始报错了,

报错重点信息如下:
Caused by: android.view.InflateException: Binary XML file line #31: Error inflating class android.webkit.WebView
Caused by: android.util.AndroidRuntimeException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.google.android.webview-2/lib/arm/libwebviewchromium.so" is 32-bit instead of 64-bit

在友盟统计里看到的报错信息如下:
android.view.InflateException: Binary XML file line #31: Binary XML file line #31: Error inflating class android.webkit.WebView
at Android.MODEL(VKY-AL00)
at Android.OS.VERSION(7.0)
at Android.FINGERPRINT(HUAWEI/VKY-AL00/HWVKY:7.0/HUAWEIVKY-AL00/C00B172:user/release-keys)
at Android.WHERE()
Caused by: android.view.InflateException: Binary XML file line #31: Error inflating class android.webkit.WebView
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
at android.view.LayoutInflater.createView(LayoutInflater.java:656)
at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:64)
at com.android.internal.policy.HwPhoneLayoutInflater.onCreateView(HwPhoneLayoutInflater.java:107)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:728)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:796)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:738)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:869)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:832)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:872)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:832)
at android.view.LayoutInflater.inflate(LayoutInflater.java:518)
at android.view.LayoutInflater.inflate(LayoutInflater.java:426)
at android.view.LayoutInflater.inflate(LayoutInflater.java:377)
at com.qwkj.wwlotery.view.dialog.H5PayDialog.init(H5PayDialog.java:106)
at com.qwkj.wwlotery.view.dialog.H5PayDialog.(H5PayDialog.java:101)
at com.qwkj.wwlotery.asynctask.PublicPayRequest$1.onSuccess(PublicPayRequest.java:45)
at com.app.real.util.net.HttpVolley$3.onResponse(HttpVolley.java:159)
at comapp.real.util.net.HttpVolley$3.onResponse(HttpVolley.java:143)
at com.app.real.util.net.BaseRequest.deliverResponse(BaseRequest.java:39)
at com.app.real.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:99)
at android.os.Handler.handleCallback(Handler.java:761)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:156)
at android.app.ActivityThread.main(ActivityThread.java:6577)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
Caused by: android.util.AndroidRuntimeException: java.lang.reflect.InvocationTargetException
at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:204)
at android.webkit.WebView.getFactory(WebView.java:2325)
at android.webkit.WebView.ensureProviderCreated(WebView.java:2320)
at android.webkit.WebView.setOverScrollMode(WebView.java:2379)
at android.view.View.(View.java:4020)
at android.view.View.(View.java:4137)
at android.view.ViewGroup.(ViewGroup.java:578)
at android.widget.AbsoluteLayout.(AbsoluteLayout.java:55)
at android.webkit.WebView.(WebView.java:627)
at android.webkit.WebView.(WebView.java:572)
at android.webkit.WebView.(WebView.java:555)
at android.webkit.WebView.(WebView.java:542)
... 29 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:198)
... 40 more
Caused by: java.lang.RuntimeException: Cannot load WebView
at com.android.webview.chromium.WebViewChromiumFactoryProvider.initialize(WebViewChromiumFactoryProvider.java:75)
at com.android.webview.chromium.WebViewChromiumFactoryProvider.(WebViewChromiumFactoryProvider.java:31)
... 43 more
Caused by: org.chromium.base.library_loader.ProcessInitException
at org.chromium.base.library_loader.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:71)
at org.chromium.base.library_loader.LibraryLoader.loadNowOverrideApplicationContext(LibraryLoader.java:25)
at com.android.webview.chromium.WebViewChromiumFactoryProvider.initialize(WebViewChromiumFactoryProvider.java:69)
... 44 more
Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.google.android.webview-2/lib/arm/libwebviewchromium.so" is 32-bit instead of 64-bit
at java.lang.Runtime.loadLibrary0(Runtime.java:994)
at java.lang.System.loadLibrary(System.java:1533)
at org.chromium.base.library_loader.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:55)
... 46 more

xml代码如下:

<?xml version="1.0" encoding="utf-8"?>
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >

<LinearLayout
    android:id="@+id/h5_pay_top_linear_top"
    android:layout_width="fill_parent"
    android:layout_height="0dip"
    android:layout_weight="2"
    android:background="#00000000"
    android:orientation="vertical">

</LinearLayout>

<RelativeLayout
    android:id="@+id/h5_pay_relative_bottom"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:layout_weight="3"
    android:background="#ffffff">

    <View
        android:id="@+id/h5_pay_line"
        android:layout_width="fill_parent"
        android:layout_height="1px"
        android:layout_alignParentTop="true"
        android:background="@color/public_dark_divide_line_bg"/>

    <WebView
        android:id="@+id/h5_pay_webview"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:minHeight="300dip"
        android:layout_below="@id/h5_pay_line"
        android:background="#ffffff" />

    <ImageView
        android:id="@+id/h5_pay_progressbar"
        android:layout_width="20dip"
        android:layout_height="20dip"
        android:layout_centerInParent="true"
        android:scaleType="centerInside"
        android:background="@anim/loading_animation"
        android:visibility="visible" />

</RelativeLayout>

跪求高手帮忙解答,或者指点,感激不尽。

2个回答

goolge搜索一番之后,发现可能是第三方android系统的问题。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问