- 博客(166)
- 资源 (2)
- 收藏
- 关注
原创 你的RPCvs佬的RPC
libart.so: 在 Android 5.0(Lollipop)及更高版本中,libart.so 是 Android 运行时(ART,Android Runtime)的核心组件,它取代了之前的 Dalvik 虚拟机。可以在 libart.so 里找到 JNI 相关的实现。PS:在高于安卓10的系统里,so的路径是/apex/com.android.runtime/lib64/libart.so,低于10的则在system/lib64/libart.sofrida_hook_libartyang神的h
2024-04-17 04:51:30 992
原创 Failed resolution of: Lorg/apache/hc/core5/http/message/BasicNameValuePair;
查询资料得知是Android 9以后不支持 http库并删除掉该库,Google官方推荐使用HttpURLConnection,但是ArcGIS是多平台开发,还是引用了Http,导致找不到该库文件。以下是常规Groovy构建build.gradle文件。所以build.gradle.kts修改如下。由于我使用的是kotlin构建项目。
2024-01-20 17:36:41 718
原创 获取窗口中文标题栏GetWindowText()
判断是ASCII或者Unicode编码选择调用GetWindowTextA(hwnd, lpString, len),还是GetWindowTextW(hwnd, lpString, len),所以想获取中文标题直接调用GetWindowTextW()GetWindowText(hwnd, lpString, len)会根据传入的第二个参数lpString。
2023-12-01 17:21:14 283
原创 JavaFX开发调用AWT创建系统托盘MenuItem菜单中文乱码
打开系统托盘MenuItem只能显示英文字符和中文显示方框。在VM optios中填入以下代码。
2023-11-26 11:47:41 269
原创 Logitech G HUB Lua API 概述和参考
如果在播放另一个脚本宏时调用该函数,则不会执行任何操作。如果在播放同一脚本宏时调用该函数,则该宏将排队。G13游戏面板有一个模拟操纵杆,可以为其分配鼠标功能鼠标的速度可以通过设置中的profiler选项面板进行调整窗口,或者通过Lua脚本语言。注意:对于模拟的,随后立即调用IsModifierPressed或IsKeyLockOn修改器或锁定键可能会返回以前的状态。这将需要几毫秒要完成的操作。如果在播放另一个脚本宏时调用该函数,则不会执行任何操作。如果在播放另一个脚本宏时调用该函数,则不会执行任何操作。
2023-09-22 11:22:17 3722 3
原创 华为HUAWEI MateBook D 2018 黑苹果Monterey 12.6.5的安装过程
等待重启后会进入引导启动界面,选择安装Monterey,这一步可能会重启,没安装完成也会重启,重启后依然选择同一选项,安装完成后会进入MAC欢迎界面,这才是安装完成;使用DiskGenius将下载好的EFI文件替换到OC引导的EFI分区,直接删除OC里面的EFI文件,将下载好的EFI文件解压后复制进去;打开balenaEtcher,选择好系统镜像和U盘,将镜像刻录到U盘中,点击Flash等待刻录完成;使用OC配置工具,挂在EFI,将U盘上的EFI复制到硬盘上,重新启动,现在可以拔掉U盘了;
2023-06-29 14:00:49 2439 1
原创 AndroidX gradle8.0
请注意,更新库或应用程序的 compileSdk(允许使用更新的 API)可以与更新 targetSdk(选择应用程序以适应新的运行时行为)和 minSdk(确定应用程序可以安装在哪些设备上)分开完成。要求依赖它的库和应用程序针对版本 32 或更高版本的 Android API 进行编译。推荐操作:更新此项目以使用至少 32 的较新 compileSdk,例如 33。
2023-04-24 23:41:54 772
原创 Android自定义View设置点击监听无反应
布局代码如下原因:android:clickable=“true”,设置为不可点击状态了,删除即可
2022-07-08 00:23:25 1357
原创 BottomNavigationView底部导航遮挡fragment解决方案
在使用BottomNavigationView作为底部导航时导航栏一直浮在展示Fragment的FrameLayout底部上层,想要的效果是Fragment和BottomNavigationView垂直排列原布局代码1.将fragment中高度改为2.修改为相对布局
2022-07-07 12:52:14 887
原创 解决ButterKnife插件失效Compatible With Intellij IDEA only
试用压缩文件打开,直接编辑plugin.xml文件,添加以下语句com.intellij.module.java
2022-06-29 00:07:52 1500
原创 MT管理器破解COC辅助
原本辅助是免费的,但是被不良商家上架某宝1. 分析原因,弹窗激活2. MT管理器打开apk安装包3. dex编辑器++,选择dex文件4. 发起新的搜索,查找字符串5. MT管理器没VIP,所以用电脑版jadx看java代码6. 删除对应smali代码240 -4087. 保存并退出,重新签名...
2022-05-22 21:23:05 14965 9
原创 Ubuntu 18.04 GLIBC2.28 not fount
下载glibc库文件命令,其余版本类似wget https://mirrors.aliyun.com/gnu/glibc/glibc-2.27.tar.gz解压tar -zxvf glibc-2.27.tar.gzcd glibc-2.27./configure --prefix=/opt/glibc-2.27
2022-04-28 14:42:18 762
原创 nginx部署缺失相关库
/www/server/nginx/sbin/nginx: error while loading shared libraries: libgd.so.3: cannot open shared object file: No such file or directory缺失libgd.so.3wget http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/gd-2.2.5-7.el8.x86_64.rpmrpm
2022-04-27 23:43:37 3862 3
原创 搭建CNS服务器
仓库传送:CNS一键式安装与卸载命令安装: `type curl &>/dev/null && echo 'curl -O' || echo 'wget -O cns.sh'` http://binary.quicknet.cyou/cns/cns.sh && sh cns.sh卸载: `type curl &>/dev/null && echo 'curl -O' || echo 'wget -O cns.sh'` http
2022-04-27 14:35:45 6458 6
原创 Centos安装一键式UnblockNeteaseMusic
仓库传送:UnblockNeteaseMusic安装nodejscurl -sL http://rpm.nodesource.com/setup_18.x | bash-yum install -y nodej安装git环境yum install git -y克隆项目git clone http://https://github.com/nondanee/UnblockNeteaseMusic.gitgit clone https://gitee.com/leopku/Unb
2022-04-27 14:24:44 587
原创 Centos青龙面板安装
安装宝塔面板安装地址:宝塔linux在线安装-SSH离线安装Centos安装脚本:yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh ed8484becUbuntu/Deepin安装脚本:wget -O install.sh http://download.bt.cn/install/install-
2022-04-27 14:07:12 3906 1
原创 Centos8.2安装UnblockNeteaseMusic报错
CentOS Linux 8 - AppStream 64 B/s | 38 B 00:00 Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist./unblock.sh: line 114: git: command not found解决如下su.
2022-04-27 00:39:29 491
原创 eglChooseConfig failed
SUPPORTED_64_BIT_ABIS=[Ljava.lang.String;@bb0e606versionCode=1BOARD=unknownBOOTLOADER=unknownTYPE=userdebugID=MASTERTIME=1595298178000BRAND=AndroidTAG=BuildSERIAL=EMULATOR30X2X5X0HARDWARE=ranchuSUPPORTED_ABIS=[Ljava.lang.String;@f0bf4c7CPU_ABI.
2021-04-26 11:30:47 2203 2
原创 NestedScrollView + ExpandableListView显示异常
ExpandableListView只能显示一条item需要在NestedScrollView加以下属性android:fillViewport="true"
2021-04-23 16:53:39 199
原创 The emulator process for AVD xxxxx was killed
将path路修改为SDK的路径path=D:\Android\androidSDK\.android\avd\Pixel_XL_API_30.avd
2021-04-19 10:59:11 296
原创 将Android Studio开源库上传到JitPack
将project build.gradle添加以下内容classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'在module的build.gradle添加以下内容apply plugin: 'com.github.dcendents.android-maven'group = 'com.github.你的github用户名'将代码上传到github不必多说发布一个release版本在jitp.
2021-04-14 23:00:17 206
原创 Flutter安装配置
使用git工具下载https://github.com/flutter/flutter.gitgit clone -b https://github.com/flutter/flutter.git等待下载完成环境变量配置D:flutter\bincmd 初始化,时间可能比较久flutter doctor
2021-04-11 10:16:28 111
原创 HttpRequest failed state:301;Moved Permanently
在请求下载图片的时候报错,原因是网站启动了https协议,但我依然使用http访问,就产生了重定向
2021-04-08 10:01:21 417
原创 No such file or directory
if (!file.exists()) { try { file.createNewFile(); } catch (Exception e) { e.printStackTrace(); } }原因分析:file.createNewFile();不能创建不存在文件目录,需要创建目录才创建文件...
2021-03-30 16:09:39 148
原创 sha1 file ‘<stdout>‘ write error: Broken pipe
错误: sha1 file '<stdout>' write error: Broken pipe the remote end hung up unexpectedly the remote end hung up unexpectedly解决办法:git config http.postBuffer 524288000
2021-03-26 10:14:32 1938
原创 XMarqueeView设置手动滑动监听器
飞掠视图ViewFlipper也类似实现方法适配器继承 GestureDetector.OnGestureListener接口实现以下方法@Overridepublic boolean onFling(MotionEvent e1, MotionEvent e2, float v, float v1) {//垂直滑动距离 float moveHeight = e1.getY() - e2.getY(); if(moveHeight < -MIN_DISTANCE){
2021-03-23 17:06:31 157
原创 ViewFlipper子View添加点击事件
vf_test.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { int currentChild = vf_test.getDisplayedChild(); String currentContent = noticeList.get(currentChild); Log.d(TAG, "onClick: ".
2021-03-23 10:09:29 339
原创 将FrameLayout子View设置在最上层失败
xml布局如下<FrameLayout android:id="@+id/fl_content" android:layout_width="match_parent" android:layout_height="wrap_content"> <com.test.view.banner.view.BannerViewPager android:id="@+id/banner_container" a.
2021-03-22 17:03:02 609
原创 RelativeLayout子控件居中
android:layout_centerVertical="true"android:layout_centerHorizontal="true"android:layout_centerInParent="true"
2021-03-06 17:40:53 503 1
原创 android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData
确认android:authorities="包名.fileProvider"配置正确<provider android:name="android.support.v4.content.FileProvider" android:authorities="包名.fileProvider" android:exported="false" android:grantUriPermissions="true"> <meta-data .
2021-03-03 09:55:10 644
原创 The specified child already has a parent. You must call removeView() on the child‘s parent first.
at android.view.ViewGroup.addViewInner(ViewGroup.java:3936) at android.view.ViewGroup.addView(ViewGroup.java:3786) at android.support.v4.view.ViewPager.addView(ViewPager.java:1485) at android.view.ViewGroup.addView(ViewGroup.java:3727) ...
2021-02-24 16:44:02 238
原创 java.lang.OutOfMemoryError: Failed to allocate a 84049935 byte allocation with 16777216 free bytes a
java.lang.OutOfMemoryError: Failed to allocate a 84049935 byte allocation with 16777216 free bytes and 64MB until OOM at okio.Buffer.readByteArray(Buffer.java:861) at okio.Buffer.readString(Buffer.java:713) at okio.Buffer.readString(Buffer.java:696) a.
2021-02-22 14:35:46 1275 1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人