排解常見錯誤
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本主題說明如何診斷及修正常見錯誤。系統會根據錯誤代碼或記錄訊息分成不同部分。
回應代碼 400
Connecting to: https://performanceparameters.googleapis.com/v1/applications/...
TuningFork:Web: Response code: 400
TuningFork:Web: Response message: Bad
如果您的 API 金鑰無效,則可能會收到這則錯誤訊息。請參閱啟用 API 一節。
回應代碼 403
TuningFork:Web: Connecting to: https://performanceparameters.googleapis.com/v1/applications/...:generateTuningParameters
TuningFork:Web: Response code: 403
TuningFork:Web: Response message: Forbidden
如果未啟用 API 金鑰,或對限制 API 金鑰時發生錯誤 (例如,使用的憑證或雜湊值有誤),則可能會收到這則錯誤訊息。請參閱啟用 API 一節。
記錄檔中顯示「無參數:無擬真參數」警告和「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
這些是 Tuning Fork 程式庫在檢查應用程式是否設有可進行偵錯旗標時所發出的無害警告。儘管較為冗長,但屬於無害警告,並不代表程式庫的整合過程會發生問題。
您可以忽略這些警告。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-08-26 (世界標準時間)。
[null,null,["上次更新時間:2025-08-26 (世界標準時間)。"],[],[],null,["This topic contains information on how to diagnose and fix common errors. It is\ndivided into sections based on error codes or 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/custom-engine/enable-api).\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\n[Enable the API](/games/sdk/performance-tuner/custom-engine/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**."]]