场景 Android Studio中在新建项目时勾选了 Use legacy android.support licrary 然后在运行项目时提示: This project uses AndroidX dependencies, but the ‘android.useAndroidX‘ prop ...
分类:
移动开发 时间:
2020-12-11 12:11:50
阅读次数:
9
1. 安装pip sudo apt install python-pip 2. 检查pip 版本 pip --version 发现pip版本是18.x的,过于旧,所以继续更新pip 3. 下载pip源码 https://pypi.org/project/pip/#files 4. 解压后进入目录,并 ...
分类:
编程语言 时间:
2020-12-10 10:53:57
阅读次数:
4
一:导入如百度地图等的外部类。 步骤:1.首先 将androidstudio项目显示切换到 project 状态显示项目 2.然后添加.jar文件,将所有的.jar文件放入libs文件夹内(libs文件夹就在项目文件夹下),然后在引入的.jar文件上右键然后点击 Add As Library... ...
分类:
移动开发 时间:
2020-12-10 10:41:40
阅读次数:
8
个人博客 http://www.milovetingting.cn IntelliJ-Idea导出可执行Jar 前言 IntelliJ Idea 导出可执行Jar包,记录如下。 创建Java文件,在里面添加main方法 配置Artifacts File-Project Structure-Proje ...
分类:
编程语言 时间:
2020-12-09 12:14:56
阅读次数:
6
1. Qt Creator -> File -> New File or Project -> Qt -> Qt Resource File ->添加但当前项目 2. 创建资源文件名res.qrc -> 右键 ->Open in Editor 3. 当前目录下新建文件夹images,将资源文件放在该 ...
分类:
其他好文 时间:
2020-12-09 12:07:50
阅读次数:
4
【翻译】阅读优秀的代码摄影:产品经理厨师:kingnameOneofthesecretsofbecomingagreatPythonprogrammeristoread,understand,andcomprehendexcellentcode.阅读、理解优秀的代码是成为优秀Python程序员的秘诀。Excellentcodetypicallyfollowstheguidelinesoutline
分类:
其他好文 时间:
2020-12-08 12:57:34
阅读次数:
11
JAVA中使用BigDecimal保存时,容易在后面生成.000000 可以在MySQL中调整保存的精度,还可以通过JsonSerializer进行序列化时进行处理 代码如下: /** * @project: * @author: * @Date: 2020-12-03 10:12 上午 * @de ...
分类:
其他好文 时间:
2020-12-08 12:40:03
阅读次数:
5
在码云或者git下载案例发现没有vendor无法运行 composer install --ignore-platform-reqs 或者 composer update --ignore-platform-reqs Tp6使用 1、下载tp6 composer create-project top ...
分类:
其他好文 时间:
2020-12-07 12:32:38
阅读次数:
6
可运行jar 打包插件 <build> <finalName>project_name</finalName> <resources> <resource> <directory>src/main/resources</directory> <!-- 资源根目录排除各环境的配置,使用单独的资源目录来 ...
分类:
编程语言 时间:
2020-12-07 12:25:17
阅读次数:
6
1、问题描述 当我们使用 kubeadm join 命令将 Node 节点加入集群时,你会发现所有 kubectl 命令均不可用(呈现阻塞状态,并不会返回响应结果),我们可以在 Node 节点中通过 kubeadm reset 命令将 Node 节点下线,此时回到 Master 节点再使用 watc ...
分类:
其他好文 时间:
2020-12-05 10:57:01
阅读次数:
9