• 团队项目-第一阶段冲刺-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

    得到了解决

  • 相关阅读:
    好玩的WPF第二弹:电子表字体显示时间+多彩呼吸灯特效button
    ZOJ
    为应用程序加入缓存
    3、Spring4之Bean 配置的细节
    POJ
    解决apache+tomcatserver环境中文乱码的问题
    2014年CCNU-ACM暑期集训总结
    POJ 1328 Radar Installation(贪心)
    CF 452A(Eevee-直接试)
    Android中View和ViewGroup介绍
  • 原文地址:https://www.cnblogs.com/123-haozijia/p/13038752.html
Copyright © 2020-2023  润新知