تحديد الأخطاء الشائعة وحلّها

تحتوي هذه الصفحة على معلومات حول كيفية تشخيص الأخطاء الشائعة وحلّها. وهو مقسّم إلى أقسام استنادًا إلى رموز الخطأ ورسائل السجلّ.

رمز الاستجابة 400

Connecting to: https://performanceparameters.googleapis.com/v1/applications/...
TuningFork:Web: Response code: 400
TuningFork:Web: Response message: Bad

يمكن أن يظهر لك هذا الخطأ إذا كان مفتاح واجهة برمجة التطبيقات غير صالح. راجِع القسمَين تفعيل واجهة برمجة التطبيقات وضبط المكوّن الإضافي.

رمز الاستجابة 403

TuningFork:Web: Connecting to: https://performanceparameters.googleapis.com/v1/applications/...:generateTuningParameters
TuningFork:Web: Response code: 403
TuningFork:Web: Response message: Forbidden

قد يظهر هذا الخطأ إذا لم يتم تفعيل مفتاح واجهة برمجة التطبيقات أو إذا حدث خطأ عند تقييد مفتاح واجهة برمجة التطبيقات (على سبيل المثال، إذا استخدمت شهادة أو قيمة تجزئة غير صحيحة). اطّلِع على تفعيل واجهة برمجة التطبيقات.

ظهور التحذير "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

هذه تحذيرات غير ضارة تصدرها مكتبة Tuning Fork عند التحقّق مما إذا تم ضبط علامة إمكانية تصحيح الأخطاء في التطبيق. على الرغم من أنّها مطوّلة، إلا أنّها غير ضارة ولا تشير إلى حدوث مشكلة في دمج المكتبة. يمكنك تجاهل هذه التحذيرات.

ملفات Google.Protobuf.dll متعدّدة

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

قد يظهر لك أحد هذه الأخطاء إذا كان مشروعك يحتوي على عدة ملفات Google.Protobuf.dll. يجب إزالة أحد الملفات .dll لحلّ هذا التعارض.

محاولة استدعاء الطريقة ... التي لم يتم إنشاء رمز لها مسبقًا (AOT)

ExecutionEngineException: Attempting to call method 'Google.Protobuf.Reflection.ReflectionUtil+ReflectionHelper' ... for which no ahead of time (AOT) code was generated.

قد يظهر هذا الخطأ في بعض إصدارات Unity. يحدث هذا الخطأ إذا لم يكن برنامج التحويل البرمجي AOT ينشئ رمزًا للطُرق العامة. للحصول على معلومات حول كيفية فرض إنشاء الرمز المطلوب، يُرجى الاطّلاع على القسم الترجمة المسبقة (AOT).

لا يتوفّر اسم النوع أو مساحة الاسم "Protobuf" في مساحة الاسم "Google"

The type or namespace name `Protobuf' does not exist in the namespace `Google'. Are you missing an assembly reference?

تأكَّد من أنّ مشروعك يستخدم NET 4.x. تحقَّق من إعدادات المشغّل > إعدادات أخرى > الإعداد > إصدار وقت تشغيل البرامج النصية.

LoadingSceneTracker.cs: لم يتم العثور على اسم النوع أو مساحة الاسم FidelityParams

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?)

أزِل ANDROID_PERFORMANCE_TUNER_UTILITIES من إعدادات اللاعب > رموز تعريف البرمجة النصية.