When you create a new Android4.4 (KK)-based Android project on Eclipse ADT, even HelloWorld's starter projects will fail to compile, and will report the following error "Thecontainer ' Android Dependencies ' References non existing library '/home/omar/workspace/appcompat_v7/bin/appcompat_v7.jar ' ". The reason is Appcompat_v7.jar .
APPCOMPAT_V7 is a new Compatibility pack that ADT 22.6 joins after, so-called compatibility packs are some classes or components that help lower versions of compatible versions, allowing projects that invoke the version API to run smoothly on low-version machines.
This is because I have contact with the Android short time, the foundation is poor, the level of catching the urgency of a conference finally can not or turn over the wall to Google (Baidu Garbage technology dogs can only see the yellow map)
The following solution is as follows (great God and experienced auto drifting over, now think of really small white question)
Method One:
The solution can be consulted: https://developer.android.com/tools/support-library/setup.html
The problem is mainly addressed as follows:
要通过SDK管理器下载支持库:
- 启动了Android SDK管理器 。
- 在SDK管理器窗口中,滚动到软件包列表的末尾,找到Extras文件夹 ,如果有必要,展开以显示其内容。
- 选择Android支持库项目。
注意:如果你正在开发采用Android Studio中,选择和安装Android支持信息库项目来代替。
- 点击安装包...按钮。
- After the download is ready for development
Method Two: (recommended)
Choose compatible with the lowest API and Android system choose 4.0 to solve, anyway 4.0 phone also basically eliminated, even if there is not your user group it!
The solution is as follows: the Minimum SDK version (Minimum Required SDK) is specified as API 14 (i.e. Android 4.0) when a new case is created, and will not appear appcompat_v7. It was initially thought that the new version would be compatible with the older version of Android (ie, Android 4.0).
Do now, technology just to change life!
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
APPCOMPAT_V7 caused by the new Android project compiled but the problem