Try LINE Login on Android

The LINE Login Android starter application lets you quickly see how LINE Login works on an Android app. If you’d like to integrate LINE Login with your existing app, go to Integrate LINE Login on Android.

Before you begin

Make sure you have completed the following:

Getting the LINE starter app and SDK

  1. Clone the line-sdk-starter-android-v2 repository.

    $ git clone
  2. Download the LINE SDK for Android from the Downloads page.

  3. Unzip the file and copy the .aar file into the app/libs folder of the repository.

Configuring your project

  1. Open the project in Android Studio.
  2. Enter your channel ID in the file.

    public static final String CHANNEL_ID = "xxxxxxxxxx";
  3. Go to the "App settings" page in the console and set the following values:

  • Android package name:
  • Android package signature: Set as any value. This field cannot be left blank.

Running the app

Run the app using an Android device or an emulator. When you first log in, you must agree to let the app access your profile information.

  • Tap Login with LINE to log in using the auto-login feature. If you are logged in to the LINE app on your device, you will be logged in automatically without entering your login credentials.
  • Tap Browser Login to log in using your device's browser (Chrome). Using this option, you'll need to enter your login credentials to log in to the app.

Try out the features available on the LINE SDK for Android

Once you have logged in to the app, you can tap the buttons to try out the following features of the LINE SDK.

  • Get user profile
  • Refresh token
  • Verify token
  • Log out

Next steps

You have now seen how LINE Login works in an Android app. To learn more about how to integrate LINE Login with your existing Android app, go to Integrating LINE Login with your Android app.

Questions or suggestions?

If you have any questions about our LINE Platform products, first check our Q&A page on the Community site. To share suggestions or feature requests regarding the documentation or the LINE Platform, click the buttom below or create an issue on the LINE Platform feedback GitHub repository.