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

  • Home
  • SEARCH
  • 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 7922575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T17:00:43+00:00 2026-06-03T17:00:43+00:00

I am working on an Android project – so far so good. Today I

  • 0

I am working on an Android project – so far so good.
Today I added some extra Java code to the project – I will call it here calcCode. This is some code doing calculations in the background and is not Android specific – I will just be using it in my project.

I added that new code to a different package than my Android code under the same project.

So what I have is:

Project
 AndroidPackage
  AndroidCode
 SomeJaveCodePackage
  UtilityCode

For some reason, when I try to debug the calcCode I get this annoying source not found error. Still – the code runs and delivers the correct results as always. I took the calcCode from some other project and copied the files into my new Android project. When I couldn’t see the source I deleted all the calcCode files and manually created them by first creating a class file under the relevant package and then copy-pasted the code in. I thought this will help Eclipse recognize the path of the classes.

I also tried to: “Edit Source Lookup Path” and add the source code of the class I was trying to debug.

This didn’t change anything – I can still not debug the code.
I read several answers to this issue on StackOverflow. Most deal with Junit and Tomcat and I followed their recommendations but it didn’t change the situation.

Anyone knows why this is happening?

I have Eclipse Indigo.


EDITED after m0skit0’s remarks:
Thank you m0skit0 for the help. I meant to ask only one question (I might have mixed up stuff on the way). My question is: Why can’t Eclipse find my own code while I debug it. It used to work in a former project (that I was able to follow the code through all the app’s course during debug).

What I do is set a break point at

Tour myTour = new Tour("res/raw/td.csv", "readCSV");

Tour is my own hand-made class. When I press F5 in order to step into it I get the error: java.lang.ClassNotFoundException and in the code window I get Source not found and a button Edit source lookup path.

This is the call stack:

Thread [main] (Suspended)
    ClassNotFoundException(Throwable).<init>(String, Throwable) line: 286   
    ClassNotFoundException(Exception).<init>(String, Throwable) line: not available 
    ClassNotFoundException(ReflectiveOperationException).<init>(String, Throwable) line: not available  
    ClassNotFoundException.<init>(String) line: not available   
    URLClassLoader$1.run() line: not available  
    URLClassLoader$1.run() line: not available  
    AccessController.doPrivileged(PrivilegedExceptionAction<T>, AccessControlContext) line: not available [native method]   
    Launcher$ExtClassLoader(URLClassLoader).findClass(String) line: not available   
    Launcher$ExtClassLoader(ClassLoader).loadClass(String, boolean) line: not available 
    Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: not available 
    Launcher$AppClassLoader.loadClass(String, boolean) line: not available  
    Launcher$AppClassLoader(ClassLoader).loadClass(String) line: not available  
    TestAllPlayAll.main(String[]) line: 15  

Thanks,
D

  • 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-03T17:00:44+00:00Added an answer on June 3, 2026 at 5:00 pm

    The problem is solved. The sad thing is that I don’t know the solution. What I did was simply to open a new project and use the code there. After I did this i could debug the code with no problem.

    Sorry I couldn’t contribute to REALLY solving this issue and help the community with the answer to my own question.

    Thanks to all that tried to help,
    D.

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

Sidebar

Related Questions

I have an Android project in eclipse IDE which was working. After some imports
I'm working on android unity3d project where I want to post some stuff to
I've got an Android project I'm working on that, ultimately, will require me to
i am working on Android project using Eclipse Eclipse IDE for Java Developers Version:
I'm working on an android project that involves native code and I'm trying to
I am working on an Android project and I want to raise some kind
I'm working on Android project where I'm collecting some information from web server. Everytime
When I'm working on Android project I would like to use some magic shortcut
I'm working on an Android project and I am using the NDK to call
I'm working on a little Android project in java, I'm using the webapi of

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.