How to create a 2D Array list in Android Studio? : Looking at a few articles on here i learned that To declare a 2D array in android studio you must do something like

    String[][] stations=new String[1][10]; 
And to insert data into the 2D array i just created I Did This

    stations[1][0]= "New York";
    stations[2][0]= "Boston";
    stations[3][0]= "Las Vegas";
    stations[4][0]= "Miami";
    stations[5][0]= "Chicago";
    stations[6][0]= "New England";
    stations[7][0]= "Detroit";
    stations[8][0]= "Michigan";
    stations[9][0]= "Austin";

When I run this i get the error message 

    Unfortunately DB Has Stopped

And so I decided to comment out the code where I coped the strings into the arrays and the app ran perfectly. 
What am i doing wrong with these assignment operations?

Heres my source code:

    public class MainActivity extends AppCompatActivity {
    Button trainSearch;
    String[][] stations=new String[1][10];
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        trainSearch=(Button)findViewById(R.id.button);
        trainSearch.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                search();

            }
        });

    }

    public void search()
    {
        Toast.makeText(MainActivity.this, "function called Successfully", Toast.LENGTH_SHORT).show();
        /*stations[1][0]= "New York";
        stations[2][0]= "Boston";
        stations[3][0]= "Las Vegas";
        stations[4][0]= "Miami";
        stations[5][0]= "Chicago";
        stations[6][0]= "New England";
        stations[7][0]= "Detroit";
        stations[8][0]= "Michigan";
        stations[9][0]= "Austin";*/
        SQLiteDatabase db = openOrCreateDatabase( "Train_list.db", SQLiteDatabase.CREATE_IF_NECESSARY , null);
        try{
            String query = "CREATE TABLE IF NOT EXISTS Stations ("
                    + "Station_name VARCHAR);";
            db.execSQL(query);
            Toast.makeText(MainActivity.this, "Table created", Toast.LENGTH_LONG).show();
            /*int i=0;
            for(i=0;i<10;i++)
            {
                query = "INSERT or replace INTO stations (Station_name) VALUES(" + stations[0][i] + ");";
                db.execSQL(query);
                Toast.makeText(MainActivity.this, "Added Staation"+stations[0][i], Toast.LENGTH_SHORT).show();
            }*/
        }catch (Exception e){
            Toast.makeText(MainActivity.this, "An Error has occured", Toast.LENGTH_SHORT).show();
        }
    }
    public void calladminactivity(View v)
    {
        startActivity(new Intent(MainActivity.this, adminlogin.class));

    }
}


 