-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
I just followed README
and downloaded flashlight@18.0.0
I tried to run flashlight measure
and it successfully launched the local web app on the localhost:3000
I also can successfully fetch the Auto Detect
app bundle id.
But as soon as I press on Start Measuring
— it fails in the CLI and shows an alert:
Here is my CLI log:
➜ ~ flashlight measure
[13:54:21] ℹ️ Installing C++ profiler for arm64-v8a architecture
[13:54:21] ✅ C++ Profiler installed in /data/local/tmp/BAMPerfProfiler
Flashlight web app running on: http://localhost:3000
/snapshot/flashlight-cloud/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
throw ex;
^
Error: Command failed: adb shell atrace --async_stop
at checkExecSyncError (node:child_process:820:11)
at Object.execSync (node:child_process:891:15)
at execSync (pkg/prelude/bootstrap.js:2111:30)
at AndroidProfiler.startATrace (/snapshot/flashlight-cloud/flashlight-open-source/packages/platforms/android/dist/src/commands/platforms/AndroidProfiler.js:62:38)
at AndroidProfiler.installProfilerOnDevice (/snapshot/flashlight-cloud/flashlight-open-source/packages/platforms/android/dist/src/commands/platforms/AndroidProfiler.js:28:18)
at AndroidProfiler.getCpuClockTick (/snapshot/flashlight-cloud/flashlight-open-source/packages/platforms/android/dist/src/commands/platforms/UnixProfiler.js:95:14)
at AndroidProfiler.pollPerformanceMeasures (/snapshot/flashlight-cloud/flashlight-open-source/packages/platforms/android/dist/src/commands/platforms/UnixProfiler.js:123:90)
at PerformanceMeasurer.<anonymous> (/snapshot/flashlight-cloud/flashlight-open-source/packages/commands/test/dist/PerformanceMeasurer.js)
at Generator.next (<anonymous>) {
status: 255,
signal: null,
output: [ null, null, null ],
pid: 5608,
stdout: null,
stderr: null
}
Node.js v18.5.0
➜ ~
And this is a pretty generic alert I see in the web app
I found one similar issue in this repo, but I think:
- it's a pretty old one since I'm not using Flipper (and I can't) since I need to have a connection to the
Release
app. - it's not relevant to me, more info below
Here is the issue link: #103
I tried a few suggestions from that issue, and here is my results:
➜ ~ adb devices
List of devices attached
a7276a2c device
➜ ~ ps | grep "adb shell"
5699 ttys001 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox adb shell
➜ ~ adb shell atrace --async_stop
Error: Did not find trace folder
No trace folder found
➜ ~
Metadata
Metadata
Assignees
Labels
No labels