When I put this in my AssenblyInfo.cs it does not compile
#if DEBUG
[assembly: Application(Debuggable=true)]
#else
[assembly: Application(Debuggable=false)]
#endif
and gives error in almost all classes.
Unexpected failure of the "GenerateJavaStubs" task. System.InvalidOperationException: Application may not have both type with an [Application] attribute and an [assembly: Application] attribute. in Xamarin.Android.Tasks.ManifestDocument.CreateApplicationElement (XElement manifest, String applicationClass, List
1 subclasses, List
1 selectedWhitelistAssemblies) in Xamarin.Android.Tasks.ManifestDocument.Merge (List1 subclasses, List
1 selectedWhitelistAssemblies, String applicationClass, Boolean embed, String bundledWearApplicationName, IEnumerable'1 mergedManifestDocuments) in Xamarin.Android.Tasks.GenerateJavaStubs.Run (DirectoryAssemblyResolver res) in Xamarin.Android.Tasks.GenerateJavaStubs.Execute () in Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () in Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext () Authorizer.Android
So there's the AssemblyInfo.cs file
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
using Xamarin.Forms;
#if DEBUG
[assembly: Application(Debuggable=true)]
#else
[assembly: Application(Debuggable = false)]
#endif
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Autorizador.Android")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Autorizador.Android")]
[assembly: AssemblyCopyright("Copyright © 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
// Add some common permissions, these can be removed if not needed
[assembly: UsesPermission(Android.Manifest.Permission.Internet)]
[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
//[assembly: ExportRenderer(typeof(TabbedPage), typeof(BadgedTabbedPageRenderer))]
Do I need to enable some permissions or not? I'm waiting.