安卓程序在模拟器上运行时出现的问题
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" />
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" />
相关文章推荐
- Xcode6里面ios7.0模拟器运行程序时上下出现黑边的问题
- 在Eclipse中运行C++程序出现"Launch failed. Binary not foud"和"Program file not Specified"的问题
- 如何利用跑app较快的第三方模拟器连接eclipse,来运行安卓程序。
- 运行hadoop程序出现问题:Unable to load native-hadoop library for your platform
- VS2015+opencv,按照网上的VS2013教程配置的,运行的时候出现【无法启动此程序,因为计算机中丢失MSVCP120D.dll。尝试重新安装该程序以解决问题。】
- 关于用g++编译后运行时出现的问题:无法定位程序输入点__gxx_personality_v0
- 【经验随笔】Java程序远程调试定位特定运行环境上出现的问题
- visual studio 2010 出现问题,不能设置断点调试了,一运行就未响应,然后程序退出
- You must restart adb and Eclipse 运行安卓程序出现的错误
- 上周程序运行好好的,这周一上班客户端程序出现该问题:Could not find file 'C:\Users\XX\AppData\Local\Temp\
- 修改桌面堆栈大小,解决运行大量程序时出现”Out of Memory”(内存不足)错误信息的问题
- 关于安卓启动模拟器时出现~~~~have you declared this activity in your AndroidMainfest.xml?问题
- 运行yum时出现/var/run/yum.pid已被锁定,PID为xxxx的另一个程序正在运行的问题解决
- 解决svnserve --version输入后出现的不是内部或外部命令,也不是可运行的程序或批处理文件的问题
- 运行yum时出现/var/run/yum.pid已被锁定,PID为xxxx的另一个程序正在运行的问题解决
- 如何利用跑app较快的第三方模拟器连接eclipse,来运行安卓程序。
- win7下运行Excel2007,出现“向程序发送命令时出现问题”的解决
- 有关程序时而正常运行时而出现bug的问题
- 安装SQL Server 2000时出现以下错误提示:“以前的某个程序安装已在安装计算机创建挂起的文件操作,运行安装程序之前必须重新启动计算机” 说明:如果重启计算机无法解决问题,可能有以下两个原因
- 如何解决 X-code5.0中的iOS7.0SDK运行程序时,出现的以下问题:“Could not find a storyboard named 'Main' in bundle NSBundle”