原地址:http://blog.csdn.net/alking_sun/article/details/23684733

Unity3D在打包安卓应用的时候,一打开游戏就闪退,接入LogCat之后发现有如下的Log:

04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeVideoFrameCallback:VILII
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeSoftInputClosed:V
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeSetTouchDeltaY:VF
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeSetInputString:VL
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeSetInputCanceled:VZ
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeSetExtras:VL
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeSetDefaultDisplay:VI
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeResume:V
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeResize:VIIII
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeRequestedAA:I
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeRequested32bitDisplayBuffer:Z
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeRender:Z
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeRecreateGfxState:VL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativePause:Z
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeKeysPressed:VL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeInjectEvent:ZL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeInitWWW:VL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeFocusChanged:VZ
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeFile:VL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeDone:V
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeActivityIndicatorStyle:I
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.initJni:VL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.UnitySendMessage:VLLL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeSetLocationStatus:VI
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeSetLocation:VFFFFDF
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeForwardEventsToDalvik:VZ
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeDeviceOrientation:VI
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodUnblockStreaming:I
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodProcess:IL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodInitJni:I
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodGetInfo:II
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodBlockStreaming:I
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodProcessMicData:ILI
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/ReflectionHelper;.nativeProxyInvoke:LILL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/ReflectionHelper;.nativeProxyFinalize:VI
04-14 10:12:08.307: INFO/Process(23204): Sending signal. PID: 23204 SIG: 9

04-14 10:12:08.330: INFO/ActivityManager(379): Process xxxxxxxxx (pid 23204) has died.

出错原因:

unity PlayerSetting设置的屏幕方向和Manifest里面设置的屏幕方向不一致。

解决方法:

将PlayerSetting屏幕方向和Manifest里的屏幕设置方向设置相同。

Unity3D 错误,nativeVideoFrameCallback解决方法。的更多相关文章

  1. Eclipse启动时发生An internal error occurred during: "Initializing Java Tooling".错误的解决方法

    问题描述: Eclipse启动时发生An internal error occurred during: "Initializing JavaTooling".错误的解决方法 解决 ...

  2. GCC-4.6.3编译linux2.6.32.12内核出现“重复的成员‘page’”错误的解决方法

    使用gcc4.6.3编译linux2.6.32.12内核出现错误如下: In file included from drivers/net/igbvf/ethtool.c:36:0: drivers/ ...

  3. Linux系统Vsftp 传文件出现 553 Could Not Create File错误的解决方法

    解决方法: 登录出现了这个错误提示:553 Could not create file SELinux设置如下 查看SELinux设置 [root@localhost ~]# getsebool -a ...

  4. [转]权限问题导致Nginx 403 Forbidden错误的解决方法

    权限问题导致Nginx 403 Forbidden错误的解决方法 投稿:junjie 字体:[增加 减小] 类型:转载 时间:2014-08-22 这篇文章主要介绍了权限问题导致Nginx 403 F ...

  5. ueditor上传大容量视频报http请求错误的解决方法

    故障现象: 当使用百度编辑器ueditor上传大容量视频或大容量图片的时候,编辑器报"http请求错误"的解决方法详解: 原因分析: 目前很多CMS整合了百度的ueditor编辑器 ...

  6. window10 安装出现the error code is 2503错误的解决方法

    window10 安装出现the error code is 2503错误的解决方法:  设置 C:\WINDOWS\TEMP的权限

  7. MyEclipse+Tomcat 启动时出现A configuration error occured during startup错误的解决方法

    MyEclipse+Tomcat 启动时出现A configuration error occured during startup错误的解决方法 分类: javaweb2013-06-03 14:4 ...

  8. Jquery中使用setInterval和setTimeout会提示缺少对象的错误,解决方法如下:

    直接在ready中调用其他方法,会提示缺少对象的错误,解决方法如下: 方法1. 应用jQuery的扩展可以解决这个问题. $(document).ready(function(){ $.extend( ...

  9. ASP.NET MVC 3 loginUrl自动变成Account/Login,并且发生404错误的解决方法

    http://www.cnblogs.com/think8848/archive/2011/07/08/2100814.html ASP.NET MVC 3 loginUrl自动变成Account/L ...

  10. Servlet常见错误及解决方法

    常见错误及解决方法 1. 404产生的原因为Web服务器(容器)根据请求地址找不到对应资源,以下情况都会出现404的错误提示: 输入的地址有误(应用名大小写不正确,名称拼写不正确) 在web.xml文 ...

随机推荐

  1. Python之路-(三级菜单)

    data = { '北京':{ '海淀':{ '五道口':{ 'soho':{}, '网易':{}, 'google':{} }, '中关村':{ '爱奇艺':{}, '汽车之家':{}, 'youk ...

  2. Android 实现子View的状态跟随父容器的状态

    最近自学着做东西,需要做一个效果,就是我ListView的Item点击下或者选中的时候,我Item里面的各个组件的状态要和我Item的状态保持一直,这样我就可以用XML,去根据组件的不同状态去实现不同 ...

  3. OpenStack: 安装准备

    >安装准备1. 安装MySQL# apt-get install python-mysqldb mysql-server将/etc/mysql/my.cnf修改bind-address为&quo ...

  4. PB中无法插入ole控件,解决办法

    cmd /c for %i in (%windir%\system32\*.ocx) do regsvr32.exe /s %icmd /c for %i in (%windir%\system32\ ...

  5. JS中showModalDialog 详细使用

    基本介绍: showModalDialog() (IE 4+ 支持) showModelessDialog() (IE 5+ 支持) window.showModalDialog() 方法用来创建一个 ...

  6. JAVA数据结构-----枚举

    枚举(Enumeration)接口虽然它本身不属于数据结构,但它在其他数据结构的范畴里应用很广. 枚举(The Enumeration)接口定义了一种从数据结构中取回连续元素的方式. 例如,枚举定义了 ...

  7. P2763: [JLOI2011]飞行路线

    然而WA了呀,这道分层图,也是不明白为什么WA了=-= ; maxn=; points=; type node=record f,t,l:longint; end; var n,m,k,i,j,u,v ...

  8. C++中的const关键字的用法

    1.const用于修饰普通变量,表示常量,不建议修改,某种程度上不允许修改(其实也是可以修改的) 指针常量 :指针(指向的变量的值)自身是一个常量,说明不能改变自身的指向  int* const p= ...

  9. 【每日scrum】NO.7

    Yesterday:学习和设计路线的编程 Today:编写代码 Problem:.在设计查询参观路线的时候,整个逻辑特别的混乱,设想了各种树,图以及网的遍历问题,但经过多次与同学的交流以及网上的查询资 ...

  10. Travis-CI的进一步使用

    今天主要对.travis.yml文件和makefile进行进一步的了解: 1.在.travis.yml文件中添加了给linux系统中安装了cppunit库的语句,使能够持续集成写过的单元测试的代码.主 ...