Hi,
I'm upgrading the SAS SDK android library on an android project. I'm upgrading from 25.0.1 to 26.0.1. The project does build, but I get an NoSuchFieldException on runtime. Does anybody know how to fix this?
The exception:
java.lang.NoSuchFieldError: No static field slidingPanel of type I in class Lcom/sas/android/visualanalytics/toolkit/R$id; or its superclasses (declaration of 'com.sas.android.visualanalytics.toolkit.R$id' appears in /data/app/dk.star.jobindsats.jobindsatsapp-fyq3Mw-wy2Yzt5wXtix0qw==/base.apk!classes3.dex)
Thanks in advance
Hello Alexander,
Do you perhaps have a layout file named report_view.xml in your app? The error you are seeing seems quite similar to this discussion on StackOverflow which indicates that the likely cause is two layout files with the same name:
https://stackoverflow.com/questions/29440321/nosuchfielderror-no-static-field-listview1-of-type-i-in...
Hello Alexander,
Do you perhaps have a layout file named report_view.xml in your app? The error you are seeing seems quite similar to this discussion on StackOverflow which indicates that the likely cause is two layout files with the same name:
https://stackoverflow.com/questions/29440321/nosuchfielderror-no-static-field-listview1-of-type-i-in...
Thanks it worked!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.