我有一个离子型v1应用程序,当我试图用ionic cordova build android制作apk时,它没能构建这个应用程序。
我已经更改了DistibutionURL on my .js file to 4.xx,但是每次我构建应用程序时,它都会检测到我有gradle 3.xx。为什么会这样呢?
当我为android构建我的离子应用程序时,它给出了一个错误。当我对iOS执行同样的操作,但没有问题时,下面附上了插件列表
* What went wrong:
Execution failed for task ':processDebugResources'.
> Failed to execute aapt
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more
我的Cordova程序在浏览器中执行,没有生成错误。当我试图通过调试构建将其发送到我的Android手机到设备(F5)时,我在输出窗口中得到了这个生成错误:
MSBUILD : cordova-build error : Error: cmd: Command failed with exit code ENOENT
从输出窗口直到失败的消息是:
You have been opted out of telemetry. To change this, run: cordova telemetry on.
No scripts found for hook "before_compil
这是一个Ionic Cordova项目。我已经有一段时间没碰它了,但我现在回来了,当我跑的时候
ionic cordova build android
我得到以下错误:
Minimum supported Gradle version is 4.4. Current version is 4.1. If using
the gradle wrapper, try editing the distributionUrl in
C:\projects\ghost\gradle\wrapper\gradle-wrapper.properties to gradle-4.4-
all.zip
我刚刚为Visual Studio 2017安装了Cordova工具,并创建了我的第一个应用程序。在浏览器仿真中运行它工作得很好,但当我尝试构建APK时,它失败了,并显示以下错误消息:
1>MSBUILD : cordova-build error : FAILURE: Build failed with an exception.
1>MSBUILD : cordova-build error : * What went wrong:
1>MSBUILD : cordova-build error : A problem occurred configuring root
我最近将我的Cordova更新到5.1.1,同时将JDK更新到1.7.0.79。我还创建了一个新的Cordova android项目。但是当我尝试使用CLI构建项目时,它给出了以下错误:
Your environment has been set up for using Node.js 0.10.28 (ia32) and npm.
C:\Documents and Settings\Administrator>F:
F:\>cd shishutosh
F:\shishutosh>cordova build android
Running command: cmd &
我在一个用cordova创建的安卓应用程序上运行cordova requirements,并得到了这个错误:
Gradle: not installed
Could not find an installed version of Gradle either in Android Studio,
or on your system to install the gradle wrapper. Please include gradle
in your path, or install Android Studio
首先,我想说是的,我可以手动安装它,但是如果应该包括它,为什么呢?那么这里有什么
我使用的是visual studio 2015和update 3和TACO Update 10,一切都运行得很好,但是从昨天开始,我无法为android做一个发布版本。我在我的机器上重新安装了几乎所有的东西,但问题仍然存在。该错误与gradle守护程序有关。构建输出的相关部分是:
Starting a new Gradle Daemon for this build (subsequent builds will be faster).
1>MSBUILD : cordova-build error : FAILURE: Build failed with an exception.
1
我正在尝试从我的angular应用程序创建一个移动应用程序,并使用cordova将web应用程序转换为移动应用程序。我遵循了apache cordova official guide上的所有要求,并使用this online guide安装了Android studio。 我还关注了cordova youtube教程,该教程解释了如何使用以下步骤轻松地将angular应用程序转换为this应用程序: - Create a cordova project within the angular project using cordova create <proj_name>
- Cr
我刚刚从cordova 7.1.4升级到cordova 8.0.0。在WebStorm上构建成功,但交付的apk无法安装,当我在Android Studio gradle中打开它时,gradle无法同步,并出现以下错误:“
The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.
Open Manifest File
M
我是科多瓦世界的新手,所以我尝试构建并运行我的第一个应用程序。为了做到这一点,我遵循了官方Cordova页面中列出的步骤,但是在构建阶段我得到了一个错误。
显然,android平台是成功添加的:
D:\Users\user\workspace\cordova\helloworld>cordova platform add android
Using cordova-fetch for cordova-android@~6.3.0
Adding android project...
Creating Cordova project for the Android platform: