如果未啟用 API 金鑰,或對限制 API 金鑰時發生錯誤 (例如,使用的憑證或雜湊值有誤),則可能會收到這則錯誤訊息。請參閱「啟用 API」。
記錄檔中顯示「No parameters: no fidelity parameters」警告和「java.lang.NoSuchFieldError」
TuningFork:FPDownload: No parameters: no fidelity parameters
TuningFork: java.lang.NoSuchFieldError: no "[Landroid/content/pm/ApplicationInfo;" field "applicationInfo" in class "Landroid/content/pm/PackageInfo;" or its superclasses
TuningFork: Could not get fidelity params from server : err = 4
PrecompiledAssemblyException: Multiple precompiled assemblies with the same name
Google.Protobuf.dll included for the current platform.
Only one assembly with the same name is allowed per platform. Assembly paths: ...
Error: The imported type `Google.Protobuf.IMessage<T>' is defined multiple times
ExecutionEngineException: Attempting to call method 'Google.Protobuf.Reflection.ReflectionUtil+ReflectionHelper' ... for which no ahead of time (AOT) code was generated.
LoadingSceneTracker.cs: The type or namespace name 'FidelityParams' could not be found (are you missing a using directive or an assembly reference?)
LoadingSceneTracker.cs: The type or namespace name 'Annotation' could not be found (are you missing a using directive or an assembly reference?)
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-08-26 (世界標準時間)。"],[],[],null,["This page contains information on how to diagnose and fix common errors. It is\ndivided into sections based on error codes and log messages.\n\nResponse code 400 \n\n Connecting to: https://performanceparameters.googleapis.com/v1/applications/...\n TuningFork:Web: Response code: 400\n TuningFork:Web: Response message: Bad\n\nYou can get this error if your API key is invalid. See\n[Enable the API](/games/sdk/performance-tuner/unity/enable-api) and section\n[Configure the plugin](/games/sdk/performance-tuner/unity/integrate-plugin#configure).\n\nResponse code 403 \n\n TuningFork:Web: Connecting to: https://performanceparameters.googleapis.com/v1/applications/...:generateTuningParameters\n TuningFork:Web: Response code: 403\n TuningFork:Web: Response message: Forbidden\n\nYou can get this error if your API key is not enabled or you made an error when\nrestricting the API key (for example, you used the wrong certificate or hash\nvalue). See [Enable the API](/games/sdk/performance-tuner/unity/enable-api).\n\n\"No parameters: no fidelity parameters\" warning and \"java.lang.NoSuchFieldError\" shown in logs \n\n TuningFork:FPDownload: No parameters: no fidelity parameters\n TuningFork: java.lang.NoSuchFieldError: no \"[Landroid/content/pm/ApplicationInfo;\" field \"applicationInfo\" in class \"Landroid/content/pm/PackageInfo;\" or its superclasses\n TuningFork: Could not get fidelity params from server : err = 4\n\nThese are harmless warnings emitted by the Tuning Fork library when\nchecking to see if the app has the debuggable flag set. While verbose, they are\nharmless and are not indicative of a problem in the integration of the library.\n**You can ignore these warnings**.\n\nMultiple Google.Protobuf.dll files \n\n PrecompiledAssemblyException: Multiple precompiled assemblies with the same name\n Google.Protobuf.dll included for the current platform.\n Only one assembly with the same name is allowed per platform. Assembly paths: ...\n\n Error: The imported type `Google.Protobuf.IMessage\u003cT\u003e' is defined multiple times\n\nYou can get one of these errors if your project contains multiple\n`Google.Protobuf.dll` files. Remove one of the `.dll` files to resolve this\nconflict.\n\nAttempting to call method ... for which no ahead of time (AOT) code was generated \n\n ExecutionEngineException: Attempting to call method 'Google.Protobuf.Reflection.ReflectionUtil+ReflectionHelper' ... for which no ahead of time (AOT) code was generated.\n\nYou can see this error on some versions of Unity. This error occurs if the AOT\ncompiler is not generating code for generic methods. For information on how to\nforce generate required code, see section\n[Ahead-of-time compile (AOT)](/games/sdk/performance-tuner/unity/initialize-library#aot-compile).\n\nThe type or namespace name 'Protobuf' does not exist in the namespace 'Google' \n\n The type or namespace name `Protobuf' does not exist in the namespace `Google'. Are you missing an assembly reference?\n\nMake sure your project is using **.NET 4.x** . Check **Player Settings \\\u003e Other\nSettings \\\u003e Configuration \\\u003e Scripting Runtime Version**.\n\nLoadingSceneTracker.cs: The type or namespace name 'FidelityParams' could not be found \n\n LoadingSceneTracker.cs: The type or namespace name 'FidelityParams' could not be found (are you missing a using directive or an assembly reference?)\n LoadingSceneTracker.cs: The type or namespace name 'Annotation' could not be found (are you missing a using directive or an assembly reference?)\n\nRemove `ANDROID_PERFORMANCE_TUNER_UTILITIES` from\n**Player Settings \\\u003e Scripting Define Symbols**."]]