%LOCALAPPDATA%XamarinStudio-{VERSION}Logs
.$HOME/Library/Logs/XamarinStudio-{VERSION}
.*mono-debug*
.=PROPERTY_VALUE
setting.bin
and obj
Clean
, Rebuild
, or manually delete your bin
and obj
directories.bin
and obj
directories, zip them up and save them for later diagnosis if needed. You can probably merely Clean
your Xamarin.Android application project to get things working again.MONO_LOG_LEVEL
environment variable to debug
:GC_BRIDGE
message, num-objects
is thenumber of bridge objects this pass is considering, and num_hash_entries
is the number of objects processed during thisinvocation of the bridge code.GC_MINOR
and GC_MAJOR
messages, total
is the amount of time while the world is paused (no threadsare executing), while bridge
is the amount of time taken in thebridge processing code (which deals with the Java VM). The world is not paused while bridge processing occurs.num_hash_entries
,the more time that the bridge
collections will take, and thelarger the total
time spent collecting will be.JniRuntime
object.Java.Interop.JniRuntime.CurrentRuntime.GlobalReferenceCount
- Global Reference CountJava.Interop.JniRuntime.CurrentRuntime.WeakGlobalReferenceCount
- Weak Reference Count-partition-size 512
options, e.g.<uses-library/>
element. If a required library is not presenton the target device (e.g. //uses-library/@android:required
istrue, which is the default), then package installation will fail withINSTALL_FAILED_MISSING_SHARED_LIBRARY.<uses-library/>
elements. <uses-library/>
elements can be addedmanually in your project's PropertiesAndroidManifest.xml file and via theUsesLibraryAttribute custom attribute.<uses-library/>
for the Google Maps shared library.INSTALL_FAILED_UID_CHANGED
:adb
:adb uninstall -k
, as this will preserve application data,and thus preserve the conflicting UID on the target device.List<IDictionary<string, object>>
is being marshaled to ajava.lang.ArrrayList,but the ArrayList
is containing mono.android.runtime.JavaObject
instances (which reference the Dictionary<string, object>
instances)instead of something that implementsjava.util.Map,resulting in the following exception:System.Collections.Generic
types for the “inner”types. This will result in appropriate Java types when marshaling theinstances. (The following code is more complicated than necessary inorder to reduce gref lifetimes. It can be simplified to altering theoriginal code via s/List/JavaList/g
ands/Dictionary/JavaDictionary/g
if gref lifetimes aren't a worry.)java.lang.Runnable.run
on a typethat doesn't implement java.lang.Runnable
. When this occurs, therewill be a message similar to this in the Android Debug Log: