AppsFlyerSDK / appsflyer-unity-plugin

AppsFlyer Unity Plugin
MIT License
156 stars 64 forks source link

SDK failed to launch in Unity 22.3.44f1 [ClassNotFoundException] #304

Closed binarybehemoth closed 2 months ago

binarybehemoth commented 2 months ago

I tried integrating the SDK (.unitypackage) into my Unity game two days ago.

When I launched the game, the installation was not detected.

Below is the log obtained from LogCat on Android Studio:

Screenshot (398)

github-actions[bot] commented 2 months ago

👋 Hi @binarybehemoth and Thank you for reaching out to us. In order for us to provide optimal support, please submit a ticket to our support team at support@appsflyer.com. When submitting the ticket, please specify:

binarybehemoth commented 2 months ago

The support team was right:

"Generally, This error usually occurs because Unity did not resolve the com.appsflyer:unity-wrapper Please proceed to follow the below steps: Go to Assets >> right-click on AppsFlyer >> External Dependency Manager >> Android Resolver >> click on Force Resolve. Then Go to Assets >> right click on AppsFlyer >> External Dependency Manager >> Version Handler >> Update Make sure to verify again inside Unity >> Preferences >> External tools >> Android SDK is configured correctly."