1、在libs下创建android-support-v4.jar.properties
2、写入:
src=E:\\Jogickis\\Android\\adt-bundle-windows-x86-20130917\\adt-bundle-windows-x86-20130917\\sdk\\extras\\android\\support\\v4\\src
注意是反双斜杠,后面是support v4 src路径
3、关闭项目,打开项目,OK!
Like the docs say, think about it this way. If you were to do an application like a book reader, you will not want to load all the fragments into memory at once. You would like to load and destroy Fragments as the user reads. In this case you will use FragmentStatePagerAdapter. If you are just displaying 3 "tabs" that do not contain a lot of heavy data (like Bitmaps), then FragmentPagerAdapter might suit you well. Also, keep in mind that ViewPager by default will load 3 fragments into memory. The first Adapter might destroy View hierarchy and re load it when needed, the second Adapter only saves the state of the Fragment and completely destroys it, if the user then comes back to that page, the state is retrieved.
错误:Invalid code signing.The executable 'payload/xxx.app/xxx' must be signed with the certificate that is contained in the provisioning profile。
解决:去除多余的Distribution证书,只留一个,it works。