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

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

رمز الاستجابة 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

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

تحذير "لا معلمات: لا توجد معلمات دقة" وعرض "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

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

ملفات 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. راجع إعدادات المشغل > إعدادات أخرى > الضبط > إصدار وقت تشغيل البرمجة النصية.

DownloadSceneTracker.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 من إعدادات المشغّل > رموز تحديد النصوص البرمجية.