- 博客(19)
- 收藏
- 关注
原创 使用ffmpeg转码的ogg音频文件无法在Android中播放
虽然视频列表还在,但属性都置空了,打包后Android可以正常播放该音频。1、由于音频占用过多资源,决定使用ffmpeg对音频文件进行压缩;3、最初以为可能是压缩太狠了导致的,调整后测试下来没什么作用;
2023-10-27 14:20:56
715
4
原创 JIN数据类型及结构相关相关说明链接
Chapter 3: JNI Types and Data Structures: https://docs.oracle.com/javase/8/docs/technotes/guides/jni/spec/types.htmlTypeSignature.java: https://gist.github.com/ssfang/c28b5d1cfe276e3edf0955ea81c313b7
2023-08-23 11:38:36
135
原创 使用protobuf对结构内已添加数据进行修改
本以为已添加的数据不能更改,发现有个mutable方法可以直接获取引用地址,特此记录备忘。想使用protobuf对本地用户数据进行存储,同时用于远程存档,一举两得;
2023-08-16 11:58:03
620
原创 Android相关工具版本日志官方地址
SDK Platform Android Studio: https://developer.android.com/tools/releases/platformsAndroid Studio Android Studio: https://developer.android.com/studio/releasesAndroid Gradle plugin release notes: https://developer.android.com/build/releases/gradle-plugin
2023-08-04 14:03:11
84
原创 AndroidStudio官方全版本下载地址
官网下载链接: https://developer.android.com/studio/archive进入网址,等待加载:加载完成后,拉到最低部,点击同意协议:之后就可以看到所有的版本了:
2023-07-14 10:27:15
3242
原创 Windows环境下Android平台Facebook密钥散列创建
【代码】Windows环境下Android平台Facebook密钥散列创建。
2023-07-14 09:57:36
748
1
原创 No signature of method: build_xxx.android() is applicable for argument types
项目之前运行都是正常的,突然报了这个错误:Build file 'I:\workspace\cocos3.17\objects\BubbleShooterOrigin\proj.android\app\build.gradle' line: 7A problem occurred evaluating project ':BubbleShooterOrigin'.> No signature of method: build_d61hba1cw47za2ictyi37t4ve.android(
2021-10-14 18:49:32
5533
原创 TextBMFont设置字距、行距及定宽
1.设置字距:auto label = (Label*)textBMFont->getVirtualRenderer();levelLabel->setAdditionalKerning(-15.0f);2.设置行距:auto label = (Label*)textBMFont->getVirtualRenderer();levelLabel->setLineSpacing(-15.0f);3.定宽:【注】高度为0时表示不限高auto label = (Labe
2021-07-27 15:21:31
800
原创 VS使用vector进行迭代删除时提示“vector iterators incompatible“错误
之前的写法:修改后的写法:网上查了下需要将erase返回值赋值给迭代器,问题解决,做个笔记,备忘
2021-06-30 14:15:39
197
原创 cocos2dx 置空精灵纹理
mSprite->setTexture(nullptr); mSprite->setTextureRect(Rect::ZERO);
2021-04-29 11:58:34
159
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人