1. From the Apkbus download a source code, want to study, the result is wrong, after a variety of Baidu, experiment, finally solved, and now record a bit.
File-import Import the source file.
Res-values-styles.xml compile error, prompting no resource found that matches the given name ' Theme.AppCompat.Light '. Sort of, view project Project.proties file
Found referencing the APPCOMPAT_V7 project, Baidu, found that the high version wanted to reference the lower version of the API when it was necessary to use APPCOMPAT_V7 this version, so we added appcompat_v7 this class library,
Need to ensure that SDK Manager has downloaded V7 support
, directory structure
Directly referencing the new class library allows you to
Found values-21 error after import, Solution SDK Manager inside download API21 sdk,project.proties inside Target changed to, Project clean can ... There's a little step back.
Source Code project Reference AppCompat class library ... Property: Android:add
or an error,
Try adding bulid path, add to Build path ... Configur Lib still does not work.
Baidu, need to put the source directory and AppCompat directory down a disk, look at the front of the path, respectively, placed on the C and D disk, delete and try again
Re-add Class library, res directory does not error ...
This actionactivity also reported wrong, change to activity on it ...
Eclipse import someone else's source code, error resolution process