摘要: 使用以下tasks.json > 对于log库的输出(info,debug,warn...) 需要 在test方法上一行加 `#[test_log::test]` (来自 `test-log` https://crates.io/crates/test-log) ``` json { "versio 阅读全文
posted @ 2023-08-05 15:36 jing砸鸭 阅读(117) 评论(0) 推荐(0) 编辑
摘要: > 安装IDEA KeyBinding插件后发现无法和IDEA一般注释后换行,经过一番查询,如下解决: > https://github.com/kasecato/vscode-intellij-idea-keybindings/issues/233#issuecomment-1491495313 阅读全文
posted @ 2023-08-05 15:29 jing砸鸭 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Rust目前在互联网上资料较少,经过几天的折腾,终于在 Windows10 和 Github Actions (Ubuntu) 上构建出了 armv7 和 armv8 的 .so文件。 - 关于JNI的配置见:【Rust实现JNI】https://juejin.cn/post/70927504686 阅读全文
posted @ 2023-08-03 17:44 jing砸鸭 阅读(537) 评论(0) 推荐(0) 编辑
摘要: 报错: ``` error: linking with `D:/NDK/android-ndk-r25c/toolchains/llvm/prebuilt/windows-x86_64/bin/aarch64-linux-android30-clang.cmd` failed: exit code: 阅读全文
posted @ 2023-08-01 21:48 jing砸鸭 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 使用Github Actions构建Android项目需要签名,而jks文件又无法私密保存,故可以将其转为base64格式再设置安全变量 ( https://github.com/{...}/settings/secrets/actions ) ``` openssl base64 > local. 阅读全文
posted @ 2023-06-02 17:28 jing砸鸭 阅读(1270) 评论(0) 推荐(0) 编辑
摘要: 原文: https://github.com/termux/termux-app/issues/869#issuecomment-433985523 pkg install proot resolv-conf proot -b $PREFIX/etc/resolv.conf:/etc/resolv. 阅读全文
posted @ 2023-04-30 12:23 jing砸鸭 阅读(330) 评论(0) 推荐(0) 编辑
摘要: for %name in (*) do ( echo %name ) %name 即为文件名称变量 阅读全文
posted @ 2022-12-04 10:47 jing砸鸭 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 使用 app:iconTint 代替 android:iconTint //android:iconTint="@color/white" app:iconTint="@color/white" 阅读全文
posted @ 2022-11-10 16:08 jing砸鸭 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 将此段代码放到Acitivity @SuppressLint("RestrictedApi") override fun onCreateOptionsMenu(menu: Menu?): Boolean { if (menu is MenuBuilder) { menu.setOptionalIc 阅读全文
posted @ 2022-11-10 16:04 jing砸鸭 阅读(61) 评论(0) 推荐(0) 编辑
摘要: 详见 Golang教程:编译可在Android设备上运行的Go语言程序 Github actions Go语言全平台自动构建: https://github.com/jing332/tts-server-go/blob/master/.github/workflows/test.yml 准备 Gol 阅读全文
posted @ 2022-09-09 08:05 jing砸鸭 阅读(1828) 评论(0) 推荐(0) 编辑