visual studio 2015 - Creating an APK using MSBuild command line error (PackageForAndroid or SignAndroidPackage) -


so have been trying create apk in release mode using msbuild command line executable.

here contents of batch file created:

echo building dsdmobile solution... >con cd "c:\ross\development\handheld\android\dsd mobile materialdesign"

"c:\program files (x86)\msbuild\14.0\bin\msbuild.exe" dsdmobile.sln /p:configuration=release /v:quiet /t:clean /nologo

"c:\program files (x86)\msbuild\14.0\bin\msbuild.exe" dsdmobile.sln /p:configuration=release /v:quiet /t:rebuild,packageforandroid /nologo

the first line change directory solution location. next, clean

last, rebuild , packageforandroid (which expecting ...apk file in bin release folder. apk never created , error.

the build successful, error:

"c:ross\development\handheld\android\dsd mobile materialdesign\dsdmobile.sln.metaproj : error msb4057: target "packageforandroid" not exists in project. [c:\ross\development\handheld\android\dsd mobile materialdesign\dsdmobile.sln]

i have tried use "signandroidpackage" :t/ parameter, fails same error:

"c:ross\development\handheld\android\dsd mobile materialdesign\dsdmobile.sln.metaproj : error msb4057: target "signandroidpackage" not exists in project. [c:\ross\development\handheld\android\dsd mobile materialdesign\dsdmobile.sln]

the resource have been using powershell script:

https://gist.github.com/postb99/8319234

try building android csproj file instead of solution file.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -