Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8806369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:06:34+00:00 2026-06-14T02:06:34+00:00

tl:dr Getting error: Java Build Path Problems – Archive for required library: library in

  • 0

tl:dr Getting error: Java Build Path Problems – Archive for required library: library in project cannot be read or is not a valid ZIP file. This happens for two (~.so) I have included in the build path of an android project being developed in Eclipse. Am I doing something wrong by including the ~.so in the build path?

I am trying to install the SPen SDK in my android project and I am having problems with including some of the native library files (~.so).

I am trying to follow the tutorial specified here: Adding S Pen library to android project. It is point 2-2 on this page.

I include the libspen22.jar to the build path which seems to be fine. But when I tried to run the application I get an error saying Java problems, with a list of 323 items stating that function foo must override a superclass method. I had noticed however that I hadn’t included the ~.so libraries to the build path so I preceeded to add these two libraries to the build path as well. Which stopped the 323 errors but caused 2 new ones – Java Build Path Problems – Archive for required library: library in project cannot be read or is not a valid ZIP file. Am I doing something wrong by including the two ~.so files in the build path for the android project being developed using Eclipse?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T02:06:35+00:00Added an answer on June 14, 2026 at 2:06 am

    Go to Project Properties and set Java Compiler to 1.6 it should help.

    I don’t think you need any *.so for S-Pen

    Anyway, you should not include *.so in your Build Path. Any prebuilt *.so should be specified in your Android.mk like this:

    LOCAL_PATH := $(call my-dir)
    
       include $(CLEAR_VARS)
       LOCAL_MODULE := foo-prebuilt
       LOCAL_SRC_FILES := libfoo.so
       include $(PREBUILT_SHARED_LIBRARY)
    

    Please, refer to Android NDK docs/PREBUILTS.html But again I think it’s because of Java Compiler having been set to 1.5

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

From someone's project, I am getting this error: Java Build Path Problems (1 item)
I am getting this error: Description Resource Path Location Type Archive for required library:
I'm trying to build a java application with gcj but getting the error below.
I'm getting an error: WARNING: Illegal character in path at index 25: file:/C:/Users/bkuhl/Java_Projects/CMT/build/web/WEB-INF/lib/antlr-2.7.6.jar I'm
When using ANT to build my Java application I keep getting this error. I
I'm getting the following error when trying to build my very simple webservice project.
I am getting this error when ever deploying my jsf application java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config at
I'm getting this error when I use MarshallingView to marshal my list (java.util.List) of
I have done simple java app for blackberry, while building am getting following error.
i want to import org.apache.commons.io but i'm getting this error: [info] Compiling 1 Java

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.