Skip to content

Instantly share code, notes, and snippets.

View carlosalberto's full-sized avatar
🏠
Working from home

Carlos Alberto Cortez carlosalberto

🏠
Working from home
View GitHub Profile
diff --git a/extras/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/AndroidAppManifest.cs b/extras/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/AndroidAppManifest.cs
index a3f28f9..bcbebe2 100644
--- a/extras/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/AndroidAppManifest.cs
+++ b/extras/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/AndroidAppManifest.cs
@@ -260,9 +260,14 @@ namespace MonoDevelop.MonoDroid
if (cache.TryGetValue (filename, out value))
return value;
- var pf = Project.GetProjectFile (filename);
+ // When we receive filename == "AndroidManifest.xml",
/extra/mono-git/mondroid/samples/Hello/Hello.sln (Build) ->
(Build target) ->
/extra/mono-git/mondroid/samples/Hello/HelloLibrary.csproj (default targets) ->
/extra/mono-git/mondroid/tools/msbuild/build/Novell/Novell.MonoDroid.Common.targets (_ResolveMonoAndroidSdks target) ->
/extra/mono-git/mondroid/tools/msbuild/build/Novell/Novell.MonoDroid.Common.targets: error : Error executing task ResolveSdks: Argument cannot be null.
Parameter name: path1
ERROR [2011-03-09 15:14:51Z]: Add-in error (MonoDevelop.Core):
System.NullReferenceException: Object reference not set to an instance of an object
at MonoDevelop.Core.Serialization.DataContext.IncludeType (Mono.Addins.RuntimeAddin addin, System.String typeName, System.String itemName) [0x0000b] in /extra/mono-git/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/DataContext.cs:217
at MonoDevelop.Projects.ProjectService.OnSerializableExtensionChanged (System.Object s, Mono.Addins.ExtensionNodeEventArgs args) [0x00017] in /extra/mono-git/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:578
at Mono.Addins.ExtensionNode.add_ExtensionNodeChanged (Mono.Addins.ExtensionNodeEventHandler value) [0x00024] in /extra/mono-git/mono-addins/Mono.Addins/Mono.Addins/ExtensionNode.cs:172
ERROR [2011-03-09 15:17:49Z]: Add-in error (MonoDevelop.Core):
System.ArgumentNullException: Argument cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[System.String,MonoDevelop.Core.Serialization.DataContext+TypeRef].TryGetValue (System.String key, MonoDevelop.Core.Serialization.TypeRef& value) [0x00000] in <filename unknown>:0
at MonoDevelop.Core.Serialization.DataContext.IncludeType (Mono.Addins.RuntimeAddin addin, System.String typeName, System.String itemName) [0x0002e] in /extra/mono-git/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/DataContext.cs:224
at MonoDevelop.Projects.ProjectService.OnSerializableExtensionChanged (System.Object s, Mono.Addins.ExtensionNodeEventArgs args) [0x00017] in /extra/mono-git/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:578
at Mono.Addins.ExtensionNode.add_ExtensionNodeChanged (Mono.Addins.ExtensionNodeEventHandler value) [0x00024] in /extra/mono-git/mono-addins/Mono.A
CSC mandroid.exe
ApkBuilder.cs(19,55): error CS0012: The type `I18N.Common.ByteEncoding' is defined in an assembly that is not referenced. Consider adding a reference to assembly `I18N, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
Compilation failed: 1 error(s), 0 warnings
/extra/mono-git/mondroid/samples/Hello/Hello.sln (Build) ->
(Build target) ->
/extra/mono-git/mondroid/samples/Hello/Hello.csproj (default targets) ->
/extra/mono-git/mondroid/tools/msbuild/build/Novell/Novell.MonoDroid.Common.targets (_GenerateAndroidAssetsDir target) ->
/extra/mono-git/mondroid/tools/msbuild/build/Novell/Novell.MonoDroid.Common.targets: error : Error executing task RemoveUnknownFiles: /extra/mono-git/mondroid/samples/Hello/obj/Debug/assets/Subdir is a directory
1 Warning(s)
1 Error(s)
./../../bin/mono-Linux --debug gen-salt.exe
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/home/jon/Development/mono-droid/mono/BUILD/x86/install/lib/mono/4.0/mscorlib.dll' directory.
make[1]: *** [salt.cs] Error 1
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Gtk.Application.gtk_main_iteration() at Mono.Addins.Gui.InstallMonitor.WaitForCompleted() at Mono.Addins.Gui.InstallDialog.Install() at Mono.Addins.Gui.InstallDialog.OnButtonOkClicked(Object sender, EventArgs e) --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Delegate.DynamicInvokeImpl(Object[] args) at GLib.Signal.C
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Gtk.Application.gtk_main_iteration() at Mono.Addins.Gui.InstallMonitor.WaitForCompleted() at Mono.Addins.Gui.InstallDialog.Install() at Mono.Addins.Gui.InstallDialog.OnButtonOkClicked(Object sender, EventArgs e) --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo cul
1. Filter by popularity:
GET api/station-sessions/?format=json,order=popularity
(you should see the order based on listener_count in each station)
2. Feed event for activity_changed
PUT {"activity_id": "SOME-GUID"} api/stations/(station)/(session)/ -> Broadcaster
PUT {"activity_id": "SOME-GUID"} api/stations/(station)/(session)/listeners/(listener_username)/ -> listener