Project needs to use viewpager, do not hesitate to introduce the official android-support-v4.jar
The development process is not surprising. Two problems occurred during signature packaging.
1. An error occurred while exporting the signature APK using eclipse.
[2011-11-03 16:07:52 - AndroidViewPager] Proguard returned
1. add android-support-v4 error Java.lang.ClassNotFoundException:android.support.v4.view.ViewPager In Loadeproblem: after using Viewpager to add Android-support-v4.jar after the demo
1.Add android-support-v4 error java. lang. ClassNotFoundException: android. support. v4.view. ViewPager in loade
Problem:The following error is prompted after adding a android-
Conflict resolution at the time of quoting Android-support-v4.jarWhen developing applications, it's hard to avoid using many third-party open source projects that use the Android-support-v4.ja
Just learning the use of Viewpager, so want to watch its source code. The internet to find a lot of information about the steps below1: Find Libs/android-support-v4.jar, build path-add to build Path2:java Build path-librariesAndroid-support-
.
If you prefer git, clone and checkout the latest stable version.Step 2: Create a module with intellij idea
Switch to idea
OpenFile > Project Structure
SelectModulesOn the left pane
Click on the plus sign above the second column, and chooseModule
Add ModuleWindow will appear. SelectCreate module from existing sourcesOption
Click on the button right next to the textbox
A tree-based directory chooser dialog will pop up. Within the dialog navigate to the ABS directory, and chooselibrarySub
Android associated source code support-v4, v7, v13 source code, support-v4v13
In the actual development process of Android, you will often encounter the use of v4, v7 or v13 compatible packages, such as ViewPager, Fargment, but ca
(1) Android. App. Fragment: the minimum compatible version is Android: minsdkversion = "11"
Therefore, your application is not compatible with applications under 3.0.
You can use the
(2) Android. Support. v4.app. Fragment: compatible with version 1.6. The ProgramIn th
Google offers a package of Android support Library packages to ensure compatibility with high-version SDK development, that is, when we develop with 4.x, we can use some features of the higher version, such as Fragement, in the 1.6 version. Viewpager, below, briefly explain the differences between these versions:Android Support
In the actual Android development process will often encounter the use of v4,v7 or V13 Compatibility Pack some classes such as viewpager,fargment, but can not be associated with the source code.There are a lot of solutions on the Internet, here only a small series of personal testing passed, the attached piece, hope can help everyone.Specific steps (here Android-
In the actual Android development process will often encounter the use of v4,v7 or V13 Compatibility Pack some classes such as viewpager,fragment, but can not be associated with the source code.After the online search, there are many ways, here only to introduce one, I used to feel good methodSpecific steps (here Android-supp
Is the latest Support V4 package big split of Android useful ?, Android Package Size
Google updated the latest Support Library version, the most prominent feature of which is the support-v4
If the project introduces the jar class library for the android-support-v4, an error message appears when the project is packaged for obfuscation. For example, you may need to specify additional library jars (using '-libraryjars ').
The solution is provided here, and we will explain how to deal with similar situation
ANDROID-SUPPORT-V4: This package is designed to take care of 1.6 and later, this package is the most widely used,Eclipse New project, the default with the . When you open a . class file, There is no anti-compile plugin underEclipse that cannot be opened.ANDROID-SUPPORT-V7: This package is designed to take care of 2.1 a
Recent projects have used the V7 package, which contains V4. When I import the other library inside also bring the V4 package to cause the conflict.There are several ways to find solutions on the Internet:1. Delete one of the V4 packages. No, there will be an error. 2. Copy one of the packages to the same location as the other package and overwrite them. No, it w
Enable SwipeRefreshLayout in Android Support V4 to Support pulling and loading more.Preface there was no pull-down refresh component in the original Android SDK, but this component is indeed a required component of most apps. Fortunately, google has a SwipeRefreshLayout In t
First, IntroductionIn Android development, in order to use the new features of the high-version API, additional packages need to be added to use these new features, which is the Android support packageSecond, classification
Android Support
How to introduce android-support-v4/Fragment
Fragment is used today, but it cannot be directly imported. I found it here:
* Android-sdk/extras/android/support/v4/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.