简体   繁体   中英

android- How to run the program when i am getting error

Running the application in the Eclipse i am getting the following error.How to handle that.

[2011-06-29 10:35:46 - Roadbrake] Android requires.class compatibility set to 5.0. Please fix project properties.

thanks

this kind of error will ganrate when u use the android version which is support the JDK is not match in your computer

for that trace the path in eclipse:: project>>property>>java Compiler.. set the JDK 1.6

Under project properties (select project, then Alt+Enter).

Find Java Compiler, and change the Compiler compliance level:项目属性

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM