您的位置:首页 > 移动开发 > Android开发

android:getSlotFromBufferLocked: unknown buffer: 0xf3d544c0

2016-06-04 18:13 471 查看
欢迎关注公众号,每天推送Android技术文章,二维码如下:(可扫描)



今天运行一个小程序,退出的时候竟然打出一条错误log日志。一时慌乱,在国内网站也没找到合适的答复。通过查看国外的网站终于查到了原因。先看一下国外这个哥们是什么情况:

I want to make a simple login and register app, so the user can create an account. (name, username, password)I use WAMP and a MYSQL database where I store the accounts.

When I fill in the user info on the registration form and click register I get the following error:

大致意思是:

我想打一个简单的登录和注册应用程序,使用户可以创建一个帐户。 (姓名,用户名,密码)我使用WAMP和MySQL数据库,我存储账户。

当我填写登记表上的用户信息,然后点击注册我得到以下错误:

getSlotFromBufferLocked: unknown buffer: 0xab7115e0

回答是这么回答的:
I believe that this is Marshmallow specific. Are you using a Marshmallow device?

I've noticed this error is printed out every time I switch between applications (doesn't matter which) or exit out of them, and when activities are destroyed.

I've tried running the same apps on two Nexus 5s - one running Lollipop and the other Marshmallow, and these log prints only appeared on the Marshmallow version - with every app, not just the one I'm building.

Not sure why this happens, but I opened a report  here.

大致意思是棒棒糖(应该是安卓6.0),都会出现这个情况。用另一款Nexus 5s(棉花糖的版本)就没事。我自己修改了一下,果然神奇!

这就是大致的错误原因,换一个模拟器就ok了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: