Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Last login: Mon Oct 27 23:39:33 on ttys001
Xamarin77s-Mac-mini:~ xamarin77$ Downloads/AndroidApp1/AndroidApp1
-bash: Downloads/AndroidApp1/AndroidApp1: is a directory
Xamarin77s-Mac-mini:~ xamarin77$ Downloads/AndroidApp1
-bash: Downloads/AndroidApp1: is a directory
Xamarin77s-Mac-mini:~ xamarin77$ Downloads/
-bash: Downloads/: is a directory
Xamarin77s-Mac-mini:~ xamarin77$ cd Downloads/AndroidApp1/AndroidApp1
Xamarin77s-Mac-mini:AndroidApp1 xamarin77$ xbuild /t:Build AndroidApp1.csproj
XBuild Engine Version 12.0
Mono, Version 3.10.0.0
Copyright (C) 2005-2013 Various Mono authors
Build started 27-10-2014 23:41:55.
__________________________________________________
Project "/Users/xamarin77/Downloads/AndroidApp1/AndroidApp1/AndroidApp1.csproj" (Build target(s)):
Target _CheckProjectItems:
CheckProjectItems Task
NativeLibraries:
JavaLibraries:
JavaSourceFiles:
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Target _ComputeAndroidAssetsPaths:
ResourceFiles:
IntermediateFiles:
Target _GenerateAndroidAssetsDir:
No output files were specified for target _GenerateAndroidAssetsDir, skipping.
Target _ComputeAndroidResourcePaths:
ResourceFiles:
Resources/layout/Main.axml
Resources/values/Strings.xml
Resources/drawable/Icon.png
IntermediateFiles:
/Users/xamarin77/Downloads/AndroidApp1/AndroidApp1/obj/Debug/res/layout/main.xml
/Users/xamarin77/Downloads/AndroidApp1/AndroidApp1/obj/Debug/res/values/strings.xml
/Users/xamarin77/Downloads/AndroidApp1/AndroidApp1/obj/Debug/res/drawable/icon.png
Target _ResolveMonoAndroidSdks:
MonoAndroid Tools: /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mandroid/
MonoAndroid Binaries: /Library/Frameworks/Xamarin.Android.framework/Versions/Current/bin/
Android Platform API level: 21
TargetFrameworkVersion: v4.4
Android NDK: /Users/xamarin77/Library/Developer/Xamarin/android-ndk/android-ndk-r8d/
Android SDK: /Users/xamarin77/Desktop/android-sdk-macosx/
Android SDK Build Tools: /Users/xamarin77/Desktop/android-sdk-macosx/build-tools/20.0.0/
Java SDK: /usr/
Target _GenerateAndroidResourceDir:
Copying file from '/Users/xamarin77/Downloads/AndroidApp1/AndroidApp1/Resources/layout/Main.axml' to '/Users/xamarin77/Downloads/AndroidApp1/AndroidApp1/obj/Debug/res/layout/main.xml'
Copying file from '/Users/xamarin77/Downloads/AndroidApp1/AndroidApp1/Resources/values/Strings.xml' to '/Users/xamarin77/Downloads/AndroidApp1/AndroidApp1/obj/Debug/res/values/strings.xml'
Target _ValidateAndroidPackageProperties:
GetAndroidPackageName Task
ManifestFile: /Users/xamarin77/Downloads/AndroidApp1/AndroidApp1/Properties/AndroidManifest.xml
AssemblyName: AndroidApp1
PackageName: AndroidApp1.AndroidApp1
Target _ExtractLibraryProjectImports:
Assemblies:
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.4/Mono.Android.dll
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.dll
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Xml.Linq.dll
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Xml.dll
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll
Jars:
ResolvedResourceDirectories:
ResolvedAssetDirectories:
ResolvedEnvironmentFiles:
Target _GetLibraryImports:
NativeLibraries:
Jars:
Target _CheckDuplicateJavaLibraries:
JavaSourceFiles:
JavaLibraries:
LibraryProjectJars:
Target _GetAdditionalResourcesFromAssemblies:
Assemblies:
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.4/Mono.Android.dll
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.dll
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Xml.Linq.dll
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Xml.dll
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll
Target _UpdateAndroidResgen:
AcwMapFile Not There....: /Users/xamarin77/Downloads/AndroidApp1/AndroidApp1/obj/Debug/acw-map.txt
Processing: obj/Debug/res/layout/main.xml
Processing: obj/Debug/res/values/strings.xml
AdditionalResourceDirectories:
AdditionalAndroidResourcePaths:
LibraryProjectJars:
Tool /Users/xamarin77/Desktop/android-sdk-macosx/build-tools/20.0.0/aapt execution started with arguments: package -f -m -M /var/folders/4g/t2fmgznd4rs2r4lzt3c25x4w0000gn/T/423gg3go.u7s/AndroidManifest.xml -J /var/folders/4g/t2fmgznd4rs2r4lzt3c25x4w0000gn/T/423gg3go.u7s --custom-package androidapp1.androidapp1 -F /var/folders/4g/t2fmgznd4rs2r4lzt3c25x4w0000gn/T/423gg3go.u7s/resources.apk.bk -S obj/Debug/res/ -I /Users/xamarin77/Desktop/android-sdk-macosx/platforms/android-L/android.jar --auto-add-overlay
AdditionalResourceDirectories:
Resources:
/Users/xamarin77/Downloads/AndroidApp1/AndroidApp1/obj/Debug/res/layout/main.xml
[layout/Main.axml]
/Users/xamarin77/Downloads/AndroidApp1/AndroidApp1/obj/Debug/res/values/strings.xml
[values/Strings.xml]
/Users/xamarin77/Downloads/AndroidApp1/AndroidApp1/obj/Debug/res/drawable/icon.png
[drawable/Icon.png]
References:
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.4/Mono.Android.dll
[]
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll
[]
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.dll
[]
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Xml.Linq.dll
[]
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Xml.dll
[]
/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll
[]
- Remapping resource: Drawable.icon -> drawable/Icon
- Not remapping resource: Id.MyButton
- Remapping resource: Layout.main -> layout/Main
- Not remapping resource: String.ApplicationName
- Not remapping resource: String.Hello
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: error : Error executing task CopyIfChanged: Access to the path "/var/folders/4g/t2fmgznd4rs2r4lzt3c25x4w0000gn/T/423gg3go.u7s/Resource.Designer.cs" or "Resources/Resource.Designer.cs" is denied.
: error : Error building target _UpdateAndroidResgen: Object reference not set to an instance of an object
AndroidApp1.csproj: error : Object reference not set to an instance of an object
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.TaskFinishedHandler (Microsoft.Build.Framework.TaskFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger.TaskFinishedHandler (System.Object sender, Microsoft.Build.Framework.TaskFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.BuildEvent.ExecuteFinishedHandler (Microsoft.Build.Framework.BuildStatusEventArgs finished_args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.PopEvent[ProjectFinishedEventArgs] (Microsoft.Build.Framework.ProjectFinishedEventArgs finished_args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger.PopEvent[ProjectFinishedEventArgs] (System.Object sender, Microsoft.Build.Framework.ProjectFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.EventSource.FireProjectFinished (System.Object sender, Microsoft.Build.Framework.ProjectFinishedEventArgs pfea) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.Engine.LogProjectFinished (Microsoft.Build.BuildEngine.Project project, Boolean succeeded) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.Engine.EndProjectBuild (Microsoft.Build.BuildEngine.Project project, Boolean succeeded) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.Project.Build (System.String[] targetNames, IDictionary targetOutputs, BuildSettings buildFlags) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.Engine.BuildProjectFileInternal (System.String projectFile, System.String[] targetNames, Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties, IDictionary targetOutputs, BuildSettings buildFlags, System.String toolsVersion) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.Engine.BuildProjectFile (System.String projectFile, System.String[] targetNames, Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties, IDictionary targetOutputs, BuildSettings buildFlags, System.String toolsVersion) [0x00000] in <filename unknown>:0
Build FAILED.
Errors:
/Users/xamarin77/Downloads/AndroidApp1/AndroidApp1/AndroidApp1.csproj (Build) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets (_UpdateAndroidResgen target) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: error : Error executing task CopyIfChanged: Access to the path "/var/folders/4g/t2fmgznd4rs2r4lzt3c25x4w0000gn/T/423gg3go.u7s/Resource.Designer.cs" or "Resources/Resource.Designer.cs" is denied.
: error : Error building target _UpdateAndroidResgen: Object reference not set to an instance of an object
AndroidApp1.csproj: error : Object reference not set to an instance of an object
0 Warning(s)
3 Error(s)
Time Elapsed 00:00:01.1240070
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.TaskFinishedHandler (Microsoft.Build.Framework.TaskFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger.TaskFinishedHandler (System.Object sender, Microsoft.Build.Framework.TaskFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.BuildEvent.ExecuteFinishedHandler (Microsoft.Build.Framework.BuildStatusEventArgs finished_args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.PopEvent[BuildFinishedEventArgs] (Microsoft.Build.Framework.BuildFinishedEventArgs finished_args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.BuildFinishedHandlerActual (Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.BuildFinishedHandler (Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger.BuildFinishedHandler (System.Object sender, Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.EventSource.FireBuildFinished (System.Object sender, Microsoft.Build.Framework.BuildFinishedEventArgs bfea) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.Engine.LogBuildFinished (Boolean succeeded) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.Engine.EndEngineBuild (Boolean succeeded) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.Engine.BuildProjectFile (System.String projectFile, System.String[] targetNames, Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties, IDictionary targetOutputs, BuildSettings buildFlags, System.String toolsVersion) [0x00000] in <filename unknown>:0
at Mono.XBuild.CommandLine.MainClass.Execute () [0x00000] in <filename unknown>:0
at Mono.XBuild.CommandLine.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
Build succeeded.
Errors:
/Users/xamarin77/Downloads/AndroidApp1/AndroidApp1/AndroidApp1.csproj (Build) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets (_UpdateAndroidResgen target) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: error : Error executing task CopyIfChanged: Access to the path "/var/folders/4g/t2fmgznd4rs2r4lzt3c25x4w0000gn/T/423gg3go.u7s/Resource.Designer.cs" or "Resources/Resource.Designer.cs" is denied.
: error : Error building target _UpdateAndroidResgen: Object reference not set to an instance of an object
AndroidApp1.csproj: error : Object reference not set to an instance of an object
0 Warning(s)
3 Error(s)
Time Elapsed 00:00:01.1260930
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.TaskFinishedHandler (Microsoft.Build.Framework.TaskFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger.TaskFinishedHandler (System.Object sender, Microsoft.Build.Framework.TaskFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.BuildEvent.ExecuteFinishedHandler (Microsoft.Build.Framework.BuildStatusEventArgs finished_args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.PopEvent[BuildFinishedEventArgs] (Microsoft.Build.Framework.BuildFinishedEventArgs finished_args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.BuildFinishedHandlerActual (Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.BuildFinishedHandler (Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger.BuildFinishedHandler (System.Object sender, Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.EventSource.FireBuildFinished (System.Object sender, Microsoft.Build.Framework.BuildFinishedEventArgs bfea) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.Engine.LogBuildFinished (Boolean succeeded) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.Engine.UnregisterAllLoggers () [0x00000] in <filename unknown>:0
at Mono.XBuild.CommandLine.MainClass.Execute () [0x00000] in <filename unknown>:0
at Mono.XBuild.CommandLine.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.TaskFinishedHandler (Microsoft.Build.Framework.TaskFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger.TaskFinishedHandler (System.Object sender, Microsoft.Build.Framework.TaskFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.BuildEvent.ExecuteFinishedHandler (Microsoft.Build.Framework.BuildStatusEventArgs finished_args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.PopEvent[BuildFinishedEventArgs] (Microsoft.Build.Framework.BuildFinishedEventArgs finished_args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.BuildFinishedHandlerActual (Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.BuildFinishedHandler (Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.ConsoleLogger.BuildFinishedHandler (System.Object sender, Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.EventSource.FireBuildFinished (System.Object sender, Microsoft.Build.Framework.BuildFinishedEventArgs bfea) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.Engine.LogBuildFinished (Boolean succeeded) [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.Engine.UnregisterAllLoggers () [0x00000] in <filename unknown>:0
at Mono.XBuild.CommandLine.MainClass.Execute () [0x00000] in <filename unknown>:0
at Mono.XBuild.CommandLine.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
Xamarin77s-Mac-mini:AndroidApp1 xamarin77$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.