视觉工作室/ apache的科尔多瓦 - 构建成功 - 但不产生APK [英] visual studio / apache cordova - Build is successful - But no apk is generated

查看:295
本文介绍了视觉工作室/ apache的科尔多瓦 - 构建成功 - 但不产生APK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<一个href=\"http://stackoverflow.com/questions/34428638/apache-cordova-visual-studio-2015-unable-to-build-signed-apk/34431749#34431749\">Apache科尔多瓦 - 的Visual Studio 2015年 - 无法建立签名的APK

在上面的链接,我问了一个问题。我是不是能够产生一个签名的apk。结果
然后,我发现我需要输入 build.json 文件中的密钥库

In the above link, I asked a question. I was not able to generate a signed apk.
Then, I found that i need to enter the keystore in build.json file.

在这之后,我得到了一些其它的错误。所以,我在我的NodeJS版本更新至5.3.0结果
现在,

After that, i got some other error. So, I updated my nodejs version to 5.3.0
Now,

begin snippet: js hide: false -->

 language: lang-html -->

     Build started: Project: SignedTest, Configuration: Release Android ------
     Your environment has been set up for using Node.js 5.3.0 (ia32) and npm.
     Ensuring correct global installation of package from source package directory: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\APACHECORDOVATOOLS\packages\vs-tac
    Name from source package.json: vs-tac
     Version from source package.json: 1.0.16
    Package already installed globally at correct version.
     Cordova tools 5.3.3 already installed.
     Build Settings:
     Build Settings:
       platformConfigurationBldDir: E:\Visual Studio 2015\SignedTest\SignedTest\bld\Android\Release
       platformConfigurationBinDir: E:\Visual Studio 2015\SignedTest\SignedTest\bin\Android\Release
       buildCommand: build
        platform: Android
       cordovaPlatform: android
       configuration: Release
       cordovaConfiguration: Release
        projectName: SignedTest
       projectSourceDir: E:\Visual Studio 2015\SignedTest\SignedTest
        npmInstallDir: C:\Users\Mahesh\AppData\Roaming\npm
       buildTarget: AndroidEmulator
       language: en-US
       changeList.changedFilesIos: bower.json,res\icons\android\icon-72-hdpi.png,res\screens\android\screen-mdpi-landscape.png,merges\android\scripts\android2.3-jscompat.js,merges\windows\scripts\winstore-jscompat.js,res\icons\ios\icon-60.png,res\screens\ios\screen-iphone-landscape-736h.png,res\icons\windows\StoreLogo.scale-100.png,www\scripts\index.js,res\icons\android\icon-48-mdpi.png,res\icons\ios\icon-72.png,res\icons\ios\icon-76.png,plugins\cordova-plugin-whitelist\doc\ja\README.md,res\screens\ios\screen-ipad-portrait-2x.png,plugins\cordova-plugin-whitelist\NOTICE,res\screens\ios\screen-iphone-portrait-2x.png,res\icons\windows\Square71x71Logo.scale-240.png,merges\android\scripts\platformOverrides.js,plugins\cordova-plugin-whitelist\src\android\WhitelistPlugin.java,res\screens\android\screen-hdpi-portrait.png,www\css\index.css,res\icons\windows\StoreLogo.scale-240.png,plugins\cordova-plugin-whitelist\doc\it\README.md,res\screens\ios\screen-ipad-landscape.png,plugins\cordova-plugin-whitelist\doc\de\README.md,res\icons\ios\icon-60-3x.png,plugins\cordova-plugin-whitelist\whitelist.js,plugins\fetch.json,config.xml,res\screens\wp8\SplashScreenImage.jpg,res\screens\ios\screen-ipad-landscape-2x.png,plugins\cordova-plugin-whitelist\doc\pl\README.md,res\screens\ios\screen-iphone-568h-2x.png,res\icons\windows\Square150x150Logo.scale-100.png,plugins\cordova-plugin-whitelist\doc\fr\README.md,package.json,res\screens\android\screen-ldpi-landscape.png,res\icons\windows\Wide310x150Logo.scale-240.png,res\icons\windows\Wide310x150Logo.scale-100.png,res\icons\ios\icon-72-2x.png,res\icons\ios\icon-76-2x.png,res\icons\ios\icon-small.png,res\icons\windows\Square30x30Logo.scale-100.png,plugins\cordova-plugin-whitelist\plugin.xml,build.json,plugins\cordova-plugin-whitelist\doc\zh\README.md,res\icons\wp8\Background.png,www\index.html,res\icons\ios\icon-40.png,res\icons\ios\icon-60-2x.png,res\screens\android\screen-ldpi-portrait.png,plugins\cordova-plugin-whitelist\package.json,plugins\cordova-plugin-whitelist\CONTRIBUTING.md,res\native\android\ant.properties,res\icons\windows\Square310x310Logo.scale-100.png,www\scripts\platformOverrides.js,taco.json,res\icons\windows\Square150x150Logo.scale-240.png,res\icons\android\icon-36-ldpi.png,merges\windows\scripts\platformOverrides.js,res\screens\ios\screen-iphone-portrait.png,Project_Readme.html,res\screens\android\screen-xhdpi-portrait.png,res\icons\ios\icon-50-2x.png,res\icons\ios\icon-57-2x.png,res\icons\ios\icon-50.png,res\icons\ios\icon-57.png,res\icons\ios\icon-small-2x.png,plugins\cordova-plugin-whitelist\LICENSE,res\icons\windows\Square70x70Logo.scale-100.png,res\screens\windows\SplashScreen.scale-240.png,res\icons\android\icon-96-xhdpi.png,res\icons\wp8\ApplicationIcon.png,res\icons\ios\icon-40-2x.png,plugins\cordova-plugin-whitelist\doc\ko\README.md,res\screens\ios\screen-iphone-portrait-667h.png,res\screens\android\screen-hdpi-landscape.png,res\screens\windows\SplashScreenPhone.scale-240.png,res\screens\windows\SplashScreen.scale-100.png,res\screens\ios\screen-iphone-portrait-736h.png,res\screens\ios\screen-ipad-portrait.png,plugins\cordova-plugin-whitelist\RELEASENOTES.md,plugins\cordova-plugin-whitelist\doc\es\README.md,res\screens\android\screen-xhdpi-landscape.png,plugins\cordova-plugin-whitelist\README.md,res\icons\windows\Square44x44Logo.scale-240.png,res\screens\android\screen-mdpi-portrait.png
       changeList.deletedFilesIos:
        changeList.addedPluginsIos:
       changeList.deletedPluginsIos:
        changeList.addedPlugins:
        changeList.deletedPlugins:
   Platform android already exists
     Copying native files from E:\Visual Studio 2015\SignedTest\SignedTest\res\native\android to platforms\android
    Copied E:\Visual Studio 2015\SignedTest\SignedTest\res\native\android\ant.properties to platforms\android\ant.properties
     Done copying native files to platforms\android
    Updating plugins
     Currently installed plugins: cordova-plugin-whitelist@1.2.0
     Currently installed dependent plugins:
    Currently configured plugins:
     Preparing platform: android
    ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

报告说,构建成功,但我没有看到斌/安卓/版本和平台/安卓/建

It says build is successful but i am not seeing any apk in bin/android/release and platform/android/build

推荐答案

假如同样的问题。难道以下内容:

Had same problem. Did following:

1) In command line check the cli version: cordova -v
2) Double-click config.xml and select "Platforms" tab. There enter the Cordova CLI version.

这篇关于视觉工作室/ apache的科尔多瓦 - 构建成功 - 但不产生APK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆