开发者

The process android.com.phone has stopped unexpectedly

Am doing one application in android.Whenever am trying to run the application am getting the error "The process android.com.phone has stopped unexpectedly" and "The process android.com.mms has stopped une开发者_JAVA技巧xpectedly".I have searched for the solution but I couldn't find the solution.Can anyone tell me how to fix this problem??

I checked in logcat..The error i got is com.android.phone.phoneApp classnotfound exception

Thanks in advance..


Please have a look in the Error log and LogCat log. You will find more informations there.


I got the same problem and needed some time to find the mistake. Inside my menu class i instantiated a new Class.... it looked like this

Class ourClass = Class.forName("package.name.ClassName);

But inside my manifest the class has been listed, starting with a lowercase character in "android:name":

<activity
        android:name=".className"
        android:label="@string/app_name" >

Of course, Thorben is right, the LogCat just prints out, the Class couldn't be found, but sometimes a tiny mistake like this can be overlooked.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜