我在我的ionic项目上安装了社区插件地理围栏。当我现在尝试构建项目时,构建失败。控制台输出为:
The following build commands failed:
CompileSwift normal x86_64 /Users/maius/Documents/unverpacktewahrheiten/platforms/ios/MyApp/Plugins/cordova-plugin-geofence/GeofencePlugin.swift
CompileSwift normal x86_64 /Users/maius/Documents/unv
我正在发布ionic应用程序,但我不能构建它。当出现此错误时
我尝试构建项目
ionic cordova build --release android
它会给出这个错误
System cannot find the path specified
[ERROR] An error occurred while running subprocess cordova.
cordova build android --release exited with exit code 1.
Re-running this command with the --verbose flag may
我创建了离子型2项目,并添加了诊断性cordova插件如下:
ionic plugin add cordova.plugins.diagnostic
npm install --save @ionic-native/diagnostic
然后添加这样的android平台:
ionic platform add android@latest
但是,当使用ionic build android控制台构建时,请告诉我以下错误:
Error: Could not find an installed version of Gradle either in Android Studio,
or on y
下面的错误似乎是在我的项目中使用cordova插件'file‘& 'file-opener2’时出现的。在删除插件时,它会生成一个合适的android版本。
我还尝试将cordova版本设置为7.1.0,将cordova platform android设置为版本6.4.0。尽管错误有所不同,但构建仍会失败
* Wh
at went wrong:
Execution failed for task ':app:processDebugResources'.
> Failed to execute aapt
* Try:
Run with --st
在添加了Android platform (ionic cordova platform add android)之后,我已经构建了我的离子项目(ionic cordova build android),并且我得到了一个错误“无法找到support-compat.aar”
A problem occurred configuring root project 'android'. Could not find support-compat.aar (com.android.support:support-compat:26.1.0). Searched in the fol
我格式化我的mac并设置离子环境
1.安装node.js
2.npm安装-g cordova
3.npm安装-g ionic@2.2.3
在那之后,ionic serve -l就可以正常运行了,但是当我尝试构建安卓ionic cordova build android --prod时,出现了错误。
离子信息:
Your system information:
Cordova CLI: You have been opted out of telemetry. To change this, run: cordova telemetry on.
7.0.1
Ionic Framewo
我无法从cordova中删除任何插件。当我在android中安装cordova-firebase-plugin时,它崩溃了。
> cordova plugin remove cordova-plugin-firebase
Uninstalling cordova-plugin-firebase from android
Error during processing of action! Attempting to revert...
Uh oh!
ENOENT: no such file or directory, open '/home/abhishek/client_pro
我对cordova和ionic有意见。当我只使用Cordova启动一个项目时,我可以构建和模拟Android。
$ cordova build android && cordova emulate android
但是,如果我创建一个离子项目。当我尝试构建和模拟控制台时,显示以下消息:
Running command: /home/juanobrach/moonpicker/Ionic/test1/platforms/android/cordova/build
[Error: ANDROID_HOME is not set and "android" comm