Android uses GANGSDK to create a third party family guild system experience sharing

Source: Internet
Author: User

Due to the need to add a family system to the previous game, think that this piece may have a lot of work to do, I stole a lazy to the internet to gather a wave, there is no similar to the system? The results surprised me to find that there are really similar services on the market, although it was developed by small companies, but perfectly formed, And it's free, so decide to try it in the pit. Here is a simple record of the third-party family system (GANGSDK) I use to make it easier to view later.

I. Acquisition of Appkey

First of all, open GANGSDK official website www.gangsdk.com, login or register an account, login success after entering the management backstage, nonsense not to say, direct ...

Fill in the app name, Android package name, (iOS platform fill bundle ID) create to get Appkey

Second, download the SDK

The SDK contains the core library and the UI library, and the official recommendation is that we look at the UI library and run the demo effect directly, and then explore how to develop our own custom UI using the core library. In line with the principle of take doctrine, I am of course directly using the official own UI library, which is connected to the application.

Download the GANGSDK package after unpacking as shown

Nothing to analyze the description of the library contained in the Gangui

Three, rapid integration 1. Android Studio builds its own test project, File->new->importmodule import the Gangui inside the unpacked folder

2. Open the Build.gradle file edit in your own test project

3. Open your own test project in Androidmanifest.xml, add the following code:

Please fill in the value of the gang-appkey that you applied for on the GANGSDK website.

4. Add the Boot module code where you need to jump

The code has been added, no accident must be able to start up, so that the Community system is added, inside the Gangui library should be able to modify their own ... Find the official is very intimate, provide a few sets of UI effect for our own choice, this must be a manual praise!

More features can refer to the official documents, I will not repeat here!

Iv. Other issues

In the process of joining GANGSDK, there is a problem when compiling, releasing the already resolved method:

View Log discovery in Gradle console may be a support package issue

The review found that the support package in Gangui is not consistent with the version of the support package in your project! Change to a unified version of the good!

Android uses GANGSDK to create a third party family guild system experience sharing

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.