import com.jaspersoft.android.sdk.client cannot be resolved !

0

Dear Team,

After i included UI Project in the Source. i am getting following errors. pfa Screen shots for reference.

Description Resource Path Location Type
img cannot be resolved to a variable ResourceDescriptorArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 79 Java Problem
The method getItem(int) from the type ArrayAdapter<ResourceProperty> refers to the missing type ResourceProperty ResourcePropertyArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 129 Java Problem
dashboard cannot be resolved to a variable ResourceDescriptorArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 76 Java Problem
reportUnit cannot be resolved to a variable ResourceDescriptorArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 73 Java Problem
ResourceProperty cannot be resolved to a type ResourcePropertyArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 129 Java Problem
folder cannot be resolved to a variable ResourceDescriptorArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 70 Java Problem
ResourceProperty cannot be resolved to a type ResourcePropertyArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 77 Java Problem
ResourceProperty cannot be resolved to a type ResourcePropertyArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 72 Java Problem
ResourceDescriptor cannot be resolved to a type ResourceDescriptorArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 95 Java Problem
ResourceProperty cannot be resolved to a type ResourcePropertyArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 67 Java Problem
xml cannot be resolved to a variable ResourceDescriptorArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 83 Java Problem
ResourceProperty cannot be resolved to a type ResourcePropertyArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 62 Java Problem
css cannot be resolved to a variable ResourceDescriptorArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 82 Java Problem
ResourceProperty cannot be resolved to a type ResourcePropertyArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 45 Java Problem
The import com.jaspersoft.android.sdk.client cannot be resolved ResourceDescriptorComparator.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 27 Java Problem
ResourceDescriptor cannot be resolved to a type ResourceDescriptorArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 47 Java Problem
ResourceDescriptor cannot be resolved to a type ResourceDescriptorArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 49 Java Problem
The import com.jaspersoft.android.sdk.client cannot be resolved ResourcePropertyArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 34 Java Problem
The import com.jaspersoft.android.sdk.client cannot be resolved ResourceDescriptorArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 35 Java Problem
ResourceDescriptor cannot be resolved to a type ResourceDescriptorArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 66 Java Problem
ResourceDescriptor cannot be resolved to a type ResourceDescriptorArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 66 Java Problem
ResourceDescriptor cannot be resolved to a type ResourceDescriptorArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 51 Java Problem
ResourceDescriptor cannot be resolved to a type ResourceDescriptorArrayAdapter.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 54 Java Problem
ResourceDescriptor cannot be resolved to a variable ResourceDescriptorComparator.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 48 Java Problem
ResourceDescriptor cannot be resolved to a variable ResourceDescriptorComparator.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 44 Java Problem
ResourceDescriptor cannot be resolved to a variable ResourceDescriptorComparator.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 43 Java Problem
ResourceDescriptor cannot be resolved to a type ResourceDescriptorComparator.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 42 Java Problem
ResourceDescriptor cannot be resolved to a type ResourceDescriptorComparator.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 42 Java Problem
ResourceDescriptor cannot be resolved to a type ResourceDescriptorComparator.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 37 Java Problem
The type ResourceDescriptorComparator must implement the inherited abstract method Comparator<ResourceDescriptor>.compare(ResourceDescriptor, ResourceDescriptor) ResourceDescriptorComparator.java /ui/src/main/java/com/jaspersoft/android/sdk/ui/adapters line 37 Java Problem
 

Attachments: 
rajesh.sm's picture
Joined: Jun 14 2013 - 7:00am
Last seen: 6 years 1 week ago

1 Answer:

0

It isn't an issue with com.jaspersoft.android.sdk.client, it looks like it cannot resolve dependencies from com.jaspersoft.android.sdk.ui.

UI package (com.jaspersoft.android.sdk.ui.) is the Android Library project, not a typical jar-library . You need to include it into your project by adding a reference in the application project's Properties:
 
 
Or just specify dependency with the "apklib" type,  if you're using maven:
 
igadzhega's picture
104
Joined: Jan 16 2011 - 3:44am
Last seen: 5 years 8 months ago
Feedback