您的位置:首页 > 移动开发 > Android开发

安卓程序在模拟器上运行时出现的问题

2014-03-10 13:32 281 查看
在运行安卓程序时出现这个错误 

Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.

 Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.

是因为工程列表里面多了Android Dependencies这个文件,右键选择build path,然后选择Remove from build path.

显示No Launcher activity found错误

项目配置文件AndroidManifest.xml里面没有配置启动项,在<application></application>中少了这段代码

<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  安卓 android
相关文章推荐