A partire dal 27 marzo 2025, ti consigliamo di utilizzare android-latest-release anziché aosp-main per compilare e contribuire ad AOSP. Per ulteriori informazioni, vedi Modifiche ad AOSP.
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Per testare la build, puoi eseguirla su un emulatore o su un dispositivo reale.
Testa la build su un emulatore
Cuttlefish è un emulatore di dispositivi virtuali utilizzato per testare le build. Per informazioni sull'esecuzione di una compilazione su Cuttlefish, consulta la guida Inizia.
Per i test delle app, incluse le app Google Automotive Services (GAS), utilizza
Android Emulator.
Testa la build su un dispositivo
Lo strumento fastboot ti consente di eseguire il flashing di più tipi di dispositivi rispetto ad Android Flash Tool e può essere utilizzato per eseguire il flashing delle tue build locali sui dispositivi per i test.
I campioni di contenuti e codice in questa pagina sono soggetti alle licenze descritte nella Licenza per i contenuti. Java e OpenJDK sono marchi o marchi registrati di Oracle e/o delle sue società consociate.
Ultimo aggiornamento 2025-07-27 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-27 UTC."],[],[],null,["# Test a build\n\nTo test your build, you can either run your build on an emulator or run (flash)\nit on an actual device.\n| **Note:** If you intend to test your build on a device, remember to obtain the proprietary binaries or your build won't boot successfully. Sometimes the source might have different binaries for different builds and branches. If you obtain binary blobs at this point, you need to unpack them, `m installclean`, and rebuild. For more information on this process, see [Download proprietary binaries](/docs/setup/download#downloading-proprietary-binaries).\n\nTest your build on an emulator\n------------------------------\n\n*Cuttlefish* is a virtual device emulator used to test your builds. For\ninformation on running a build on Cuttlefish, see\n[Get started](/docs/devices/cuttlefish/get-started)\nguide.\n\nFor app testing, including Google Automotive Services (GAS) apps, use\n[Android Emulator](/docs/automotive/start/what_automotive#google-automotive-services-gas).\n\nTest your build on a device\n---------------------------\n\nThe *fastboot* tool lets you to flash more device types than the Android\nFlash Tool and can be use to flash your own local builds to devices for testing.\n\nFor information on using the fastboot command-line tool, see\n[Flash with Fastboot](/docs/setup/test/running)\n| **Note:** Google provides an additional flash tool, called [*Android Flash Tool*](/docs/setup/test/flash) that is intended for use only with prebuilt builds. Android Flash Tool is easier to use than the fastboot, but supports fewer devices."]]