[英]Why am I getting errors about API version?
I changed the API version in my manifest to: 我将清单中的API版本更改为:
<uses-sdk android:minSdkVersion="14"
android:targetSdkVersion="14" />
However in my code I'm getting an error: 但是在我的代码中出现错误:
Call requires API level 14 (current min is 11):
android.hardware.Camera.Parameters#getMaxNumFocusAreas
What do I need to change? 我需要更改什么?
You might need to update the Eclipse settings for the project. 您可能需要更新项目的Eclipse设置。 Right-click on the project, and look for "Properties -> Android".
右键单击该项目,然后查找“属性-> Android”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.