문제

I am trying to add a search interface based on the android docs. However, my target api level is 8, which is gingerbread (i think) but the eclipse, as well as the docs says the target api level must be 11 (honey comb). How could I resolve this issue? Thanks!

도움이 되었습니까?

해결책

If you read the docs page in the link you posted in your comment on your question it says...

Note: Later in this class, you will learn how to make your app compatible down to Android 2.1 (API level 7) for devices that do not support SearchView.

You need to look at Remaining Backward Compatible which uses the v7 compatibility library to supporrt back to API 7 (Eclair). BTW, API 8 is Froyo (Android v2.2).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top