开发者

ActivityNotFoundException - Android application using fb login and google maps

I get the

ERROR/AndroidRuntime(609): android.content.ActivityNotFoundException: Unable to find explicit activity class {mark.the.map/mark.the.map.ShowTheMap}; have you declared this activity in your AndroidManifest.xml?

error and I'm sure I have declared my activity in the AndroidManifest.xml - here it is:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android开发者_如何学运维="http://schemas.android.com/apk/res/android"

      ...

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

        ...

</manifest>

I have the following app classes :

MarkTheMapActivity (Main) activity FacebookConnect.java ShowTheMap.java

I have tried cleaning the project, rebiuld, restart the Eclipse - nothing happens - the same error shows up. What do you suggest could be the reason for this mistake?


Add the following to your manifest:

<activity android:name=".ShowTheMap" 
</activity>


You have not declared ShowTheMap Activity in AndroidManifest.xml

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜