Trying LINE Login on Android

The LINE Login starter app for Android 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. On the console, go to your LINE Login channel settings and enter these values on the LINE Login tab:

  • 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 LINE 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.

{{ $t("form.question.helpful") }}

{{ $t("form.question.detail") }}

{{ $t("form.question.improve") }}

{{ $t("") }}{{ $t("") }}{{ $t("") }}

{{ $t("form.result.success") }}
{{ $t("form.result.error") }}
{{ $t("form.result.errorLink") }}