Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Use as instruções nesta página para fazer upload de um APK validado para o Google Play.
Validar os arquivos proto
Coloque os seguintes arquivos na pasta de recursos do APK em assets/tuningfork:
dev_tuningfork.proto
tuningfork_settings.txt
Diversos arquivos dev_tuningfork_fidelityparams_i.txt,
em ordem de fidelidade crescente
A ferramenta de validação gera buffers de protocolo serializado binários (.bin)
dos arquivos de configurações e de parâmetros de fidelidade padrão no diretório
assets/tuningfork. A ferramenta fica localizada no diretório
src/tuningfork/tools/validation.
A ferramenta de validação gera arquivos binários
Execute os comandos a seguir para validar o projeto de amostra. Substitua uma das opções
a seguir por seu sistema operacional (LOCAL_OS):
Execute seu jogo no modo de depuração e valide a saída usando logcat ou o
app Tuning Fork Monitor.
Confirme se você e outros engenheiros de jogos relevantes têm acesso ao Android
vitals no Google Play Console.
Fazer upload e publicar
Para receber insights de desempenho, faça upload do seu novo APK no
Google Play Console e crie uma versão. Você pode lançar versões no Google Play para
faixas de teste ou para toda a base de usuários. Para ver mais informações sobre como criar uma
versão, consulte a
documentação da Central de Ajuda do Console.
Depois de publicar seu APK, você pode receber novos insights de desempenho dos
usuários no Google Play Console em Android vitals > Desempenho >
Insights. Para ver mais informações, consulte a documentação de insights de desempenho.
O conteúdo e os exemplos de código nesta página estão sujeitos às licenças descritas na Licença de conteúdo. Java e OpenJDK são marcas registradas da Oracle e/ou suas afiliadas.
Última atualização 2025-08-26 UTC.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-26 UTC."],[],[],null,["Use the instructions on this page to upload a validated APK to Google Play.\n\nValidate the proto files\n\nPlace the following files in your APK assets folder under `assets/tuningfork`:\n\n- `dev_tuningfork.proto`\n- `tuningfork_settings.txt`\n- Several `dev_tuningfork_fidelityparams_`\u003cvar translate=\"no\"\u003ei\u003c/var\u003e`.txt` files, in increasing fidelity order\n\nThe validation tool generates binary (`.bin`) serialized protocol buffers of the\nsettings and default fidelity parameters files in the `assets/tuningfork`\ndirectory. The tool itself is located in the `src/tuningfork/tools/validation`\ndirectory.\n\n\nThe validation tool generates binary files\n\nRun the following commands to validate the sample project. Substitute one of the\nfollowing for your operating system (`LOCAL_OS`):\n\n- `mac`\n- `win`\n- `linux-x86`\n\n cd gamesdk/src/tuningfork/tools/validation\n java -jar build/libs/TuningforkApkValidationTool.jar \\\n --tuningforkPath ../../../../samples/tuningfork/insightsdemo/app/src/main/assets/tuningfork \\\n --protoCompiler ../../../../third_party/protobuf-3.0.0/install/\u003cvar translate=\"no\"\u003eLOCAL_OS\u003c/var\u003e/bin/protoc\n\nOutput ending in the following appears: \n\n ...\n\n May 19, 2020 3:42:11 PM com.google.tuningfork.validation.TuningforkApkValidationTool main\n INFO: Tuning Fork settings are valid\n\nFor more information on running the validation tool, see the\n[`validation tool README`](https://android.googlesource.com/platform/frameworks/opt/gamesdk/+/refs/heads/master/src/tuningfork/tools/validation).\n\nReview the integration checklist\n\nBefore uploading your APK to the Google Play Console, do the following:\n\n- Review and, if necessary, update your app's [Privacy Policy](/games/sdk/performance-tuner/custom-engine/enable-api#privacy)\n- Integrate the [Android Frame Pacing library](/games/sdk/frame-pacing) into your project\n- Provide [fidelity parameters](/games/sdk/performance-tuner/custom-engine/define-parameters#annotations-and-fidelity-parameters) and all of your app's [quality levels](/games/sdk/performance-tuner/custom-engine/define-parameters#define-quality-levels)\n- Record when your game is performing [loading events](/games/sdk/performance-tuner/custom-engine/loading-functions)\n- Successfully run the [validation tool](#validate)\n- Run your game in debug mode and validate the output using `logcat` or the Tuning Fork Monitor app\n- Confirm that you and other relevant game engineers have access to Android Vitals in the Google Play Console\n\nUpload and publish\n\nTo receive performance insights, upload your new APK to the\nGoogle Play Console and create a release. You can release on Google Play to\ntest tracks or to your entire user base. For more information on creating a\nrelease, see the\n[Console Help Center documentation](https://support.google.com/googleplay/android-developer/answer/7159011).\n\nOnce you have published your APK, you can receive new performance insights from\nyour users in the Google Play Console under **Android Vitals \\\u003e Performance \\\u003e\nInsights** . For more information, see the\n[Performance insights documentation](https://support.google.com/googleplay/android-developer/answer/9876283)."]]