开发者

android_getCpuFeatures crashes on Honeycomb

I have an NDK project that calls android_getCpuFeatures early on. This works 开发者_Go百科fine on all phones I tested, but on a Honeycomb tablet, it simply crashes (the Logcat doesn't have much information, other than that there was a hard crash).

This is with the r5b NDK, using the new, preferred way of getting the CPU features function in.


I think it's not the answer, but you can investigate it with the source code (cpu-features.c, cpu-features.h).

android_getCpuFeatures just checks the strings that is taken from /proc/cpuinfo, it seems ok on every Android kernel.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜