You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have cake a task set up to build the Android Package that is dependent on the Build task. In the build task, i use MSBUILD with "Build" target. Then, in the android package command i would only want to package and not rebuild by the default.
Here is my PackageAndroid Task:
.IsDependentOn("Build")
.Does(() =>
{
AndroidPackage("./src/DroidProject/Droid.csproj", true,
setting =>
setting
.SetConfiguration(configuration)
.Targets
.WithProperty("OutputPath","./artifacts/")
.WithProperty("Platform",targetPlatform.ToString()));
});
This rebuilds the project it seems ... doesn't it support to run an appropriate project target for packaging? Also, i would welcome any other pointers how to actually sign the package using an existing key (i already have created the keystore).
The text was updated successfully, but these errors were encountered:
Hi,
Don't you have an Issue with this AndroidPackage command? On my side I have an issue because it seems that AndroidPackage command uses 'GetDirectory' method. It seems that it tries to acces folders like 'C:\Documents end Settings'. On new versions of Windows, this folder doesn't exist anymore but is just a link to user folder. As a result, executing AndroidPackage command gives me an error like "Access to the path 'C:\Documents and Settings' is denied.
The .APK is created but the Cake process is stopped and I can't go further, for example launching unit test or what else with the build.cake script.
Does anyone has an idea about this issue and how to solve it?
Thank you per advance, I am blocked.
Xavier.
I have cake a task set up to build the Android Package that is dependent on the Build task. In the build task, i use MSBUILD with "Build" target. Then, in the android package command i would only want to package and not rebuild by the default.
Here is my PackageAndroid Task:
The text was updated successfully, but these errors were encountered: