Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Tasky example app errors on run

$
0
0

Hello just trying to run the tasky app for andoird I keep getting these errors: Hello I keep getting errors trying to run the example tasky app.

Project "/Users/joe/Downloads/Tasky/Android_Starter/TaskyAndroid/TaskyAndroid.csproj" (Build target(s)):

Target _CheckProjectItems:
    CheckProjectItems Task
      NativeLibraries:
      JavaLibraries:
      JavaSourceFiles:

Target _ComputeAndroidAssetsPaths:
      ResourceFiles:
      IntermediateFiles:

Target _GenerateAndroidAssetsDir:
No output files were specified for target _GenerateAndroidAssetsDir, skipping.

Target _ComputeAndroidResourcePaths:
      ResourceFiles:
        Resources/values/Strings.xml
        Resources/layout/TaskListItem.axml
        Resources/layout/HomeScreen.axml
        Resources/layout/TaskDetails.axml
        Resources/drawable-hdpi/Icon.png
        Resources/drawable-ldpi/Icon.png
        Resources/drawable-mdpi/Icon.png
        Resources/drawable-xhdpi/Icon.png
      IntermediateFiles:

Target _GenerateAndroidResourceDir:
Skipping target "_GenerateAndroidResourceDir" because its outputs are up-to-date.

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: 10
    TargetFrameworkVersion: v2.3
    Android NDK: /Users/joe/Library/Developer/Xamarin/android-ndk/android-ndk-r8d/
    Android SDK: /Users/joe/Library/Developer/Xamarin/android-sdk-mac_x86/
    Android SDK Build Tools: /Users/joe/Library/Developer/Xamarin/android-sdk-mac_x86/build-tools/17.0.0/
    Java SDK: /usr/

Target _ValidateAndroidPackageProperties:
    GetAndroidPackageName Task
      ManifestFile: /Users/joe/Downloads/Tasky/Android_Starter/TaskyAndroid/Properties/AndroidManifest.xml
      AssemblyName: TaskyAndroid
      PackageName: com.xamarin.samples.taskyandroid

Target _BuildDependencies:
    Resolved library outputs: 

Target _ExtractLibraryProjectImports:
      Assemblies: 
        /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.dll
        /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Xml.dll
        /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.3/Mono.Android.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:

Target _GetAdditionalResourcesFromAssemblies:
      Assemblies: 
        /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.dll
        /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Xml.dll
        /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.3/Mono.Android.dll
        /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll

Target _UpdateAndroidResgen:
Skipping target "_UpdateAndroidResgen" because its outputs are up-to-date.

Target PrepareForBuild:
    Configuration: Debug Platform: AnyCPU

Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.

Target GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.

Target CoreCompile:
    Tool /Library/Frameworks/Xamarin.Android.framework/Versions/Current/bin/smcs execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/TaskyAndroid.dll Properties/AssemblyInfo.cs Screens/HomeScreen.cs Adapters/TaskListAdapter.cs Screens/TaskDetailsScreen.cs Resources/Resource.designer.cs /target:library /define:"DEBUG;__MOBILE__;__ANDROID__;__ANDROID_1__;__ANDROID_2__;__ANDROID_3__;__ANDROID_4__;__ANDROID_5__;__ANDROID_6__;__ANDROID_7__;__ANDROID_8__;__ANDROID_9__;__ANDROID_10__" /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Xml.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.3/Mono.Android.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll /warn:4

Screens/HomeScreen.cs(6,7): error CS0246: The type or namespace name

Tasky' could not be found. Are you missing an assembly reference?
Adapters/TaskListAdapter.cs(4,7): error CS0246: The type or namespace name
Tasky' could not be found. Are you missing an assembly reference? Screens/TaskDetailsScreen.cs(5,7): error CS0246: The type or namespace name
Tasky' could not be found. Are you missing an assembly reference?
Adapters/TaskListAdapter.cs(10,45): error CS0246: The type or namespace name
Task' could not be found. Are you missing
System.Threading.Tasks' using directive?
Screens/HomeScreen.cs(16,9): error CS0246: The type or namespace name
Task' could not be found. Are you missing
System.Threading.Tasks' using directive?
Adapters/TaskListAdapter.cs(12,9): error CS0246: The type or namespace name
Task' could not be found. Are you missing
System.Threading.Tasks' using directive?
Adapters/TaskListAdapter.cs(14,51): error CS0246: The type or namespace name
Task' could not be found. Are you missing
System.Threading.Tasks' using directive?
Adapters/TaskListAdapter.cs(20,19): error CS0246: The type or namespace name
Task' could not be found. Are you missing
System.Threading.Tasks' using directive?
Adapters/TaskListAdapter.cs(25,24): error CS0115:
TaskyAndroid.Adapters.TaskListAdapter.GetItemId(int)' is marked as an override but no suitable method found to override Adapters/TaskListAdapter.cs(30,23): error CS0115:
TaskyAndroid.Adapters.TaskListAdapter.Count' is marked as an override but no suitable property found to override
Adapters/TaskListAdapter.cs(35,38): error CS0115:
TaskyAndroid.Adapters.TaskListAdapter.GetView(int, Android.Views.View, Android.Views.ViewGroup)' is marked as an override but no suitable method found to override Screens/TaskDetailsScreen.cs(14,3): error CS0246: The type or namespace name Task' could not be found. Are you missingSystem.Threading.Tasks' using directive? Task "Csc" execution -- FAILED Done building target "CoreCompile" in project "/Users/joe/Downloads/Tasky/Android_Starter/TaskyAndroid/TaskyAndroid.csproj".-- FAILED

Done building project "/Users/joe/Downloads/Tasky/Android_Starter/TaskyAndroid/TaskyAndroid.csproj".-- FAILED

Build FAILED. Errors:

/Users/joe/Downloads/Tasky/Android_Starter/TaskyAndroid/TaskyAndroid.csproj (Build) -> /Library/Frameworks/Mono.framework/Versions/3.2.5/lib/mono/4.0/Microsoft.CSharp.Targets (CoreCompile target) ->

Screens/HomeScreen.cs(6,7): error CS0246: The type or namespace name `Tasky' could not be found. Are you missing an assembly reference?
Adapters/TaskListAdapter.cs(4,7): error CS0246: The type or namespace name `Tasky' could not be found. Are you missing an assembly reference?
Screens/TaskDetailsScreen.cs(5,7): error CS0246: The type or namespace name `Tasky' could not be found. Are you missing an assembly reference?
Adapters/TaskListAdapter.cs(10,45): error CS0246: The type or namespace name `Task' could not be found. Are you missing `System.Threading.Tasks' using directive?
Screens/HomeScreen.cs(16,9): error CS0246: The type or namespace name `Task' could not be found. Are you missing `System.Threading.Tasks' using directive?
Adapters/TaskListAdapter.cs(12,9): error CS0246: The type or namespace name `Task' could not be found. Are you missing `System.Threading.Tasks' using directive?
Adapters/TaskListAdapter.cs(14,51): error CS0246: The type or namespace name `Task' could not be found. Are you missing `System.Threading.Tasks' using directive?
Adapters/TaskListAdapter.cs(20,19): error CS0246: The type or namespace name `Task' could not be found. Are you missing `System.Threading.Tasks' using directive?
Adapters/TaskListAdapter.cs(25,24): error CS0115: `TaskyAndroid.Adapters.TaskListAdapter.GetItemId(int)' is marked as an override but no suitable method found to override
Adapters/TaskListAdapter.cs(30,23): error CS0115: `TaskyAndroid.Adapters.TaskListAdapter.Count' is marked as an override but no suitable property found to override
Adapters/TaskListAdapter.cs(35,38): error CS0115: `TaskyAndroid.Adapters.TaskListAdapter.GetView(int, Android.Views.View, Android.Views.ViewGroup)' is marked as an override but no suitable method found to override
Screens/TaskDetailsScreen.cs(14,3): error CS0246: The type or namespace name `Task' could not be found. Are you missing `System.Threading.Tasks' using directive?

 0 Warning(s)
 12 Error(s)

Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>