我在安装应用程序后得到了这张图片。 无法打开它,并且 Logo 不在我的主菜单中 但该包位于设置的应用程序列表中。 有人能看出出了什么问题吗?
https://www.dropbox.com/s/m444te4482wycfo/Screenshot_2013-11-19-19-14-21.png
我已将我的 list 放在下面
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.zimzux.soundapprhk"
android:versionCode="2"
android:versionName="1.1" >
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="18" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar" >
<activity
android:name="com.zimzux.soundapprhk.Opstart"
android:label="@string/app_name" >
<intent-filter>
<action android:name="com.zimzux.soundapprhk.OPSTART" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.zimzux.soundapprhk.Start"
android:label="@string/app_name" >
<intent-filter>
<action android:name="com.zimzux.soundapprhk.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
</manifest>
我的LogCat
11-19 19:35:16.552: D/dalvikvm(6033): GC_FOR_ALLOC freed 41K, 5% free 6885K/7175K, paused 29ms
11-19 19:35:16.562: I/dalvikvm-heap(6033): Grow heap (frag case) to 8.158MB for 1440016-byte allocation
11-19 19:35:16.622: D/dalvikvm(6033): GC_CONCURRENT freed 2K, 4% free 8289K/8583K, paused 2ms+13ms
11-19 19:35:16.722: D/ViewRootImpl(6033): pckname = com.zimzux.soundapprhk
11-19 19:35:16.752: D/libEGL(6033): loaded /system/lib/egl/libEGL_mali.so
11-19 19:35:16.762: I/dalvikvm(6033): threadid=3: reacting to signal 3
11-19 19:35:16.772: I/dalvikvm(6033): Wrote stack traces to '/data/anr/traces.txt'
11-19 19:35:16.782: D/libEGL(6033): loaded /system/lib/egl/libGLESv1_CM_mali.so
11-19 19:35:16.782: D/libEGL(6033): loaded /system/lib/egl/libGLESv2_mali.so
11-19 19:35:16.802: D/OpenGLRenderer(6033): Enabling debug mode 0
最佳答案
可用应用程序列表中没有图标,因为您没有与以下 <intent-filter>
相关的 Activity :
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
Android使用这个<intent-filter>
以确定用户可以启动哪些 Activity 。
关于android - 安装应用程序后出现未知错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20080373/