当前位置:编程学习 > wap >>

No Launcher activity found

 运行Eclipse时出现了这个错误
No Launcher activity found!
 The launch will only sync the application package on the device!
能出来avd模拟界面 但是界面里的菜单里没有做的程序图标
各位帮忙解决一下啊 急啊  --------------------编程问答-------------------- <category android:name="android.intent.category.LAUNCHER" />
在 AndroidManifest.xml 中 把 LAUNCHER 打开 
我怀疑就是这个问题 因为如果没有这句话 程序就没有入口图标!!
--------------------编程问答-------------------- 重建一个AVD试试。 --------------------编程问答-------------------- http://blog.csdn.net/whwzm88/article/details/6342583 --------------------编程问答-------------------- 我重建了avd 不管用 --------------------编程问答-------------------- <category android:name="android.intent.category.LAUNCHER" />
我里面有个 --------------------编程问答-------------------- 楼主你这个问题解决了吗? --------------------编程问答-------------------- 可能是你的这个程序开始运行的时候并不是以activity的形式存在的,像widget或者service那样,导入那样的源码就有这个问题,希望对楼主有帮助 --------------------编程问答-------------------- 有时候avd吃资源很厉害,你看下cpu占用率高不?如果很高的话先建议你删掉一些无用的程序,再不然的话,就重启计算机! --------------------编程问答-------------------- <activity ....>
                <category android:name="android.intent.category.LAUNCHER" />
</activity>
确定包在中间了?我遇到类似问题,解决了 --------------------编程问答-------------------- 赞同7楼!!!可是咋解决呢???? --------------------编程问答-------------------- 3楼正解 --------------------编程问答-------------------- 确定文件不是只读…… --------------------编程问答-------------------- 楼主试试看,filter里有且仅有这两句:
            <intent-filter>             
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />              
            </intent-filter> 
补充:移动开发 ,  Android
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,