Log in or register to post comments

Problem with Samsung Galaxy S2 and Ice Cream Sandwich

March 17, 2012 - 2:34pm #1

Hello there!

im having problems with the Augmented Reality plug in for Unity3D and my Samsung galaxy S2 with the new Ice Cream Sandwich Official update.

Before the Android update, it was working just perfect, no issues.

Now its not working, the screen just stay black and after some seconds returns to the main menu.

Does anyone is having this same behaviour?

Greetings!

Re: Problem with Samsung Galaxy S2 and Ice Cream Sandwich

March 19, 2012 - 8:15pm #7

awesome, thanks for the help!

what im thinking to do now is start a new proyect, empty, and just import the latest package from you guys and launch it into the phone and see what happens, so i will know if the mess is with my project.

i'll let you know what happens!

Re: Problem with Samsung Galaxy S2 and Ice Cream Sandwich

March 19, 2012 - 3:09pm #6

This appears to be the culprit ..

D/AndroidRuntime(19624): Shutting down VM
W/dalvikvm(19624): threadid=1: thread exiting with uncaught exception (group=0x40c401f8)
E/AndroidRuntime(19624): FATAL EXCEPTION: main
E/AndroidRuntime(19624): java.lang.NoSuchMethodError: com.unity3d.player.UnityPlayer.windowFocusChanged
E/AndroidRuntime(19624): 	at com.qualcomm.QCARUnityPlayer.QCARPlayerSharedActivity.onWindowFocusChanged(QCARPlayerSharedActivity.java:345)
E/AndroidRuntime(19624): 	at com.qualcomm.QCARUnityPlayer.QCARPlayerNativeActivity.onWindowFocusChanged(QCARPlayerNativeActivity.java:77)
E/AndroidRuntime(19624): 	at com.android.internal.policy.impl.PhoneWindow$DecorView.onWindowFocusChanged(PhoneWindow.java:2530)
E/AndroidRuntime(19624): 	at android.view.View.dispatchWindowFocusChanged(View.java:5875)
E/AndroidRuntime(19624): 	at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:851)
E/AndroidRuntime(19624): 	at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2707)
E/AndroidRuntime(19624): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(19624): 	at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(19624): 	at android.app.ActivityThread.main(ActivityThread.java:4507)
E/AndroidRuntime(19624): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(19624): 	at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(19624): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
E/AndroidRuntime(19624): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
E/AndroidRuntime(19624): 	at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 1985):   Force finishing activity r.intent.getComponent().flattenToShortString()
E/android.os.Debug( 1985): !@Dumpstate > dumpstate -k -t -n -z -d -o /data/log/dumpstate_app_error

My advice is to use the current version of the Unity extension, and if you already are, try reimporting the packages. There is a post on Unity Answers that describes the same issue w/ the Galaxy 2 and it was resolved by reimporting the packages.

Re: Problem with Samsung Galaxy S2 and Ice Cream Sandwich

March 19, 2012 - 7:35am #5

there you go, i think that was what you were requesting me

Thanks so much in advance!

Re: Problem with Samsung Galaxy S2 and Ice Cream Sandwich

March 18, 2012 - 6:35pm #4

You can get the log from the DDMS tool in the tools folder of your Android SDK installation. Or, if you're using Eclipse there is a DDMS perspective. Or, if you have a command line handy you can run "adb logcat".

Try uninstalling the application and reinstalling it, does that help? Is the device connected to the internet?

- Kim

Re: Problem with Samsung Galaxy S2 and Ice Cream Sandwich

March 17, 2012 - 6:12pm #3

sure no problem, can you please guide me where do i get that log file?
:confused::rolleyes:

Re: Problem with Samsung Galaxy S2 and Ice Cream Sandwich

March 17, 2012 - 4:59pm #2

Can you post a log from that device? - e.g. the LogCat log.

Log in or register to post comments