android
android copied to clipboard
V8 log files are not availables
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
--profin v8 flags tns debug androidProblem : 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"
}
}