如果想要运行别人写的程序出现Android requires .class compatibility set to 5.0. Please fix project properties.的错误
1。首先看看他用的android包是什么版本的。
然后在project->properties->android选项中使用相应的库
在windows->preferences->android选项中使能相应的库
2。如果出现Syntax error,annotations are only available if source level is 5.0 的错误
说明你的java编译器的语法等级太低(不会说相应的术语,都是自己的理解)
首先project->properties->Java Copiler->Configure Workspace Settings...
将Compiler compliance level:改为1.6
|
详细解决方案
Android requires .class compatibility set to 5.0. Please fix project properties
热度:68 发布时间:2023-09-13 19:18:43.0
相关解决方案
- Class not found: com.mchange.v2.c3p0.ComboPooledDataSource,该怎么处理
- org.apache.jasper.JasperException: Unable to compile class for JSP:该怎么解决
- org.apache.jasper.JasperException: Unable to compile class for JSP:解决思路
- !使用JDNI时,报 Cannot create JDBC driver of class '' for connect URL 'null'
- Unable to load class for JSP,该如何处理
- eclipse ee版本 怎么新建和发布 web project
- 新手Dialect class not found
- dynamic web project怎么转成tomcat project
- Caused by: org.hibernate.MappingException: Association references un地图ped class: com.elone.pm.product.dao.TAttribute
- Error creating bean with name 'sessionFactory' defined in class path resource解决方法
- Unable to compile class for JSP找不出异常
- Struts 国际化 i18N properties 数据动态,该如何处理
- Could not load JDBC driver class 咋回事
- No setter found for property 'sessionFactoroy' in class 'com.iBBS.dao.impl.UserI解决思路
- getHibernateTemplate().get(entity.Class,serializabel id) 如何报java.lang.NullPointerException的错误
- 小弟我在tomcat里的Server.xml部署web项目报Error instantiating servlet class
- 问大家一个 dynamic web project 和 tomcat的有关问题
- Jsp + Oracle 怎么取回id,报错getInt not implemented for class oracle.jdbc.driver.T4CRo
- ssh项目hibernate 异常:org.hibernate.MappingException: Association references unmapped class: Message
- java.lang.NoClassDefFoundError: Could not initialize class cn.elvis.utils.JdbcUt,该如何处理
- Cannot load JDBC driver class 'com.microsoft.jdbc.sqlserver.SQLServerDriver'解决方法
- class path resource [applicationContext.xml] does not exist解决方法
- properties. java.io.FileNotFoundException!请高手指教!该怎么处理
- 出现异常:cvs [server aborted]:"passwd" requires write access to the repository
- ids for this class must be manually assigned before calling save(): po.Project解决方法
- android 读取byte[]中的元素解决方案
- android 标题栏兑现方式
- android 中Activity向BroadcastReceiver发送数据,该怎么解决