https://bugzilla.novell.com/show_bug.cgi?id=645255

https://bugzilla.novell.com/show_bug.cgi?id=645255#c2


Evgheniy Ponomarenco <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |evgheniy.ponomare...@gmail.
                   |                            |com

--- Comment #2 from Evgheniy Ponomarenco <[email protected]> 
2010-10-14 13:08:32 UTC ---
The issue in the interface itself. This does not compile either.

https://bugzilla.novell.com/show_bug.cgi?id=645255

namespace HelloMonoDroid
{
    public interface IMyView { }

    public class MyView : View, IMyView
    {
        public MyView(Context context, IAttributeSet attrs) :
            base(context, attrs)
        {
            Initialize();
        }

        public MyView(Context context, IAttributeSet attrs, int defStyle) :
            base(context, attrs, defStyle)
        {
            Initialize();
        }

        private void Initialize()
        {
        }
    }
}

STACK TRACE.

 
C:\Projects\MonoDroid\MonoDroid\HelloMonoDroid\obj\Debug\android\src\helloMonoDroid\MyView.java:8:
illegal start of type
  {
  ^
  1 errors

  at MonoDroid.Utils.ProcessRocks.<ReadStandardOutput>c__Iterator4.MoveNext()
  at Monodroid.Toolbox.InvokeCommand(IEnumerable`1 commandLine)
  at Monodroid.Toolbox.InvokeJavac(String src_path)
  at Monodroid.Droidinator.CreateDalvikBytecode(List`1 javaTypes, List`1
assemblies)
  at Monodroid.Droidinator.CreateApk()
  at Monodroid.MainClass.Main(String[] argv)
C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(252,2):
error MSB6006: "monodroid.exe" exited with code 1.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to