[
https://issues.apache.org/jira/browse/CB-4587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Bowser resolved CB-4587.
----------------------------
Resolution: Unresolved
I know that console.log works on most models of phones, but it'd help if we
knew what phone it was failing on. Please re-open the ticket and update this
with the model of device so that we can continue work on this issue.
> Console.log output does not work on Cordova 2.8.1 with Android 2.1
> ------------------------------------------------------------------
>
> Key: CB-4587
> URL: https://issues.apache.org/jira/browse/CB-4587
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.8.0
> Reporter: Thilo Planz
> Assignee: Joe Bowser
> Labels: android, compatibility, console
>
> Cordova 2.8.x is the last version to support Android 2.1, but it seems that
> not everything actually works on that platform.
> When you run the demo "HelloCordova" app that gets installed as a template by
> the CLI tool on Android 2.1, there is no log output. (It is supposed to say
> "report:deviceready" and that works on current Android).
> The following error messages that appear on startup may be related:
> 08-15 10:44:47.014: W/dalvikvm(316): VFY: unable to find class referenced in
> signature (Landroid/webkit/ConsoleMessage;)
> 08-15 10:44:47.014: I/dalvikvm(316): Could not find method
> android.webkit.ConsoleMessage.message, referenced from method
> org.apache.cordova.CordovaChromeClient.onConsoleMessage
> 08-15 10:44:47.014: W/dalvikvm(316): VFY: unable to resolve virtual method
> 299: Landroid/webkit/ConsoleMessage;.message ()Ljava/lang/String;
> 08-15 10:44:47.023: D/dalvikvm(316): VFY: replacing opcode 0x6e at 0x0000
> 08-15 10:44:47.023: D/dalvikvm(316): Making a copy of
> Lorg/apache/cordova/CordovaChromeClient;.onConsoleMessage code (108 bytes)
> 08-15 10:44:49.023: I/dalvikvm(316): Could not find method
> android.util.Base64.encodeToString, referenced from method
> org.apache.cordova.api.PluginResult.<init>
> 08-15 10:44:49.023: W/dalvikvm(316): VFY: unable to resolve static method
> 265: Landroid/util/Base64;.encodeToString ([BI)Ljava/lang/String;
> 08-15 10:44:49.023: D/dalvikvm(316): VFY: replacing opcode 0x71 at 0x0012
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira