<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic AAOS build has no WebView in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/AAOS-build-has-no-WebView/m-p/1836540#M221860</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We're building Android Automotive OS&amp;nbsp;13.0.0_2.3.0 on i.MX 8QuadXPlus MEK boards, following the instructions in the &lt;EM&gt;Android Automotive User's Guide&lt;/EM&gt;&amp;nbsp;at&amp;nbsp;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/android-automotive-os-for-i-mx-applications-processors:ANDROID-AUTO" target="_blank" rel="noopener"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/android-automotive-os-for-i-mx-applications-processors:ANDROID-AUTO&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;The system generally builds OK, but the resulting image does not include a WebView component. Attempting to run any Android app which requires WebView yields the following error in logcat:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;android.util.AndroidRuntimeException: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to load WebView provider: No WebView installed&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The source set includes an &lt;FONT face="courier new,courier"&gt;external/android_build&lt;/FONT&gt; directory, including prebuilt APKs, but they're not getting installed; running&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;adb shell "dumpsys package com.android.webview"&lt;/FONT&gt; against the built system returns&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;Unable to find package: com.android.webview&lt;/FONT&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If I try to "force" the APK's inclusion in the build by adding an Android.mk file to that dir, the build fails with a message of&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;build/make/core/base_rules.mk:338: error: external/chromium-webview: MODULE.TARGET.APPS.webview already defined by external/chromium-webview.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which basically sounds as though WebView &lt;EM&gt;is&lt;/EM&gt; already included in the build. But it’s not included in the output image. The same happens if I try to include the APK manually in &lt;FONT face="courier new,courier"&gt;prebuilts&lt;/FONT&gt;, or elsewhere in the build tree.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And so, my question:&amp;nbsp;&lt;STRONG&gt;what do I need to do to include WebView in my AAOS build?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sterling&lt;/P&gt;</description>
    <pubDate>Thu, 28 Mar 2024 16:11:18 GMT</pubDate>
    <dc:creator>Sterling</dc:creator>
    <dc:date>2024-03-28T16:11:18Z</dc:date>
    <item>
      <title>AAOS build has no WebView</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AAOS-build-has-no-WebView/m-p/1836540#M221860</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We're building Android Automotive OS&amp;nbsp;13.0.0_2.3.0 on i.MX 8QuadXPlus MEK boards, following the instructions in the &lt;EM&gt;Android Automotive User's Guide&lt;/EM&gt;&amp;nbsp;at&amp;nbsp;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/android-automotive-os-for-i-mx-applications-processors:ANDROID-AUTO" target="_blank" rel="noopener"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/android-automotive-os-for-i-mx-applications-processors:ANDROID-AUTO&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;The system generally builds OK, but the resulting image does not include a WebView component. Attempting to run any Android app which requires WebView yields the following error in logcat:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;android.util.AndroidRuntimeException: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to load WebView provider: No WebView installed&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The source set includes an &lt;FONT face="courier new,courier"&gt;external/android_build&lt;/FONT&gt; directory, including prebuilt APKs, but they're not getting installed; running&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;adb shell "dumpsys package com.android.webview"&lt;/FONT&gt; against the built system returns&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;Unable to find package: com.android.webview&lt;/FONT&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If I try to "force" the APK's inclusion in the build by adding an Android.mk file to that dir, the build fails with a message of&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;build/make/core/base_rules.mk:338: error: external/chromium-webview: MODULE.TARGET.APPS.webview already defined by external/chromium-webview.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which basically sounds as though WebView &lt;EM&gt;is&lt;/EM&gt; already included in the build. But it’s not included in the output image. The same happens if I try to include the APK manually in &lt;FONT face="courier new,courier"&gt;prebuilts&lt;/FONT&gt;, or elsewhere in the build tree.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And so, my question:&amp;nbsp;&lt;STRONG&gt;what do I need to do to include WebView in my AAOS build?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sterling&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 16:11:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AAOS-build-has-no-WebView/m-p/1836540#M221860</guid>
      <dc:creator>Sterling</dc:creator>
      <dc:date>2024-03-28T16:11:18Z</dc:date>
    </item>
  </channel>
</rss>

