You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Thilo Planz (JIRA)" <ji...@apache.org> on 2013/09/08 08:22:51 UTC
[jira] [Reopened] (CB-4587) Console.log output does not work on
Cordova 2.8.1 with Android 2.1
[ https://issues.apache.org/jira/browse/CB-4587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thilo Planz reopened CB-4587:
-----------------------------
I cannot get the log messages to appear even in the Android Emulator.
Steps to reproduce:
1. Create the Hello Cordova sample project
2. Launch on Android 2.1 emulator (AVD_for_3_2in_QVGA_ADP2) using ADT v22.0.1-685705
3. Check Logcat
The expected output ("report:deviceready") is missing.
It works fine using the 4.2.2 emulator.
I am using OS X 10.8.4.
> 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