- 博客(10)
- 收藏
- 关注
转载 OpenGL 入门资料(适合初学者)
1.中文LearnOpenGL-CN:http://learnopengl-cn.readthedocs.io/zh/latest/2.英文LearnOpenGL :http://learnopengl.com/#!Introduction3.OpenGLhttp://www.songho.ca/opengl/index.html
2020-10-22 17:58:02
230
转载 基本控件使用(WebView)
项目中,难免会遇到要做一个内嵌的网页,现Lua中,绑定好了WebView,下边看一下具体的用法:local webView = ccexp.WebView:create()webView:setContentSize(cc.size(1280, 600))webView:setScalesPageToFit(true)webView:setPosition(cc.p(640, 30...
2019-11-25 15:15:07
434
原创 GVoice腾讯游戏语音Android Studio端接入方法
使用的是GVoice Cocos2d版本项目使用的是cocos 3.17.2 ,Android项目不再支持eclipse(两巨头打架,我们遭殃),所以Android Studio开发。项目是从cocos3.10 (使用的eclipse)升级到cocos3.17.2 ,本人升级的引擎,但是奈何本人能力有限,没有调通使用Android.mk来编译工程,转而使用的cmakelist来实现的...
2019-08-09 10:33:55
1244
原创 Error: The WIFI_SERVICE must be looked up on the Application context or memory will leak on devices
错误:The WIFI_SERVICE must be looked up on the Application context or memory will leak on devices < Android N. Try changing Utils.getContext()to Utils.getContext().getApplicationContext() [WifiMa...
2019-07-26 17:37:08
823
原创 Call requires permission which may be rejected by user: code should explicitly check to see if permi
Call requires permission which may be rejected by user: code should explicitly check to see if permission is available (with checkPermission) or explicitly handle a potential SecurityException less.....
2019-07-26 16:38:59
1026
转载 Execution failed for task ':pyqp:compileDebugJavaWithJavac'.
碰到这个异常我也是挺无语的,因为Android Studio根本不会提示你详细的错误信息。我们来看看这个博主:http://blog.youkuaiyun.com/runner__1/article/details/53482565我就是借鉴他找错的经历找到错误的在命令行中进入项目的根目录,或者可以在Android studio的Terminal中直接操作也可以,然后敲入一个命令: grad...
2019-07-09 20:20:32
232
原创 ios Attempt to present * on * whose view is not in the window hierarchy!
ios小白一个,最近公司让接直接接系统分享,遇到问题,一直调不起ios系统分享,看日志如下Warning: Attempt to present <UIActivityViewController: 0x1058c1600> on <SystemShareController: 0x10504d160> whose view is not in the window h...
2019-05-06 15:53:11
276
原创 cocos lua 触摸穿透问题
碰上创建layer会点击穿透local UserInfoLayer = class("UserInfoLayer", function ()--return display.newColorLayer(cc.c4b(0, 0, 0, 175))local layer = display.newColorLayer(cc.c4b(0, 0, 0, 175))-- layer:setT...
2019-02-18 12:19:15
1671
原创 iOS 打包 "Found an unexpected Mach-O header code: 0x72613c21"报错
iOS 打包 "Found an unexpected Mach-O header code: 0x72613c21"报错
2017-07-19 12:05:50
3657
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人