java - activitythread.performlaunchactivity(activitythread$activityclientrecord intent) source not found -


then when press f8 : zygoteinit$methodandargscaller.run() source not found

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.copyup" android:versioncode="1" android:versionname="1.0" >  <uses-sdk     android:minsdkversion="8"     android:targetsdkversion="17" />  <application     android:allowbackup="true"     android:icon="@drawable/ic_launcher"     android:label="@string/app_name"     android:theme="@style/apptheme" >     <activity         android:name="com.example.copyup.mainactivity"         android:label="copy up" >         <intent-filter>             <action android:name="android.intent.action.main" />             <category android:name="android.intent.category.launcher" />         </intent-filter>     </activity>           <activity          android:name=".game"         android:label="copy up">              </activity>                     <activity          android:name=".rules"         android:label="copy up!">              </activity>             <activity          android:name=".scores"         android:label="copy up!">              </activity>                     <activity          android:name=".learncircle"         android:label="copy up!">              </activity>                             <activity          android:name=".learnhoriz"         android:label="copy up!">              </activity>                             <activity          android:name=".learnvert"         android:label="copy up!">              </activity>                             <activity          android:name=".learnmenu"         android:label="copy up!">              </activity>  </application>  </manifest> 

and code:

package com.example.copyup;   import android.os.bundle; import android.app.activity; import android.content.intent; import android.view.view; import android.widget.button;  public class mainactivity extends activity { button start, rules, hs, learn;  @override public void oncreate(bundle savedinstancestate) {     super.oncreate(savedinstancestate);     setcontentview(r.layout.activity_main);     linktoxml();   start.setonclicklistener(new view.onclicklistener() {         public void onclick(view v) {              intent myintent = new intent(mainactivity.this, game.class);             mainactivity.this.startactivity(myintent);          }      });     /*     rules.setonclicklistener(new view.onclicklistener() {         public void onclick(view v) {              intent myintent = new intent(mainactivity.this, rules.class);             mainactivity.this.startactivity(myintent);          }      });      hs.setonclicklistener(new view.onclicklistener() {         public void onclick(view v) {              intent myintent = new intent(mainactivity.this, scores.class);             mainactivity.this.startactivity(myintent);          }      });      learn.setonclicklistener(new view.onclicklistener() {         public void onclick(view v) {              intent myintent = new intent(mainactivity.this, learnmenu.class);             mainactivity.this.startactivity(myintent);          }      });*/      //show shape, take reading after 4 seconds, compare other, if true   next, if false, end game     //dont make complex time reduce yet!! }   private void linktoxml() {     start = (button) findviewbyid(r.id.bcstart);     rules = (button) findviewbyid(r.id.brules);     hs = (button) findviewbyid(r.id.bhs);     learn = (button) findviewbyid(r.id.blearn);  } } 

i have tried cleaning project, re-writing manifest , can possible think of. works if comment out links buttons in code , leave them in manifest moment uncommnet them these errors, please help!!!

the problem activity throw exception. eclipse looks source code in android sdk , can't find it.

just debug code , find out code throw exception.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -