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!
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.