First, the previous section refers to the official document, add SHARESDK to your project by step
1. Access to SHARESDK Appkey
The process of applying for SHARESDK appkey 2. Download SDK Download SDK Please click here download page as shown: Click to download the following image so, click to download the SDK download page, expand the platform can choose other Third-party platform; Demo is also here to download; After downloading the unpacked directory as shown: 3. Rapid Integration
Sharesdk loved by everyone, look at the dear user to do the detailed description: Studio Integration Step one: Integrate the quick tools (see the video tutorial)
Into the SHARESDK extract directory, open the "Share SDK for Android" directory, you can find "Quickintegrater.jar", this is the fast integration of SHARESDK tools windows
First make sure you have the JDK installed and the Java_home and path system variables are configured correctly, you can double-click Quickintegrater to start the program
under Linux/mac os
Also need to make sure that the JDK is properly configured, then start the terminal, the CD into the "Share SDK for Android" directory, input: Java-jar Quickintegrater.jar bootable Quickintegrater
Enter the name and package name of the project correctly, tick the required integration platform, and click OK.
Quickintegrater will create a folder of its own, copying all the files in this folder to cover your project.
Step Two: Configure Androidmanifest.xml (View video tutorial)
The following list file configuration is all, no platform is no need to configure 1, add permissions
1 2 3 4 5 6 7 8 9 10 11-12 |
< uses-permission Android:name = "Android.permission.GET_TASKS"/> < Uses-permission android:name = "and Roid.permission.INTERNET "/> < Uses-permission android:name = |