Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No static method - setAppName #23

Open
giovanniPolatoO opened this issue Oct 5, 2023 · 1 comment
Open

No static method - setAppName #23

giovanniPolatoO opened this issue Oct 5, 2023 · 1 comment

Comments

@giovanniPolatoO
Copy link

Fatal Exception: java.lang.NoSuchMethodError: No static method (Ljava/lang/String;)V in class Lcom/adform/adformtrackingsdk/a; or its super classes (declaration of 'com.adform.adformtrackingsdk.a' appears in base.apk)

Android version: Android 8 API 26
SDK versione: 2.5.5 (com.adform.tracking.sdk:adform-tracking-sdk:2.5.5)

I get this error inside onCreate of my first activity, when I setup AdFormTracking

AdformTrackingSdk.setAppName("DemoAndroid");
trackPoint = new TrackPoint(TRACKING_ID);
AdformTrackingSdk.startTracking(this, TRACKING_ID);
AdformTrackingSdk.setFacebookAttributionIdTrackingEnabled(false);

Excepition generate from the first line "setAppName".

With previous version this error not happened

@rprunskas
Copy link
Contributor

Have you attempted to clean up and rebuild your Android project using Adform Tracking SDK version 2.5.5?

If you are using obfuscation, please check the ProGuard rules at:
https://github.com/adform/adform-tracking-android-sdk#proguard-rules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants