工作中遇到的问题和解决办法.
摘要:Bionic libc doesn't load dependencies for current .so file(diff from Windows or Linux)so a explicit calling of Java's System.loadLibrary() is needed, ...
阅读全文
摘要:Update Android SDK build tool to latest can solve my problem.
阅读全文
摘要:https://www.khronos.org/opengles/sdk/docs/man3/html/glInvalidateFramebuffer.xhtml这个在GLES2.0上只有Extension:https://www.khronos.org/registry/gles/extensio...
阅读全文
摘要:所谓坑, 就是文档中没有标明的特别需要处理的细节, 工作中会被无故的卡住各种令人恼火的问题. 包括系统级的bug和没有文档化的限制. 继Android的各种坑后, 现在做Amazon平台, 遇到的坑很多, 这里记录一下备忘: 先汇总下Android Native下的各种问题, 当然有些限制有明确文档
阅读全文
摘要:////////////////////////////////////////////////////////////////////////////Java code snippet//get APK's versionCode in AndroidManifest.xmlpublic int ...
阅读全文
摘要:AAC V.S. MP3http://en.wikipedia.org/wiki/Advanced_Audio_Coding#AAC.27s_improvements_over_MP3AAC patent lisense FAQ:http://www.vialicensing.com/licensi...
阅读全文
摘要:previous:[工作记录] Android OpenGL ES 2.0: square texture not supported on some devicerecently I found that it is the mipmap of a non-square texture thatc...
阅读全文
摘要:之前关于OBB的内容: Android上使用native IO 最近工作中的问题笔记 工作记录[续] android OBB 自从用了Java来mount OBB, 再也没有遇到挂载的问题. 但最近在LG Nexus5 和LG G2上测试, 发现某个大约30K文件的文件, 一次性读取出来以后, 处理
阅读全文
摘要:npot texture: non-power-of-two texture.rectangle texture: non-square (height != wdith)在测试Samsumg Galaxy S4的时候, 发现rectangle texture支持不好, 虽然创建成功, 但是绘制有问...
阅读全文
摘要:the problem definitly apears after changing toolchain from gcc 4.6 to gcc 4.8.here's a solution with all details, no extra explanation needed:http://s...
阅读全文
摘要:前两篇在这里:Android上使用native IO最近工作中的问题笔记最近遇到的问题是,java.io.IOException: FAT FullStackOverflow的结果:http://stackoverflow.com/questions/18906055/what-causes-job...
阅读全文
摘要:used version: NDK r9b,arm-linux-androideabi-4.6 GCC, with "-O2 -finline-limit=24".got this error:internal compiler error: segmentation faultI remember...
阅读全文
摘要:GLES2.0:Some device will give a warning on compling shaders(yet the compling will succeed), and the rendering result is incorrect with blink & artifac...
阅读全文
摘要:DXT5N & 3Dc(aka BC5)compression in common code & SIMD:http://mrelusive.com/publications/papers/Real-Time-Normal-Map-Dxt-Compression.pdfOthers:dxt1 rea...
阅读全文
摘要:the key point is "Modified UTF-8" is not like "Regular UTF-8", a legal Rgular UTF8 code sequence may be considered illegal against Modified UTF8.One w...
阅读全文
摘要:http://developer.android.com/tools/help/adb.html#wireless
阅读全文
摘要:上周回总部跟同事吃饭的时候,跟一些老外大牛们聊了一些公司用到的各种技术。很多问题当时没有做笔录, 所以趁现在还记得,记录一下。1.动画压缩数据格式:使用quaternion保存旋转,这一点相信很多引擎都这么做了。 格式使用R10G10B10A2来提高精度, 只保存xyz,对于normalized q...
阅读全文
摘要:调试GLES, 发现某平台有各种问题,1.用三星手机测试和iphone测试, 在drawcall以后不调用glDisableVertexAttribArray, 没有问题. 但在某平台下,后续的draw call会花屏.实际问题主要是因为shader会优化掉某些不用的attrib, 这种情况下, 要...
阅读全文
摘要:首先, 官方google play对APK大小有限制: 50M.(https://support.google.com/googleplay/android-developer/answer/113469?hl=en)所以想通过google play发布大数据的应用的话, 得通过扩展包, 一个叫做O...
阅读全文
摘要:本来GLES提供了与native platform的接口 EGL,然而iOS没有使用EGL接口, 而是自己搞了一套,叫做EAGL的类似东西, 虽然说大同小异,但是在做跨平台的时候还是很恶心.elgMakeCurrent: 默认的EGL是需要surface和display的, iOS的EAGL实现, ...
阅读全文