摘要: 介绍 Anaconda 介绍: Anaconda 是可以便捷获取包且对包能够进行管理,同时对环境可以统一管理的工具。适用 Windows、macOS、Linux 平台。 Anaconda 拥有 conda 包、环境管理器、1000+ 开源库。 Anaconda 包含 180+ 的科学包以及其依赖项, 阅读全文
posted @ 2023-07-29 18:54 swalka`x 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 此文,为room的第一篇随笔,记录room的基础使用方式。后续还会记录一些补充的内容。 app.gradle导入库: dependencies { // 当前 targetSdk 32 // API 33 可以使用2.5.0 def room_version = "2.4.3" implementa 阅读全文
posted @ 2023-01-18 02:23 swalka`x 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 代码中实现透明状态栏的方法: public class MainActivity extends AppCompatActivity { private ActivityMainBinding _binding; @Override protected void onCreate(Bundle sa 阅读全文
posted @ 2023-01-18 01:56 swalka`x 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 问题: Android项目的layout文件无法自动补全android:id等基础属性字段 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/a 阅读全文
posted @ 2023-01-17 16:27 swalka`x 阅读(267) 评论(0) 推荐(0) 编辑
摘要: android studio build/clean/rebuild项目时提示 Failed to delete some children. This might happen because a process has files open or has its working director 阅读全文
posted @ 2022-12-15 17:43 swalka`x 阅读(444) 评论(0) 推荐(0) 编辑
摘要: gradle编译问题: A problem occurred evaluating project ':login'. > Could not find method plugins() for arguments [build_2c31lk3groc7yx58a8uwub95i$_run_clos 阅读全文
posted @ 2022-12-09 01:45 swalka`x 阅读(1499) 评论(0) 推荐(0) 编辑
摘要: gradle报出问题 Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. Use '--warning-mode all' to show the individual 阅读全文
posted @ 2022-12-08 16:12 swalka`x 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Android Studio真机调试,直接运行的Install Apk问题 Installation did not succeed. The application could not be installed: INSTALL_FAILED_TEST_ONLY 处理办法: 就在gradle.pr 阅读全文
posted @ 2022-12-07 02:06 swalka`x 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 首先我们创建一个类 public class TestClass { public static void main(String[] args) { String string = "{\"name\":\"Bingo\",\"age\":18}"; System.out.println("数据长 阅读全文
posted @ 2022-12-05 03:36 swalka`x 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 谷歌官方在22年3月发布的33.0.1版本的platform-tools包中移除了systrace 需要使用systrace需要币33.0.1更低的sdk包 下载SDK历史版本的方法: https://dl.google.com/android/repository/platform-tools_r 阅读全文
posted @ 2022-11-30 21:07 swalka`x 阅读(1177) 评论(0) 推荐(0) 编辑