BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
alexanderEdora
Calcite | Level 5

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

1 ACCEPTED SOLUTION

Accepted Solutions
pratik_phadke
SAS Employee

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...

 

 

 

 

View solution in original post

2 REPLIES 2
pratik_phadke
SAS Employee

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...

 

 

 

 

SAS Innovate 2025: Register Today!

 

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.


Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1389 views
  • 0 likes
  • 2 in conversation