I created a java program that get input from the user by Scanner.
import java.util.Scanner;
Scanner scan = new Scanner(System.in);
int first = scan.nextInt();
(I used more than 1 scanning).
Afterward I tried to create an Android application using my code, but the application got stack because the scanner. How can I import the java scanner into Android studio?