Have you changed it in the manifest, moved the classes to the new package and changed the declaration on the top of each class.
On Sat, Nov 26, 2011 at 11:38 AM, vijay pratap <[email protected]>wrote: > hiii, > i am trying to customize an android app but on change on the package name, > registration not took place. could any one help me. > > logcat errors: > 11-26 11:21:26.434: E/SIP SRV(24784): java.lang.NoClassDefFoundError: > com.abc.utils.TimerWrapper > > 11-26 11:21:26.434: E/SIP SRV(24784): at > org.pjsip.pjsua.pjsuaJNI.create(Native Method) > > 11-26 11:21:26.434: E/SIP SRV(24784): at > org.pjsip.pjsua.pjsua.create(pjsua.java:62) > > 11-26 11:21:26.434: E/SIP SRV(24784): at > org.pjsip.pjsua.pjsua.create(pjsua.java:62) > 11-26 11:21:26.434: E/SIP SRV(24784): at > com.myapp.service.SipService.startSipStack(SipService.java:1095) > > 11-26 11:21:26.434: E/SIP SRV(24784): at > com.myapp.service.SipService.access$12(SipService.java:1077) > > 11-26 11:21:26.434: E/SIP SRV(24784): at > com.myapp.service.SipService$StartRunnable.doRun(SipService.java:1623) > > 11-26 11:21:26.434: E/SIP SRV(24784): at > com.mobilesoftphone.service.SipService$SipRunnable.run(SipService.java:1697) > > 11-26 11:21:26.434: E/SIP SRV(24784): at > com.myapp.service.SipService$SipServiceExecutor.executeInternal(SipService.java:1610) > > 11-26 11:21:26.434: E/SIP SRV(24784): at > com.myapp.service.SipService$SipServiceExecutor.handleMessage(SipService.java:1602) > > 11-26 11:21:26.434: E/SIP SRV(24784): at > com.myapp.service.SipService$SipServiceExecutor.handleMessage(SipService.java:1602) > > 11-26 11:21:26.434: E/SIP SRV(24784): at > android.os.Looper.loop(Looper.java:143) > > 11-26 11:21:26.434: E/SIP SRV(24784): at > android.os.HandlerThread.run(HandlerThread.java:60) > > 11-26 11:21:26.434: E/SIP SRV(24784): Caused by: > java.lang.ClassNotFoundException: com.abc.utils.TimerWrapper in loader > dalvik.system.PathClassLoader[/data/app/com.myapp-1.apk] > > 11-26 11:21:26.434: E/SIP SRV(24784): at > dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240) > > 11-26 11:21:26.434: E/SIP SRV(24784): at > java.lang.ClassLoader.loadClass(ClassLoader.java:551) > > 11-26 11:21:26.434: E/SIP SRV(24784): at > java.lang.ClassLoader.loadClass(ClassLoader.java:511) > > > if i don't change the packeage name "com.abc.utils", there is no error, > and TimerWraper.java class is assesable. On changing the package name > refrence is not automatically change. > if anyone can suggest the solution, Please let me know... > > Thanks > > > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Raghav Sood http://www.androidactivist.org/ - Author http://www.appaholics.in/ - Founder -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

