今天试着编译一下K9Mail,找到官方的说明:
- Inside your working copy, make sure you have a directory named 'gen'
- From Eclipse, File > Import
- Under General, select 'Existing Projects into Workspace' and click Next
- Next to 'Select root directory', Browse to your K-9 working copy
- Click Finish
- In the Package Explorer, right click 'k9mail' and click 'Properties'
- Select 'Java Compiler'
- Check 'Enable project specific settings'
- Set the 'Compiler compliance level' to 1.6
- Click OK
在Android 2.3.1下调试通过。
附:
K9Mail: