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

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

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

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

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