Hi All,
I am some what new to Unity3D and Android development in general. However I have developed a game on Android (my tablet Samsung Galaxy Tab 10.1 and phone Samsung Galaxy Nexus) manually with java/opengl. However I have recently purchased a professional Unity Pro, iOS pro and Android Pro license and developed the same game using Unity3D on my PC and through the web player. Those versions work great.
When I build the .apk using Unity3D and install it on either my tablet or phone the splash screen shows up with my image and then it just crashes to desktop. I did a logcat but can’t find anything specific to what went wrong except during the splash screen it would seem to literally destroy all processes currently running and eventually destroying my game process at the end.
I/ActivityManager( 178): START {flg=0x10000 cmp=com.company.TigerPower/com.unity3d.player.UnityPlayerNativeActivity} from pid 3834
D/OpenGLRenderer( 253): Flushing caches (mode 0)
D/OpenGLRenderer( 253): Flushing caches (mode 0)
D/dalvikvm( 3834): Trying to load lib /data/data/com.company.TigerPower/lib/libmono.so 0x41831470
D/dalvikvm( 3834): Added shared lib /data/data/com.company.TigerPower/lib/libmono.so 0x41831470
D/OpenGLRenderer(24817): Flushing caches (mode 0)
D/OpenGLRenderer(24817): Flushing caches (mode 0)
D/proxy ( 3834): Added shared lib /assets/libs/armeabi-v7a/libmono.so 0x59449f4c
D/proxy ( 3834): No JNI_OnLoad found in /assets/libs/armeabi-v7a/libmono.so 0x59449f4c
D/dalvikvm( 3834): Trying to load lib /data/data/com.company.TigerPower/lib/libunity.so 0x41831470
D/dalvikvm( 3834): Added shared lib /data/data/com.company.TigerPower/lib/libunity.so 0x41831470
D/OpenGLRenderer(24817): Flushing caches (mode 1)
D/proxy ( 3834): Added shared lib /assets/libs/armeabi-v7a/libunity.so 0x5aed6f4c
I/WindowManager( 178): createSurface Window{41fb0ce0 com.company.TigerPower/com.unity3d.player.UnityPlayerNativeActivity paused=fals
}: DRAW NOW PENDING
I/WindowManager( 178): createSurface Window{421fa8b0 SurfaceView paused=false}: DRAW NOW PENDING
D/libEGL ( 3834): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 3834): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 3834): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 3834): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
D/Unity ( 3834): Creating OpenGL ES 2.0 context (RGB16 565 24/8)
D/dalvikvm( 3834): GC_CONCURRENT freed 296K, 3% free 14192K/14535K, paused 2ms+1ms
I/ActivityManager( 178): Displayed com.company.TigerPower/com.unity3d.player.UnityPlayerNativeActivity: +1s768ms (total +39s718ms)
W/InputManagerService( 178): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@41a85e50 (uid=10
28 pid=24817)
D/dalvikvm(24992): GC_EXPLICIT freed 32K, 18% free 19993K/24263K, paused 1ms+8ms
W/IInputConnectionWrapper(24817): showStatusIcon on inactive InputConnection
D/dalvikvm( 178): GC_EXPLICIT freed 1789K, 19% free 26560K/32583K, paused 2ms+6ms
D/dalvikvm(24975): GC_CONCURRENT freed 648K, 6% free 14600K/15495K, paused 2ms+4ms
D/dalvikvm(24975): GC_CONCURRENT freed 433K, 6% free 14679K/15495K, paused 2ms+2ms
I/ActivityManager( 178): Process com.google.android.apps.plus (pid 25317) has died.
I/ActivityManager( 178): Process com.android.settings (pid 3550) has died.
I/WindowManager( 178): WIN DEATH: Window{41cf0ad0 com.android.settings/com.android.settings.Settings paused=false}
I/ActivityManager( 178): Process com.tincan.telstrameter (pid 3481) has died.
I/ActivityManager( 178): Process com.facebook.katana (pid 791) has died.
I/ActivityManager( 178): Process com.google.android.apps.maps (pid 26240) has died.
I/ActivityManager( 178): Process com.google.android.apps.maps:LocationFriendService (pid 3270) has died.
I/ActivityManager( 178): Process com.google.android.apps.maps:FriendService (pid 3255) has died.
I/ActivityManager( 178): Process com.google.android.gm (pid 3671) has died.
I/ActivityManager( 178): Process com.google.android.gsf.login (pid 3691) has died.
I/ActivityManager( 178): Process com.google.android.voicesearch (pid 3767) has died.
I/ActivityManager( 178): Process com.google.android.partnersetup (pid 3747) has died.
I/ActivityManager( 178): Process com.google.process.gapps (pid 24846) has died.
W/ActivityManager( 178): Scheduling restart of crashed service com.google.android.location/.internal.server.NetworkLocationService in 5000
s
W/ActivityManager( 178): Scheduling restart of crashed service com.google.android.location/.NetworkLocationService in 15000ms
W/ActivityManager( 178): Scheduling restart of crashed service com.google.android.gsf/.gtalkservice.service.GTalkService in 25000ms
I/ActivityManager( 178): Kill com.google.android.apps.maps:NetworkLocationService (pid 3639): provider com.google.android.gsf.settings.Goo
leSettingsProvider in dying process com.google.process.gapps
I/ActivityManager( 178): Process com.google.android.apps.maps:NetworkLocationService (pid 3639) has died.
W/ActivityManager( 178): Scheduling restart of crashed service com.google.android.apps.maps/com.google.android.location.internal.server.Ne
workLocationService in 34989ms
I/ActivityManager( 178): Process com.android.bluetooth (pid 2338) has died.
I/ActivityManager( 178): Process com.levelup.beautifulwidgets (pid 24975) has died.
I/ActivityManager( 178): Process com.google.android.inputmethod.latin (pid 3207) has died.
I/WindowManager( 178): WIN DEATH: Window{4185a308 com.android.launcher/com.android.launcher2.Launcher paused=false}
I/ActivityManager( 178): Process com.android.launcher (pid 24817) has died.
I/ActivityManager( 178): Process android.process.media (pid 1607) has died.
W/ActivityManager( 178): Scheduling restart of crashed service com.android.providers.downloads/.DownloadService in 42109ms
W/ActivityManager( 178): Scheduling restart of crashed service com.android.providers.media/.MtpService in 52109ms
I/ActivityManager( 178): Process com.glu.modwarsniper (pid 3789) has died.
W/ActivityManager( 178): Scheduling restart of crashed service com.glu.modwarsniper/com.urbanairship.push.PushService in 61981ms
I/ActivityManager( 178): Process com.glu.gladiator (pid 3809) has died.
W/ActivityManager( 178): Scheduling restart of crashed service com.glu.gladiator/com.urbanairship.push.PushService in 71886ms
I/ActivityManager( 178): Process com.beansoft.keyboardplus (pid 24992) has died.
I/WindowManager( 178): WIN DEATH: Window{4184c5f0 InputMethod paused=false}
W/ActivityManager( 178): Scheduling restart of crashed service com.beansoft.keyboardplus/.LatinIME in 81154ms
W/InputManagerService( 178): Session failed to close due to remote exception
W/InputManagerService( 178): android.os.DeadObjectException
W/InputManagerService( 178): at android.os.BinderProxy.transact(Native Method)
W/InputManagerService( 178): at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:366)
W/InputManagerService( 178): at com.android.server.InputMethodManagerService.finishSession(InputMethodManagerService.java:997)
W/InputManagerService( 178): at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:1010)
W/InputManagerService( 178): at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:1030)
W/InputManagerService( 178): at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1066)
W/InputManagerService( 178): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1080)
W/InputManagerService( 178): at android.os.Handler.handleCallback(Handler.java:605)
W/InputManagerService( 178): at android.os.Handler.dispatchMessage(Handler.java:92)
W/InputManagerService( 178): at android.os.Looper.loop(Looper.java:137)
W/InputManagerService( 178): at com.android.server.ServerThread.run(SystemServer.java:744)
W/InputManagerService( 178): Session failed to close due to remote exception
W/InputManagerService( 178): android.os.DeadObjectException
W/InputManagerService( 178): at android.os.BinderProxy.transact(Native Method)
W/InputManagerService( 178): at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:366)
W/InputManagerService( 178): at com.android.server.InputMethodManagerService.finishSession(InputMethodManagerService.java:997)
W/InputManagerService( 178): at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:1010)
W/InputManagerService( 178): at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:1030)
W/InputManagerService( 178): at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1066)
W/InputManagerService( 178): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1080)
W/InputManagerService( 178): at android.os.Handler.handleCallback(Handler.java:605)
W/InputManagerService( 178): at android.os.Handler.dispatchMessage(Handler.java:92)
W/InputManagerService( 178): at android.os.Looper.loop(Looper.java:137)
W/InputManagerService( 178): at com.android.server.ServerThread.run(SystemServer.java:744)
W/InputManagerService( 178): Session failed to close due to remote exception
W/InputManagerService( 178): android.os.DeadObjectException
W/InputManagerService( 178): at android.os.BinderProxy.transact(Native Method)
W/InputManagerService( 178): at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:366)
W/InputManagerService( 178): at com.android.server.InputMethodManagerService.finishSession(InputMethodManagerService.java:997)
W/InputManagerService( 178): at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:1010)
W/InputManagerService( 178): at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:1030)
W/InputManagerService( 178): at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1066)
W/InputManagerService( 178): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1080)
W/InputManagerService( 178): at android.os.Handler.handleCallback(Handler.java:605)
W/InputManagerService( 178): at android.os.Handler.dispatchMessage(Handler.java:92)
W/InputManagerService( 178): at android.os.Looper.loop(Looper.java:137)
W/InputManagerService( 178): at com.android.server.ServerThread.run(SystemServer.java:744)
W/InputManagerService( 178): Session failed to close due to remote exception
W/InputManagerService( 178): android.os.DeadObjectException
W/InputManagerService( 178): at android.os.BinderProxy.transact(Native Method)
W/InputManagerService( 178): at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:366)
W/InputManagerService( 178): at com.android.server.InputMethodManagerService.finishSession(InputMethodManagerService.java:997)
W/InputManagerService( 178): at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:1014)
W/InputManagerService( 178): at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:1030)
W/InputManagerService( 178): at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1066)
W/InputManagerService( 178): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1080)
W/InputManagerService( 178): at android.os.Handler.handleCallback(Handler.java:605)
W/InputManagerService( 178): at android.os.Handler.dispatchMessage(Handler.java:92)
W/InputManagerService( 178): at android.os.Looper.loop(Looper.java:137)
W/InputManagerService( 178): at com.android.server.ServerThread.run(SystemServer.java:744)
I/WindowManager( 178): WIN DEATH: Window{421fa8b0 SurfaceView paused=false}
I/ActivityManager( 178): Process com.company.TigerPower (pid 3834) has died.
W/ActivityManager( 178): Force removing ActivityRecord{41dab240 com.company.TigerPower/com.unity3d.player.UnityPlayerNativeActivity}
app died, no saved state
W/InputDispatcher( 178): channel '41fb0ce0 com.company.TigerPower/com.unity3d.player.UnityPlayerNativeActivity (server)' ~ Consumer
losed input channel or an error occurred. events=0x8
E/InputDispatcher( 178): channel '41fb0ce0 com.company.TigerPower/com.unity3d.player.UnityPlayerNativeActivity (server)' ~ Channel i
unrecoverably broken and will be disposed!
W/InputDispatcher( 178): Attempted to unregister already unregistered input channel '41fb0ce0 com.company.TigerPower/com.unity3d.pla
er.UnityPlayerNativeActivity (server)'
I/WindowManager( 178): WIN DEATH: Window{41fb0ce0 com.company.TigerPower/com.unity3d.player.UnityPlayerNativeActivity paused=false}
I/WindowManager( 178): WINDOW DIED Window{41fb0ce0 com.company.TigerPower/com.unity3d.player.UnityPlayerNativeActivity paused=false}
I/ActivityManager( 178): Start proc com.android.launcher for activity com.android.launcher/com.android.launcher2.Launcher: pid=3861 uid=10
28 gids={}
I/ActivityManager( 178): Start proc com.google.process.gapps for service com.google.android.location/.internal.server.NetworkLocationServi
e: pid=3872 uid=10009 gids={3003, 1015, 1007, 2001, 3006}
I/dalvikvm( 3872): Turning on JNI app bug workarounds for target SDK version 12...
I/InputReader( 178): Reconfiguring input devices. changes=0x00000004
I/InputReader( 178): Device reconfigured: id=6, name='Melfas MMSxxx Touchscreen', surface size is now 720x1280, mode is 1
I/ActivityManager( 178): Config changed: {1.0 505mcc1mnc en_AU layoutdir=0 sw360dp w360dp h592dp nrml port finger -keyb/v/h -nav/h s.95}
D/OpenGLRenderer( 253): Flushing caches (mode 0)
D/OpenGLRenderer( 253): Flushing caches (mode 0)
D/OpenGLRenderer( 253): Flushing caches (mode 0)
I/ActivityThread( 3872): Pub com.google.settings: com.google.android.gsf.settings.GoogleSettingsProvider
I/ActivityThread( 3861): Pub com.android.launcher2.settings: com.android.launcher2.LauncherProvider
I/ActivityThread( 3872): Pub subscribedfeeds: com.google.android.gsf.subscribedfeeds.SubscribedFeedsProvider
D/dalvikvm( 253): GC_CONCURRENT freed 715K, 41% free 16538K/27975K, paused 1ms+8ms
I/ActivityThread( 3872): Pub com.google.contacts.gal.provider: com.google.android.syncadapters.contacts.GalProvider
I/ActivityThread( 3872): Pub com.google.android.gsf.gservices: com.google.android.gsf.gservices.GservicesProvider
I/GservicesProvider( 3872): Gservices pushing to system: true; secure: true
I/ActivityThread( 3872): Pub com.google.android.providers.talk: com.google.android.gsf.talk.TalkProvider
D/dalvikvm( 3861): GC_CONCURRENT freed 112K, 2% free 14415K/14599K, paused 4ms+1ms
D/androidInternalNlpService( 3872): onCreate com.google.android.location.internal.server.NetworkLocationService@41866268
D/NetworkLocationRealOs( 3872): NLPv2 file already exists; ignoring any NLPv1 files
D/androidNlpServiceThread( 3872): ANDROID minProtocolVersion 1 maxProtocolVersion 1 releaseVersion -1
D/SyncManager( 178): setSyncAutomatically: , provider subscribedfeeds -> true
D/SyncManager( 178): setSyncAutomatically: already set to true, doing nothing
D/dalvikvm( 3861): GC_CONCURRENT freed 519K, 5% free 14378K/14983K, paused 7ms+2ms
D/dalvikvm( 3861): GC_CONCURRENT freed 68K, 2% free 14788K/14983K, paused 2ms+2ms
D/dalvikvm( 3872): GC_CONCURRENT freed 248K, 2% free 14309K/14599K, paused 8ms+7ms
I/WindowManager( 178): createSurface Window{41d4e198 com.android.launcher/com.android.launcher2.Launcher paused=false}: DRAW NOW PENDING
I definately BinderProxy problems with native methods failing, but I don’t understand what I’m doing wrong. I haven’t done anything android specific at all, I’ve simply just tried to build the android .apk using the exact same code with my desktop version. If am completely out of line doing that and obviously need to do some reading up on android development with Unity would someone please be able to point me in the right direction because I can’t find a hell of a lot of documentation with Unity and android.
Anyone have any ideas what could be wrong?
Thanks heaps in advance