android icon indicating copy to clipboard operation
android copied to clipboard

V8 log files are not availables

Open jfgreffier opened this issue 6 years ago • 0 comments

Environment

  • CLI: 5.4.0
  • Cross-platform modules: 5.4.2
  • Android Runtime: 5.4.0

Describe the bug V8 options can be passed on Android, but the default v8.log file is nowhere to be seen. Because of that, V8 profiling is not available.

To Reproduce

  • Add --prof in v8 flags
  • tns debug android Problem : v8 logs are not traced in tns, logcat nor a file.

Expected behavior v8 default log file (v8.log) should be written on Android device and available. Also, --logfile should enable the filename customization.

Sample src/package.json

{
    "main": "main.js",
    "android": {
        "v8Flags": "--expose_gc --prof --log-timer-events"
    }
}

jfgreffier avatar Jul 10 '19 12:07 jfgreffier