# Trying the starter app
The LINE Login starter app for Android lets you quickly see how LINE Login works on an Android app.
To build and run the starter app, you need:
- Android Studio installed
# Trying the starter app with the predefined sample channel
To try the starter app with our sample channel, follow the steps below.
Clone the LINE SDK for Android open-source repository.
$ git clone https://github.com/line/line-sdk-android.git
Open the LINE SDK project in Android Studio.
Build the project and run the app using an Android device or Android Emulator.
The "Channel ID" field in the main screen is populated with the starter app's sample channel ID,
# Trying the starter app with your own channel
After creating a channel, link the starter app to it by doing these things:
- In the console, configure your channel as described in Linking your app to your channel.
- In your Android project, change the Android package name to the name configured in your channel.
- In the main screen of the starter app, enter your channel ID.
You can save up to three channel IDs in the starter app. Select one of the "Settings save slot" radio buttons and tap the "Save" button in the main screen.
# Running the starter app
Run the starter app using an Android device or Android Emulator. When you first log in, you must agree to let the app access your profile information.
# Using the "Log in with LINE" button
Tap the green "Log in with LINE" button to log in using app-to-app login. This is the LINE SDK's built-in login button.
If LINE is installed on the device and you are logged in, you will be able to log in to the starter app automatically without entering your LINE credentials. Otherwise, you'll be requested to log in by using your device's browser. In this scenario, you'll need to enter your LINE credentials.
# Using the "Sign-in" button
# Trying out the features available on the LINE SDK
Once you have logged in to the app, you can tap the APIs button to try out the following features of the LINE SDK.
- Log out the user
- Refresh the access token
- Verify the access token
- Get the current access token
- Get the user profile