Skip to content

Conversation

@jonathanpeppers
Copy link
Member

@jonathanpeppers jonathanpeppers commented Aug 14, 2018

Downstream, in the proprietary parts of Xamarin.Android, there is some
strange errors occurring, such as:

Task "InstallPackageAssemblies"
InstallPackageAssemblies Task
    ...
    AndroidSdkPath: /Users/builder/android-toolchain/sdk
    AndroidNdkPath: /Users/builder/android-toolchain/ndk
    JavaSdkPath: /usr
Xamarin.Android.Common.Debugging.targets(479,2): error ADB0000:  Error finding Android/Java SDKs [/Users/builder/jenkins/workspace/monodroid-pr/monodroid/tests/runtime/Xamarin.Android.RuntimeTests.csproj]
Xamarin.Android.Common.Debugging.targets(479,2): error ADB0000: System.InvalidOperationException: Could not determine Android SDK location. Please provide `androidSdkPath`. [/Users/builder/jenkins/workspace/monodroid-pr/monodroid/tests/runtime/Xamarin.Android.RuntimeTests.csproj]
Xamarin.Android.Common.Debugging.targets(479,2): error ADB0000:   at Xamarin.Android.Tools.AndroidSdkInfo..ctor (System.Action`2[T1,T2] logger, System.String androidSdkPath, System.String androidNdkPath, System.String javaSdkPath) [0x0004b] in <5fd439f4454d4cc18bc8c35d2b4c840c>:0  [/Users/builder/jenkins/workspace/monodroid-pr/monodroid/tests/runtime/Xamarin.Android.RuntimeTests.csproj]
Xamarin.Android.Common.Debugging.targets(479,2): error ADB0000:   at Xamarin.AndroidTools.AndroidSdk.Refresh (System.String androidSdkPath, System.String androidNdkPath, System.String javaSdkPath) [0x00000] in <9cb77bd2eef54f10a4aa7622ee40470d>:0  [/Users/builder/jenkins/workspace/monodroid-pr/monodroid/tests/runtime/Xamarin.Android.RuntimeTests.csproj]

We are having a lot of trouble even figuring out what is going on,
since the EXACT SAME paths worked earlier in the same build. Earlier
in the log ResolveSdks worked just fine!

I'm hoping this logging information will help us troubleshoot this
issue and other scenarios in the future.

Downstream, in the proprietary parts of Xamarin.Android, there is some
strange errors occurring, such as:

    Task "InstallPackageAssemblies"
    InstallPackageAssemblies Task
        ...
        AndroidSdkPath: /Users/builder/android-toolchain/sdk
        AndroidNdkPath: /Users/builder/android-toolchain/ndk
        JavaSdkPath: /usr
    Xamarin.Android.Common.Debugging.targets(479,2): error ADB0000:  Error finding Android/Java SDKs [/Users/builder/jenkins/workspace/monodroid-pr/monodroid/tests/runtime/Xamarin.Android.RuntimeTests.csproj]
    Xamarin.Android.Common.Debugging.targets(479,2): error ADB0000: System.InvalidOperationException: Could not determine Android SDK location. Please provide `androidSdkPath`. [/Users/builder/jenkins/workspace/monodroid-pr/monodroid/tests/runtime/Xamarin.Android.RuntimeTests.csproj]
    Xamarin.Android.Common.Debugging.targets(479,2): error ADB0000:   at Xamarin.Android.Tools.AndroidSdkInfo..ctor (System.Action`2[T1,T2] logger, System.String androidSdkPath, System.String androidNdkPath, System.String javaSdkPath) [0x0004b] in <5fd439f4454d4cc18bc8c35d2b4c840c>:0  [/Users/builder/jenkins/workspace/monodroid-pr/monodroid/tests/runtime/Xamarin.Android.RuntimeTests.csproj]
    Xamarin.Android.Common.Debugging.targets(479,2): error ADB0000:   at Xamarin.AndroidTools.AndroidSdk.Refresh (System.String androidSdkPath, System.String androidNdkPath, System.String javaSdkPath) [0x00000] in <9cb77bd2eef54f10a4aa7622ee40470d>:0  [/Users/builder/jenkins/workspace/monodroid-pr/monodroid/tests/runtime/Xamarin.Android.RuntimeTests.csproj]

We are having a lot of trouble even figuring out what is going on,
since the EXACT SAME paths worked earlier in the same build. Earlier
in the log `ResolveSdks` worked just fine!

I'm hoping this logging information will help us troubleshoot this
issue and other scenarios in the future.
@jonpryor jonpryor merged commit 6353659 into dotnet:master Aug 14, 2018
jonpryor pushed a commit that referenced this pull request Aug 15, 2018
Downstream, in the proprietary parts of Xamarin.Android, there are
some strange errors occurring, such as:

	Task "InstallPackageAssemblies"
	InstallPackageAssemblies Task
	    ...
	    AndroidSdkPath: /Users/builder/android-toolchain/sdk
	    AndroidNdkPath: /Users/builder/android-toolchain/ndk
	    JavaSdkPath: /usr
	Xamarin.Android.Common.Debugging.targets(479,2): error ADB0000: Error finding Android/Java SDKs […/monodroid/tests/runtime/Xamarin.Android.RuntimeTests.csproj]
	Xamarin.Android.Common.Debugging.targets(479,2): error ADB0000: System.InvalidOperationException: Could not determine Android SDK location. Please provide `androidSdkPath`. […/monodroid/tests/runtime/Xamarin.Android.RuntimeTests.csproj]
	Xamarin.Android.Common.Debugging.targets(479,2): error ADB0000:   at Xamarin.Android.Tools.AndroidSdkInfo..ctor (System.Action`2[T1,T2] logger, System.String androidSdkPath, System.String androidNdkPath, System.String javaSdkPath) [0x0004b] in <5fd439f4454d4cc18bc8c35d2b4c840c>:0  […/monodroid-pr/monodroid/tests/runtime/Xamarin.Android.RuntimeTests.csproj]
	Xamarin.Android.Common.Debugging.targets(479,2): error ADB0000:   at Xamarin.AndroidTools.AndroidSdk.Refresh (System.String androidSdkPath, System.String androidNdkPath, System.String javaSdkPath) [0x00000] in <9cb77bd2eef54f10a4aa7622ee40470d>:0  […/monodroid-pr/monodroid/tests/runtime/Xamarin.Android.RuntimeTests.csproj]

We are having a lot of trouble even figuring out what is going on,
since the EXACT SAME paths worked earlier in the same build.  Earlier
in the log `ResolveSdks` worked just fine!

I'm hoping this logging information will help us troubleshoot this
issue and other scenarios in the future.
jonathanpeppers added a commit to jonathanpeppers/xamarin-android that referenced this pull request Aug 16, 2018
grendello pushed a commit to dotnet/android that referenced this pull request Aug 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants