- ndk build 的时候报错,少了libncurses.so.5 在ubuntu环境下,使用sudo apt install libncurses5安装 如果是adb,装32位的: ./adb: error while loading shared libraries: libncurses.so.5: from://http://s... ndk build 的时候报错,少了libncurses.so.5 在ubuntu环境下,使用sudo apt install libncurses5安装 如果是adb,装32位的: ./adb: error while loading shared libraries: libncurses.so.5: from://http://s...
- android NDK增加log调试 1. 首先建立log.h文件 #include <android/log.h>#define LOG_TAG "Android" #define LOGI(...) __android_log_print(ANDROID_LOG_INF... android NDK增加log调试 1. 首先建立log.h文件 #include <android/log.h>#define LOG_TAG "Android" #define LOGI(...) __android_log_print(ANDROID_LOG_INF...
- 还带运动估计: 打不开后置摄像头 https://github.com/tianyalu/NeOpenGLBeautyFace https://github.com/zerochl/MagicShow opencv 美颜 贴纸 大眼睛 有摄像头: https://github.com/xingfengwxx/BeautyF... 还带运动估计: 打不开后置摄像头 https://github.com/tianyalu/NeOpenGLBeautyFace https://github.com/zerochl/MagicShow opencv 美颜 贴纸 大眼睛 有摄像头: https://github.com/xingfengwxx/BeautyF...
- implementation 'com.zxy.android:recovery: implementation 'com.zxy.android:recovery:1.0.0' or debugImplementation 'com.zxy.android:recovery:1.0.0' releaseImplem... implementation 'com.zxy.android:recovery: implementation 'com.zxy.android:recovery:1.0.0' or debugImplementation 'com.zxy.android:recovery:1.0.0' releaseImplem...
- 1.改 classpath 'com.android.tools.build:gradle:3.1.0' 这样能把dat放到raw中 2.改权限: 正确: params.type = WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY; &n... 1.改 classpath 'com.android.tools.build:gradle:3.1.0' 这样能把dat放到raw中 2.改权限: 正确: params.type = WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY; &n...
- android camera2 获取摄像头支持的分辨率 41的for循环我注释了,代码是获取最匹配的分辨率。 private Size getMatchingSize2(){ Size selectSize = null; try { CameraManager mCameraManager = (CameraManager) getSystemS... android camera2 获取摄像头支持的分辨率 41的for循环我注释了,代码是获取最匹配的分辨率。 private Size getMatchingSize2(){ Size selectSize = null; try { CameraManager mCameraManager = (CameraManager) getSystemS...
- 临时解决方法,需要下载gradle,下载后放在目录: 随机变量的目录下面: C:\Users\Administrator\.gradle\wrapper\dists\gradle-6.1.1-all\cfmwm155h49vnt3hynmlrsdst\gradle-6.1.1 把项目删了,重新解压,加载项目。 临时解决方法,需要下载gradle,下载后放在目录: 随机变量的目录下面: C:\Users\Administrator\.gradle\wrapper\dists\gradle-6.1.1-all\cfmwm155h49vnt3hynmlrsdst\gradle-6.1.1 把项目删了,重新解压,加载项目。
- demo合集: https://github.com/dalong982242260/AndroidRuler 1、直尺(测量距离) github:https://github.com/1149863953/ruler 问题:不能适配各种手机,有的不准 2、圆尺(测量角度) github:https://github.com/1149863953/rul... demo合集: https://github.com/dalong982242260/AndroidRuler 1、直尺(测量距离) github:https://github.com/1149863953/ruler 问题:不能适配各种手机,有的不准 2、圆尺(测量角度) github:https://github.com/1149863953/rul...
- 定义变量: gradle.properties COMPILE_SDK_VERSION=25 BUILD_TOOLS_VERSION=25.0.0 TARGET_SDK_VERSION=23 MIN_SDK_VERSION=8 使用变量: build.gradle中 apply plugin: 'com.android.app... 定义变量: gradle.properties COMPILE_SDK_VERSION=25 BUILD_TOOLS_VERSION=25.0.0 TARGET_SDK_VERSION=23 MIN_SDK_VERSION=8 使用变量: build.gradle中 apply plugin: 'com.android.app...
- GLES20.glLineWidth( 3f ); private void drawCircle( float r, float g, float b, float a ) { for( int i = 0; i < circleBuffersesList.size(); ++i ) { //頂点バッファの指定 GLES20.glVer... GLES20.glLineWidth( 3f ); private void drawCircle( float r, float g, float b, float a ) { for( int i = 0; i < circleBuffersesList.size(); ++i ) { //頂点バッファの指定 GLES20.glVer...
- 原文: Android学习笔记——NDK中C++标准库、STL的配置;Include其他头文件 1、STL的使用,以stlport为例 官方的说法是只需要在Application.mk文件中添加如下一行即可 Application.mk代码 APP_STL := stlport_static&... 原文: Android学习笔记——NDK中C++标准库、STL的配置;Include其他头文件 1、STL的使用,以stlport为例 官方的说法是只需要在Application.mk文件中添加如下一行即可 Application.mk代码 APP_STL := stlport_static&...
- adb tcpip 5555 adb下载地址: http://download.clockworkmod.com/test/UniversalAdbDriverSetup.msi 3.在设备中下载超级终端(是andriod软件),设置端口: su setprop service.adb.tcp.... adb tcpip 5555 adb下载地址: http://download.clockworkmod.com/test/UniversalAdbDriverSetup.msi 3.在设备中下载超级终端(是andriod软件),设置端口: su setprop service.adb.tcp....
- Log.e注意问题: "find bar"字符串中间有空格,所有搜索不到,但是用下划线连接起来,过滤日志时就能搜到。 Log.e("find bar",points[0].toString()); package com.lbstock; import java.io.File; import java.io.FileNotFoundEx... Log.e注意问题: "find bar"字符串中间有空格,所有搜索不到,但是用下划线连接起来,过滤日志时就能搜到。 Log.e("find bar",points[0].toString()); package com.lbstock; import java.io.File; import java.io.FileNotFoundEx...
- https://github.com/JunkCode/android-oculus_test 这个有pc版的demo: https://github.com/jherico/OculusSDK https://github.com/jherico/OculusAndroid 这个是游戏,不是摄像头 https://github.com... https://github.com/JunkCode/android-oculus_test 这个有pc版的demo: https://github.com/jherico/OculusSDK https://github.com/jherico/OculusAndroid 这个是游戏,不是摄像头 https://github.com...
- EditText 的高度需要比button高10个dp, 代码如下,才能正常显示 <EditText android:id="@+id/eTxtContent" android:layout_toRightOf="@id/iv_biji" android:layout_marginLeft="10dp" android:layout_width="150dp" ... EditText 的高度需要比button高10个dp, 代码如下,才能正常显示 <EditText android:id="@+id/eTxtContent" android:layout_toRightOf="@id/iv_biji" android:layout_marginLeft="10dp" android:layout_width="150dp" ...
上滑加载中
推荐直播
-
华为云码道 × 仓颉编程:工程化AI编码探索2026/05/27 周三 19:00-21:00
刘俊杰-华为云仓颉语言专家/李炎-华为云码道技术专家/王智鹏-OpenCangjie开源社区发起人
本场直播围绕华为云仓颉语言与华为云码道的深度结合,展示华为云智能编程从零基础到高效落地的完整生态能力。以华为云码道为引擎,仓颉语言为载体,带给大家日常提效、趣味创新到极速量产的开发体验。
回顾中
热门标签