Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6487

WebView not found in Chrome remote debugging

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.5.0
    • None
    • Kindle Fire HD

    Description

      Building for amazon-fireos I am unable to get remote debugging to work.

      I've followed the steps in the Cordova docs as well as this blog post (https://developer.amazon.com/post/TxSKXI5UIOVFFU/Build-Higher-Performance-Cordova-Based-Fire-OS-Apps-by-Implementing-Amazon-Web-V.html) to setup the amazon platform along with the awv_interface.jar but cannot get the webview to appear in the Chrome ADB remote debugging plugin.

      ADB is enabled on the Fire device, "debuggable" is enabled in the Android manifest. I have also looked at Amazon's Web View Tester app but it only allows testing URLs.

      Where am I going wrong or what can I do to enable remote debugging?

      Thanks!

      <?xml version='1.0' encoding='utf-8'?>
      <manifest android:hardwareAccelerated="true" android:versionCode="1" android:versionName="0.0.1" android:windowSoftInputMode="adjustPan" package="com.example.hello" xmlns:android="http://schemas.android.com/apk/res/android">
          <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
          <uses-permission android:name="android.permission.INTERNET" />
          <application android:debuggable="true" android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name">
              <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/app_name" android:name="HelloWorld" android:theme="@android:style/Theme.Black.NoTitleBar">
                  <intent-filter>
                      <action android:name="android.intent.action.MAIN" />
                      <category android:name="android.intent.category.LAUNCHER" />
                  </intent-filter>
              </activity>
              <uses-library android:name="com.amazon.webview" android:required="false" />
              <service android:exported="false" android:name="org.chromium.content.app.SandboxedProcessService0" android:permission="org.chromium.content_shell.permission.SANDBOX" android:process=":sandboxed_process0" />
              <service android:exported="false" android:name="org.chromium.content.app.SandboxedProcessService1" android:permission="org.chromium.content_shell.permission.SANDBOX" android:process=":sandboxed_process1" />
              <service android:exported="false" android:name="org.chromium.content.app.SandboxedProcessService2" android:permission="org.chromium.content_shell.permission.SANDBOX" android:process=":sandboxed_process2" />
              <service android:exported="false" android:name="org.chromium.content.app.SandboxedProcessService3" android:permission="org.chromium.content_shell.permission.SANDBOX" android:process=":sandboxed_process3" />
              <service android:exported="false" android:name="org.chromium.content.app.SandboxedProcessService4" android:permission="org.chromium.content_shell.permission.SANDBOX" android:process=":sandboxed_process4" />
              <service android:exported="false" android:name="org.chromium.content.app.SandboxedProcessService5" android:permission="org.chromium.content_shell.permission.SANDBOX" android:process=":sandboxed_process5" />
          </application>
          <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="19" />
      </manifest>
      

      Attachments

        Activity

          People

            naika Archana Naik
            bostondv Boston Dell-Vandenberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: