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 2024

Innovate_SAS_Blue.png

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. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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