So your issue is that it didn't work in the emulator?
My app works in emulator but not on real phone. Minimum android version is
2.1...
The log entry i have now shows more info then i have caught before, and it
looks like something with Remoting... I do have 3 web references in the
project that are called right when loading app. These calls work in
emulator not on phone:
I/ActivityManager( 2224): Start proc zed.toneroom for activity
zed.toneroom/zed.usa.droid.trd.activities.TRDLoadingActivity: pid=2870
uid=10083 gids={3003}
I/Zygote ( 2870): Zygote: pid 2870 has INTERNET permission, then set
capability for CAP_NET_RAW(13)
I/dalvikvm( 2870): Debugger thread not active, ignoring DDM send
(t=0x41504e4d l=38)
W/Resources( 2224): Converting to boolean: TypedValue{t=0x3/d=0xd99
"res/anim/accelerate_decelerate_interpolator.xml" a=1 r=0x10a0004}
W/Resources( 2224): Converting to boolean: TypedValue{t=0x3/d=0xd99
"res/anim/accelerate_decelerate_interpolator.xml" a=1 r=0x10a0004}
I/dalvikvm( 2870): Debugger thread not active, ignoring DDM send
(t=0x41504e4d l=28)
I/ActivityThread( 2870): Publishing provider zed.toneroom.__mono_init__:
mono.MonoRuntimeProvider
D/dalvikvm( 2870): Trying to load lib
/data/data/zed.toneroom/lib/libmonodroid.so 0x47fa1240
D/dalvikvm( 2870): Added shared lib
/data/data/zed.toneroom/lib/libmonodroid.so 0x47fa1240
D/dalvikvm( 2870): +++ not scanning '/system/lib/libwebcore.so' for 'init'
(wrong CL)
D/dalvikvm( 2870): +++ not scanning '/system/lib/libmedia_jni.so' for 'init'
(wrong CL)
D/dalvikvm( 2870): +++ not scanning '/system/lib/libexif.so' for 'init'
(wrong CL)
D/dalvikvm( 2870): GC freed 13204 objects / 485000 bytes in 25ms
D/dalvikvm( 2870): GC freed 11637 objects / 492688 bytes in 27ms
D/dalvikvm( 2870): GC freed 10827 objects / 467520 bytes in 25ms
D/dalvikvm( 2870): +++ not scanning '/system/lib/libwebcore.so' for
'register' (wrong CL)
D/dalvikvm( 2870): +++ not scanning '/system/lib/libmedia_jni.so' for
'register' (wrong CL)
D/dalvikvm( 2870): +++ not scanning '/system/lib/libexif.so' for 'register'
(wrong CL)
I/Zed.SplashScreen( 2870): Getting splash screen view ID.
I/Zed.SplashScreen( 2870): Setting splash screen view to 2130903053
I/Zed.SplashScreen( 2870): Getting splash screen image view id.
I/Zed.SplashScreen( 2870): Getting splash screen image view with id
2131099667
I/Zed.SplashScreen( 2870): Getting splash screen image value.
I/Zed.SplashScreen( 2870): Setting image resource to value 2130837517.
I/MonoDroid( 2870): UNHANDLED EXCEPTION: System.TypeInitializationException:
An exception was thrown by the type initializer for
System.Runtime.Remoting.RemotingServices ---> System.ArgumentException:
Argument value 1284968920 is not valid.
I/MonoDroid( 2870): Parameter name: access
I/MonoDroid( 2870): at System.Reflection.Emit.AssemblyBuilder..ctor
(System.Reflection.AssemblyName n, System.String directory,
AssemblyBuilderAccess access, Boolean corlib_internal) [0x00000] in
<filename unknown>:0
I/MonoDroid( 2870): at System.String.Equals (System.Object obj) [0x00000]
in <filename unknown>:0
I/MonoDroid( 2870): at System.Object.Equals (System.Object objA,
System.Object objB) [0x00000] in <filename unknown>:0
I/MonoDroid( 2870): at System.Array.System.Collections.IList.Contains
(System.Object value) [0x00000] in <filename unknown>:0
I/MonoDroid( 2870): at
System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel (IChannel
chnl, Boolean ensureSecurity) [0x00000] in <filename unknown>:0
I/MonoDroid( 2870): at
System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel (IChannel
chnl) [0x00000] in <filename unknown>:0
I/MonoDroid( 2870): at
System.Runtime.Remoting.Channels.CrossAppDomainChannel.RegisterCrossAppDomainChannel
() [0x00000] in <filename unknown>:0
I/MonoDroid( 2870): at
System.Runtime.Remoting.RemotingServices.RegisterInternalChannels ()
[0x00000] in <filename unknown>:0
I/MonoDroid( 2870): at System.Runtime.Remoting.RemotingServices..cctor ()
[0x00000] in <filename unknown>:0
I/MonoDroid( 2870): --- End of inner exception stack trace ---
I/MonoDroid( 2870): at System.Delegate.IsTransparentProxy () <0x00017>
I/MonoDroid( 2870): at System.Threading.ThreadPool.QueueUserWorkItem
(System.Threading.WaitCallback,object) <0x00023>
I/MonoDroid( 2870): at System.Threading.ThreadPool.QueueUserWorkItem
(System.Threading.WaitCallback) <0x00017>
I/MonoDroid( 2870): at
Zed.USA.Droid.UI.Activities.SplashScreenActivity.OnCreate
(Android.OS.Bundle) <0x0013b>
I/MonoDroid( 2870): at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_
(intptr,intptr,intptr) <0x00057>
I/MonoDroid( 2870): at (wrapper dynamic-method)
object.49854f30-3dd5-42e9-b807-149d8a29c8d7 (intptr,intptr,intptr) <0x00033>
E/mono ( 2870):
E/mono ( 2870): Unhandled Exception: System.TypeInitializationException:
An exception was thrown by the type initializer for
System.Runtime.Remoting.RemotingServices ---> System.ArgumentException:
Argument value 1284968920 is not valid.
E/mono ( 2870): Parameter name: access
E/mono ( 2870): at System.Reflection.Emit.AssemblyBuilder..ctor
(System.Reflection.AssemblyName n, System.String directory,
AssemblyBuilderAccess access, Boolean corlib_internal) [0x00000] in
<filename unknown>:0
E/mono ( 2870): at System.String.Equals (System.Object obj) [0x00000]
in <filename unknown>:0
E/mono ( 2870): at System.Object.Equals (System.Object objA,
System.Object objB) [0x00000] in <filename unknown>:0
E/mono ( 2870): at System.Array.System.Collections.IList.Contains
(System.Object value) [0x00000] in <filename unknown>:0
E/mono ( 2870): at
System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel (IChannel
chnl, Boolean ensureSecurity) [0x00000] in <filename unknown>:0
E/mono ( 2870): at
System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel (IChannel
chnl) [0x00000] in <filename unknown>:0
E/mono ( 2870): at System.Runtime.
D/Zygote ( 2185): Process 2870 exited cleanly (1)
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Problems-starting-App-on-actual-Device-tp4619605p4626533.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid