1. Download our Official Android App: Forums for Android!

Apps Class File Editor; source not found; change attached source

Discussion in 'Android Development' started by krishna.c, Apr 25, 2011.

  1. krishna.c

    krishna.c Newbie
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    15
    Joined:
    Apr 13, 2011

    Apr 13, 2011
    15
    0
    15
    Hello,

    In the following program, the debugger enters and exits the lines in bold. Why doesn't it step-on to the proceeding lines? Instead, it throws the following message:

    Class File Editor

    Source not found
    -----------------
    The source attachment does not contain the source for the file Instrumentation.class. (What is this Instrumentation.class?)

    Change Attached source (button)


    __________________________________________________________
    package com.hascode.tutorial.soap;

    import javax.jws.WebMethod;
    import javax.jws.WebService;

    import android.app.Activity;
    import android.os.Bundle;

    public class testWSActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
    }


    @WebService
    public class testWS extends testWSActivity{
    @WebMethod(operationName = "getInfo")
    public String getInformation() {
    return "hasCode.com";
    }

    public String doubleString(String inString) {
    return inString + inString;
    }

    }

    }
     

    Advertisement

  2. mehfal

    mehfal Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jul 22, 2013

    Jul 22, 2013
    1
    0
    5
    I had the same problem and i soled it in this way. The activity I was trying to invoke was not defined in the androidmanifest.xml.
    Good luck
     

Share This Page

Loading...