Skip to content

مشکل با Unity 6 #24

@Behnamjef

Description

@Behnamjef

سلام و وقت بخیر. آخرین نسخه از sdk روی یونیتی ۶ به مشکل میخوره. به درستی Initialize میشه ولی موقع فراخوانی تابع Purchase() این ارور رو raise می‌کنه:

AndroidJavaException: java.lang.NoClassDefFoundError: com.farsitel.bazaar.PaymentActivity$Command java.lang.NoClassDefFoundError: com.farsitel.bazaar.PaymentActivity$Command at com.farsitel.bazaar.PoolakeyBridge.purchase(PoolakeyBridge.java:82)
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/enums/EnumEntriesKt;
at com.farsitel.bazaar.PaymentActivity$Command.(PaymentActivity.kt:169)
at com.farsitel.bazaar.PoolakeyBridge.purchase(PoolakeyBridge.java:82)
Caused by: java.lang.ClassNotFoundException: kotlin.enums.EnumEntriesKt
at com.farsitel.bazaar.PaymentActivity$Command.(PaymentActivity.kt:169)
at com.farsitel.bazaar.PoolakeyBridge.purchase(PoolakeyBridge.java:82)
at UnityEngine.AndroidJNISafe.CheckException () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.AndroidJavaObject._Call (System.IntPtr methodID, System.Object[] args) [0x00000] in <00000000000000000000000000000000>:0
at Bazaar.Poolakey.Payment.Purchase (System.String productId, Bazaar.Poolakey.Data.SKUDetails+Type type, System.Action1[T] onStart, System.Action1[T] onComplete, System.String payload, System.String dynamicPriceToken) [0x00000] in <000000000000000000000000000000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions