Mulai 27 Maret 2025, sebaiknya gunakan android-latest-release
, bukan aosp-main
, untuk mem-build dan berkontribusi pada AOSP. Untuk mengetahui informasi selengkapnya, lihat Perubahan pada AOSP.
Merekam aktivitas
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Anda dapat mengambil rekaman aktivitas di
perangkat,
melalui
Winscope,
atau melalui
perintah
Android Debug Bridge (adb).
Di Winscope, Anda dapat mengambil rekaman aktivitas terbaru yang dikumpulkan dari perangkat selama
sesi sebelumnya. Fitur ini sangat berguna saat mengalami masalah
koneksi, seperti menggunakan ADB melalui Wi-Fi, atau saat Winscope ditutup secara tiba-tiba. Jika
tidak ada rekaman aktivitas dari sesi terakhir, Winscope akan menampilkan Tidak ditemukan file rekaman aktivitas
yang valid.
Pesan error
Winscope menampilkan pesan berikut selama pengumpulan rekaman aktivitas:
Pesan |
Deskripsi |
Tidak ada target rekaman aktivitas yang dipilih |
Tidak ada kotak centang rekaman aktivitas yang dipilih. |
Terjadi error selama perekaman aktivitas:
ERROR: INVALID_LAYER_STACK , harap
periksa status tampilan Anda (harus aktif
di awal rekaman aktivitas) |
Perekaman layar diminta, tetapi layar nonaktif di awal
pelacakan. |
Terjadi error selama perekaman aktivitas:
Pesan error tertentu yang diterima dari
perintah adb, seperti Gagal
menemukan file yang valid untuk <trace types
requested> |
adb tidak dapat membaca file rekaman aktivitas, yang biasanya terjadi saat
adb tidak berjalan sebagai root. |
Terjadi error selama pelacakan:
Waktu pelacakan habis |
Ada masalah koneksi dengan perangkat. |
Terjadi error selama pelacakan:
{inner error} |
Pesan ini mencakup semua error lainnya. |
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-27 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-27 UTC."],[],[],null,["# Capture traces\n\nYou can capture traces on the\n[device](/docs/core/graphics/winscope/capture/on-device),\nthrough\n[Winscope](/docs/core/graphics/winscope/capture/winscope),\nor through\n[Android Debug Bridge (adb)](/docs/core/graphics/winscope/capture/adb)\ncommands.\n\nIn Winscope, you can retrieve the latest traces collected from a device during\nthe previous session. This feature is especially helpful when facing connection\nissues, such as using ADB over Wi-Fi, or when Winscope closes unexpectedly. If\nthere are no traces from the last session, Winscope displays **No valid trace\nfiles found**.\n\nError messages\n--------------\n\nWinscope shows the following messages during trace collection:\n\n| Message | Description |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|\n| No trace targets selected | No trace checkboxes are selected. |\n| Errors occurred during tracing: ERROR: `INVALID_LAYER_STACK`, please check your display state (must be on at start of trace) | A screen recording was requested, but the display was off at the start of trace. |\n| Errors occurred during tracing: A specific error message received from adb command, such as Failed to find valid files for *\\\u003ctrace types requested\\\u003e* | adb couldn't read the trace files, which typically happens when adb isn't running as root. |\n| Errors occurred during tracing: *Tracing time out* | There's a connection issue with the device. |\n| Errors occurred during tracing: *{inner error}* | This message covers all other errors. |"]]