团队项目-第一阶段冲刺-3

今天团队学习了相关的数据库操作以及页面的跳转实验了一下再界面上简单的输出一下所求的数据

public void onCreate(SQLiteDatabase db){
    //user table
    db.execSQL("create table if not exists user_tb(_id integer primary key autoincrement," +
            "userID text not null," +
            "pwd text not null)");

    //Configuration table
    db.execSQL("create table if not exists refCode_tb(_id integer primary key autoincrement," +
            "CodeType text not null," +
            "CodeID text not null," +
            "CodeName text null)");

    //costDetail_tb
    db.execSQL("create table if not exists basicCode_tb(_id integer primary key autoincrement," +
            "userID text not null," +
            "Type integer not null," +
            "incomeWay text not null," +
            "incomeBy text not null," +
            "category text not null," +
            "item text not null," +
            "cost money not null," +
            "note text not null," +
            "makeDate text not null)");
}

今天遇到了一个顽固的问题

"ERROR: Could not find com.android.support:appcompat-v7:26.0.0. Required by:     project :app  Please install the Android Support Repository from the Android SDK Manager. " 
最终参考

(2条消息)Android Studio 报错 ERROR: Could not find com.android.support:appcompat-v7:26.0.0._移动开发_Kchiha的博客-CSDN博客
https://blog.csdn.net/Kchiha/article/details/89640895

得到了解决

原文地址:https://www.cnblogs.com/123-haozijia/p/13038752.html