![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android
Marblog
Code???
展开
-
DevEco Studio 主题提取到IDEA
DevEco Studio这个编辑器也是基于IDEA开发的,没什么好说的,最好用的IDE,今天提取了里面的主题,可以直接放到IDEA,点我下载主题使用方法很简单,直接拖入IDEA即可!原创 2020-09-21 15:53:28 · 1337 阅读 · 0 评论 -
Android 简单数据库操作(Java部分)
Android中操作SQLite数据库,Demo已经上传,只列出了MainActivity部分,导入时注意idimport android.content.ContentValues;import android.database.Cursor;import android.database.sqlite.SQLiteDatabase;import android.support.v...原创 2018-10-17 09:34:53 · 552 阅读 · 1 评论 -
关于Android 中setTextColor报错参考
想获取随机颜色,发现报错,错误: 无法将类 Color中的构造器 Color应用到给定类型;需要: 没有参数找到: int,int,int,int原因: 实际参数列表和形式参数列表长度不同以为是参数不行,查看color类 有个构造方法,是float,然后改为float,发现还是不行,最后查看Color类 ,有一个Color.rgb方法,发现是我想要的 ...原创 2018-12-21 23:00:30 · 746 阅读 · 0 评论 -
android studio关于targetSdk version,minSdk version报错
从网上导入项目,然后Android studio报错The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.The targ...原创 2018-12-12 09:01:13 · 19025 阅读 · 2 评论 -
Android studio 启动模拟器报错Emulator ERROR: x86_64 emulation currently requires hardware accelera
今天新装了个Android studio,启动AVD,发现报错了 Emulator: emulator: ERROR: x86_64 emulation currently requires hardware acceleration! Emulator: Process finished with exit code 1貌似是没有开启Intel硬件支持,应该是缺少...原创 2019-03-11 16:00:10 · 1083 阅读 · 0 评论