You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Archana Naik (JIRA)" <ji...@apache.org> on 2014/05/06 01:56:15 UTC

[jira] [Commented] (CB-6487) WebView not found in Chrome remote debugging

    [ https://issues.apache.org/jira/browse/CB-6487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13990111#comment-13990111 ] 

Archana Naik commented on CB-6487:
----------------------------------

Hello, Boston

Remote debugging needs some code changes in your MainActivity. However, from next release 3.5.0 they will be enabled by default and you will just have to adb port forward to see the pages in chrome browser on your desktop.
What version are you on?

> WebView not found in Chrome remote debugging
> --------------------------------------------
>
>                 Key: CB-6487
>                 URL: https://issues.apache.org/jira/browse/CB-6487
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Amazon FireOS
>    Affects Versions: 3.4.0
>         Environment: Kindle Fire HD
>            Reporter: Boston Dell-Vandenberg
>            Assignee: Archana Naik
>
> 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!
> {code}
> <?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>
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)