Forum Visual Studio

Endless Detecting installed packages

EdHubbellEdHubbell USMember ✭✭

This is probably a device level issue, but Xamarin or Microsoft has to give us some kind of workaround. If Android Studio can still send new packages to this phone, then Visual Studio for Mac needs to be able to do it as well. Can't we skip 'detecting installed packages', or automatically trigger a delete of already installed packages based on some checkbox somewhere?

Has anyone at Xamarin got a device that is misbehaving in this way? I'm at my wits end.

Google Pixel. I've got an extra Pixel that I can publish to just fine. I don't think my wife wants me taking her nice pink phone all day, tho.

I've tried everything other threads have talked about. Alpha channel version of Visual Studio for Mac doesn't address this problem.

Build started 7/6/2017 1:32:12 AM.


Project "/Development/SomeCompany/SomeApp/Droid/SomeApp.Droid.csproj" (Install target(s)):

Target _SetLatestTargetFrameworkVersion:
Found Android SDK. API levels: 23, 25
Target _ValidateAndroidPackageProperties:
PackageName: com.SomeCompany.SomeApp
Target _GetProjectReferenceTargetFrameworkProperties:
__________________________________________________
Project "/Development/SomeCompany/SomeApp/Droid/SomeApp.Droid.csproj" is building "/Development/SomeCompany/SomeApp/SomeApp/SomeApp.csproj" (GetTargetFrameworkProperties target(s)):

Target ResolveProjectReferences:
__________________________________________________
Project "/Development/SomeCompany/SomeApp/Droid/SomeApp.Droid.csproj" is building "/Development/SomeCompany/SomeApp/SomeApp/SomeApp.csproj" (GetTargetPath target(s)):

Target BclBuildValidateNugetPackageReferences:
    /Development/SomeCompany/SomeApp/packages/Microsoft.Bcl.Build.1.0.21/build/Microsoft.Bcl.Build.targets(243,5): warning : All projects referencing SomeApp.csproj must install nuget package Microsoft.Bcl.Build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317569.
Done building target "BclBuildValidateNugetPackageReferences" in project "SomeApp.csproj".

Done building project "SomeApp.csproj".
__________________________________________________
Project "/Development/SomeCompany/SomeApp/Droid/SomeApp.Droid.csproj" is building "/Development/SomeCompany/SomeApp/SomeApp/SomeApp.csproj" (GetNativeManifest target(s)):

Target _GenerateAndroidAssetsDir:
Skipping target "_GenerateAndroidAssetsDir" because it has no outputs.
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: 26
TargetFrameworkVersion: v7.1
Android NDK: /Users/ed/Library/Developer/Xamarin/android-ndk/android-ndk-r14b/
Android SDK: /Users/ed/Library/Developer/Xamarin/android-sdk-macosx/
Android SDK Build Tools: /Users/ed/Library/Developer/Xamarin/android-sdk-macosx/build-tools/25.0.3/
Java SDK: /usr/
Target _GetPrimaryCpuAbi:
_PrimaryCpuAbi=armeabi-v7a
Target _CheckInstantRunCondition:
Dex Fast Deployment Enabled: False
Target _SetupInstantRun:
Android Java Class for Fast Deployment:
Target _SetupApplicationJavaClass:
Application Java class: android.app.Application
Target _ResolveLibraryProjectImports:
Skipping target "_ResolveLibraryProjectImports" because all output files are up-to-date with respect to the input files.
Target _BuildLibraryImportsCache:
Skipping target "_BuildLibraryImportsCache" because all output files are up-to-date with respect to the input files.
Target _BuildAdditionalResourcesCache:
Skipping target "_BuildAdditionalResourcesCache" because all output files are up-to-date with respect to the input files.
Target _CreateAdditionalResourceCache:
Skipping target "_CreateAdditionalResourceCache" because all output files are up-to-date with respect to the input files.
Target _GenerateAndroidResourceDir:
Skipping target "_GenerateAndroidResourceDir" because all output files are up-to-date with respect to the input files.
Target _DefineBuildTargetAbis:
Build target ABI: arm64-v8a;armeabi;armeabi-v7a;x86;x86_64
Target VectorDrawableCheckBuildToolsVersionTask:
Checking Android SDK Build-tools version...
Selected Android SDK Build Tools Path: /Users/ed/Library/Developer/Xamarin/android-sdk-macosx/build-tools/25.0.3/
Selected Android SDK Build Tools Version: 25.0.3
Android SDK Build Tools Version: 25.0.3 meets minimum requirements for Vector Drawables. OK.
Finished Checking Android SDK Build-tools version.
Target _UpdateAndroidResgen:
Skipping target "_UpdateAndroidResgen" because all output files are up-to-date with respect to the input files.
Target _GenerateJavaDesignerForComponent:
Skipping target "_GenerateJavaDesignerForComponent" because all output files are up-to-date with respect to the input files.
Target GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
Target _CoreXamlG:
Skipping target "_CoreXamlG" because it has no inputs.
Target CoreCompile:
Skipping target "CoreCompile" because all output files are up-to-date with respect to the input files.
Target XamlC:
Compiling Xaml

Assembly: obj/Debug/SomeApp.Droid.dll
ReferencePath:  (skipped - too long)

No compiled resources. Skipping writing assembly.

Target GetCopyToOutputDirectoryItems:
__________________________________________________
Project "/Development/SomeCompany/SomeApp/Droid/SomeApp.Droid.csproj" is building "/Development/SomeCompany/SomeApp/SomeApp/SomeApp.csproj" (GetCopyToOutputDirectoryItems target(s)):

Target CopyFilesToOutputDirectory:
SomeApp.Droid -> /Development/SomeCompany/SomeApp/Droid/bin/Debug/SomeApp.Droid.dll
Copying file from "obj/Debug/SomeApp.Droid.pdb" to "bin/Debug/SomeApp.Droid.pdb".
Target _CollectConfigFiles:
Skipping target "_CollectConfigFiles" because all output files are up-to-date with respect to the input files.
Target _CopyConfigFiles:
Skipping target "_CopyConfigFiles" because it has no outputs.
Target _CopyIntermediateAssemblies:
Skipping target "_CopyIntermediateAssemblies" because all output files are up-to-date with respect to the input files.
Target _ConvertPdbFiles:
Skipping target "_ConvertPdbFiles" because all output files are up-to-date with respect to the input files.
Target _CopyMdbFiles:
Skipping target "_CopyMdbFiles" because all output files are up-to-date with respect to the input files.
Target _StripEmbeddedLibraries:
Skipping target "_StripEmbeddedLibraries" because all output files are up-to-date with respect to the input files.
Target _LinkAssembliesNoShrink:
Touching "obj/Debug/link.flag".
Target _GenerateJavaStubs:
Processing: obj/Debug/res/drawable/roundedcorners.xml
Processing: obj/Debug/res/values/styles.xml
Processing: obj/Debug/res/values-v21/styles.xml
Processing: obj/Debug/res/xml/file_paths.xml
Target _AddStaticResources:
Skipping target "_AddStaticResources" because all output files are up-to-date with respect to the input files.
Target _GeneratePackageManagerJava:
Skipping target "_GeneratePackageManagerJava" because all output files are up-to-date with respect to the input files.
Target _CreateBaseApk:
Skipping target "_CreateBaseApk" because all output files are up-to-date with respect to the input files.
Target _CompileJava:
Skipping target "_CompileJava" because all output files are up-to-date with respect to the input files.
Target _CompileToDalvikWithDx:
Skipping target "_CompileToDalvikWithDx" because all output files are up-to-date with respect to the input files.
Target _CopyPackage:
Deleting file "bin/Debug/com.SomeCompany.SomeApp.apk".
Copying file from "/Development/SomeCompany/SomeApp/Droid/obj/Debug/android/bin/com.SomeCompany.SomeApp.apk" to "bin/Debug/com.SomeCompany.SomeApp.apk".
Target _Sign:
/usr/bin/jarsigner -keystore /Development/SomeCompany/SomeApp/Droid/SomeApp.keystore -storepass SmallHarvey -keypass SmallHarvey -digestalg SHA1 -sigalg md5withRSA -signedjar bin/Debug//com.SomeCompany.SomeApp-Signed-Unaligned.apk /Development/SomeCompany/SomeApp/Droid/obj/Debug/android/bin/com.SomeCompany.SomeApp.apk SomeApp
jar signed.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2292,2): warning : No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2043-06-16) or after any future revocation date.
Signed android package 'bin/Debug/com.SomeCompany.SomeApp-Signed.apk'
Deleting file "/Development/SomeCompany/SomeApp/Droid/bin/Debug/com.SomeCompany.SomeApp-Signed.apk".
Unaligned android package '/Development/SomeCompany/SomeApp/Droid/bin/Debug/com.SomeCompany.SomeApp-Signed-Unaligned.apk'
/Users/ed/Library/Developer/Xamarin/android-sdk-macosx/build-tools/25.0.3/zipalign 4 "/Development/SomeCompany/SomeApp/Droid/bin/Debug/com.SomeCompany.SomeApp-Signed-Unaligned.apk" "bin/Debug//com.SomeCompany.SomeApp-Signed.apk"
Deleting file "/Development/SomeCompany/SomeApp/Droid/bin/Debug/com.SomeCompany.SomeApp-Signed-Unaligned.apk".
Done building target "_Sign" in project "SomeApp.Droid.csproj".
Target _Upload:
Detecting installed packages...

Detecting installed packages

And there it sits. For hours. I'm off to bed, but I'll leave it Detecting. Just in case.

Posts

Sign In or Register to comment.