无法解决本地Android应用程序崩溃

无法解决本地Android应用程序崩溃,android,adt,Android,Adt,我的应用程序运行完全正常,直到每次尝试启动时,它都会给我以下错误消息: “很遗憾,[应用程序名称]已停止” 无论是在模拟器上还是在调试模式下的设备上,我都会遇到相同的崩溃 manifest.xml文件: <activity android:name="com.***.android.activities.SplashScreenActivity" android:configChanges="orientation|keyboard|screenSize" android:labe

我的应用程序运行完全正常,直到每次尝试启动时,它都会给我以下错误消息:

“很遗憾,[应用程序名称]已停止” 无论是在模拟器上还是在调试模式下的设备上,我都会遇到相同的崩溃

manifest.xml文件:

    <activity android:name="com.***.android.activities.SplashScreenActivity" android:configChanges="orientation|keyboard|screenSize" android:label="@string/app_name" android:noHistory="true" android:theme="@android:style/Theme.NoTitleBar">
        <intent-filter>
            <action android:name="android.intent.action.MAIN"/>
            <category android:name="android.intent.category.LAUNCHER"/>
        </intent-filter>
    </activity>

我检查了构建路径,重新安装了所有组件,甚至将项目导出到另一台计算机上,在这台计算机上运行良好,我唯一能确定的是它是本地的,但我不能指出它。

呈现的异常显示为他在运行时找不到活动,以及它的声明和调用方式

尝试:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.***.android"
...

 <activity android:name=".activities.SplashScreenActivity" android:configChanges="orientation|keyboard|screenSize" android:label="@string/app_name" android:noHistory="true" android:theme="@android:style/Theme.NoTitleBar">
        <intent-filter>
            <action android:name="android.intent.action.MAIN"/>
            <category android:name="android.intent.category.LAUNCHER"/>
        </intent-filter>
    </activity>
好的,
因此,问题在于SDK rev 22的一些更改。。
考虑到它是一个库项目(比如我的),它不会识别支持库。
您可以签出或只需执行以下步骤:

对于所有项目(应用程序和库):

  • 在项目上单击鼠标右键,然后选择“属性”
  • 转到Java构建路径顺序并导出
  • 勾选“Android私有库” ---(可选)如有必要,清洁所有项目

  • 从引用的帖子中向尼古拉致意

    只需在您选择的包名中尝试.SplashScreenActivity即可。。。。!!顺便说一句,你知道包名约定吗?我刚改成了***。。。公司规则。。不管怎样,我已经找到了解决方案,显然谷歌已经在sdk rev 22上做了一些更改(见我的答案)@PareshMayani
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.***.android"
    ...
    
     <activity android:name=".activities.SplashScreenActivity" android:configChanges="orientation|keyboard|screenSize" android:label="@string/app_name" android:noHistory="true" android:theme="@android:style/Theme.NoTitleBar">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>