为android插件依赖项“cordova插件”安装“cordova插件文件传输”时生成APK时出错-file@4.3.3“已获取,使用该版本。android上已安装依赖插件“cordova插件文件”。安装android的“cordova插件文件路径”安装android插件依赖的“cordova插件地理位置”cordova插件-compat@1.2.0“已获取,使用该版本。为android插件安装“cordova plugin compat”不支持此项目的cordova android版本。cordova android:6.4.0,版本要求失败:
Cordova插件列表
包裹json
html prettyprint-override"> "dependencies": {
"@agm/core": "^1.0.0-beta.3",
"@angular/common": "4.0.0",
"@angular/compiler": "4.0.0",
"@angular/compiler-cli": "4.0.0",
"@angular/core": "4.0.0",
"@angular/forms": "4.0.0",
"@angular/http": "4.0.0",
"@angular/platform-browser": "4.0.0",
"@angular/platform-browser-dynamic": "4.0.0",
"@ionic-native/barcode-scanner": "^4.4.2",
"@ionic-native/battery-status": "^4.15.0",
"@ionic-native/camera": "^4.13.0",
"@ionic-native/core": "^4.1.0",
"@ionic-native/file": "^4.14.0",
"@ionic-native/file-path": "^4.1.0",
"@ionic-native/file-transfer": "^4.13.0",
"@ionic-native/geolocation": "^4.4.2",
"@ionic-native/keyboard": "3.4.4",
"@ionic-native/media": "^4.14.0",
"@ionic-native/media-capture": "^4.14.0",
"@ionic-native/network": "^4.3.2",
"@ionic-native/splash-screen": "^3.4.4",
"@ionic-native/status-bar": "3.4.4",
"@ionic-native/transfer": "^3.14.0",
"@ionic-native/video-capture-plus": "^4.13.0",
"@ionic-native/video-player": "^4.14.0",
"@ionic/cloud-angular": "^0.12.0",
"@ionic/storage": "^2.0.1",
"@types/cordova-plugin-battery-status": "^1.2.3",
"@types/cordova-plugin-media": "^3.0.0",
"@types/ionic": "^3.19.0",
"@types/underscore": "^1.8.9",
"angular2-signaturepad": "^2.6.1",
"babel-runtime": "^6.26.0",
"backo2": "^1.0.2",
"component-bind": "^1.0.0",
"cordova": "^8.1.2",
"cordova-android": "6.4.0",
"cordova-ios": "~4.3.1",
"cordova-plugin-battery-status": "^2.0.2",
"cordova-plugin-compat": "^1.2.0",
"cordova-plugin-console": "~1.0.6",
"cordova-plugin-device": "~1.1.5",
"cordova-plugin-file-transfer": "~1.6.3",
"cordova-plugin-geolocation": "~2.4.3",
"cordova-plugin-media": "^5.0.2",
"cordova-plugin-media-capture": "^1.4.3",
"cordova-plugin-splashscreen": "~4.0.2",
"cordova-plugin-statusbar": "~2.2.2",
"cordova-plugin-video-capture-plus": "^1.0.0",
"cordova-plugin-video-player": "git+https://github.com/moust/cordova-plugin-videoplayer.git",
"cordova-plugin-whitelist": "~1.3.2",
"cordova-plugin-wkwebview-engine": "https://github.com/driftyco/cordova-plugin-wkwebview-engine.git",
"cordova-sqlite-storage": "~2.0.3",
"engine.io-client": "^3.1.4",
"font-awesome": "^4.7.0",
"has-binary": "^0.1.7",
"ionic": "^4.1.2",
"ionic-angular": "3.0.1",
"ionic-image-loader": "^4.1.1",
"ionic-img-viewer": "^1.3.4",
"ionic-plugin-keyboard": "~2.2.1",
"ionicons": "3.0.0",
"isobject": "^3.0.1",
"jquery": "^3.2.1",
"lodash": "^4.17.4",
"moment": "^2.22.2",
"moment-timezone": "^0.5.13",
"parseuri": "0.0.5",
"phonegap-plugin-barcodescanner": "^7.0.0",
"phonegap-plugin-push": "~1.10.5",
"reflect-metadata": "^0.1.10",
"rxjs": "5.1.1",
"setimmediate": "^1.0.5",
"signature_pad": "^2.3.2",
"socket.io-client": "^1.7.3",
"socket.io-parser": "^3.1.2",
"sw-toolbox": "3.4.0",
"to-array": "^0.1.4",
"underscore": "^1.9.1",
"zone.js": "^0.8.4"
},
"devDependencies": {
"@angular/tsc-wrapped": "^4.4.6",
"@ionic/app-scripts": "1.3.0",
"@ionic/cli-plugin-cordova": "1.6.2",
"@ionic/cli-plugin-ionic-angular": "1.4.1",
"@types/lodash": "^4.14.62",
"@types/moment-timezone": "^0.2.34",
"@types/socket.io-client": "^1.4.29",
"typescript": "~2.2.1"
},
"cordova": {
"platforms": [
"android",
"ios"
],
"plugins": {
"cordova-plugin-console": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-whitelist": {},
"cordova-plugin-wkwebview-engine": {},
"cordova-sqlite-storage": {},
"ionic-plugin-keyboard": {},
"phonegap-plugin-push": {
"SENDER_ID": "694054568313"
},
"cordova-plugin-media-capture": {},
"phonegap-plugin-barcodescanner": {
"CAMERA_USAGE_DESCRIPTION": " "
},
"cordova-plugin-file-transfer": {},
"cordova-plugin-geolocation": {
"GEOLOCATION_USAGE_DESCRIPTION": "To locate you"
},
"com.moust.cordova.videoplayer": {},
"cordova-plugin-camera": {},
"cordova-plugin-media": {},
"cordova-plugin-file": {},
"cordova-plugin-battery-status": {}
}
}
您似乎安装了多个版本的插件-4.3.3
ionic cordova plugin rm cordova-plugin-file
ionic cordova platform rm android
ionic cordova plugin add cordova-plugin-file
ionic cordova platform add android
如果需要插件的特定版本,可以在add命令的末尾将其作为
爱奥尼亚cordova插件添加cordova插件-file@6.0.0
问题内容: 因此,我正在用angularjs 1构建一个cordova / phonegap应用程序,并且试图在该应用程序的专用目录/沙箱中保存和读取一个名为calendar.txt的文件,但不能。 调试时我的控制台日志显示没有错误,如果文件不存在则正在创建文件,并且文件正在正确读取。但是事实并非如此。在设备上构建并运行时,不会保存数据。在指定的位置也没有创建文件。 我在控制台上记录了它试图使用的
当我尝试使用此命令 D:\tmp\taamapp\android\app\build\intermediates\res\merged\release\drawable-hdpi\node_modules_reactnavigationstack_src_views_assets_backicon.png: error: 未编译的 PNG 文件作为参数传递。必须首先编译为 .flat 文件。错误:
我用expo CLI构建了一个非常简单的first React原生应用程序。现在我想知道我是否可以生成一个APK文件。我不想在任何地方发表。我可以生成APK吗? 谢谢你。
好的,所以最近我一直在尝试在Android Studio(1.1.0)上运行我的应用程序,但是每次尝试运行的时候,都会弹出以下错误: 注意:我最近导入了一个jar文件,从那以后,问题就开始了。不确定这是否重要。
我有麻烦-使用ionic创建一个android构建。它最初运行良好。我尝试将android目标平台更改为19-这是4.4.2 kitkat。 这是错误消息-显然cordova文件插件有问题。当我将平台sdk目标更改为19时。 任何帮助将不胜感激。 /myapp/platforms/android/src/org/apache/cordova/file/LocalFilesystem.java:41
每当我将添加到解决方案中时,在构建过程中就会出现一个错误:app:transformClassesWithStackFramesFixerforDebug。在下面添加了整个输出。Project是一个空的Cordova插件,除了安装的插件什么都没有。感谢援助。下面添加了Stacktrace。我用的是最新的科尔多瓦版本。 目前,我尝试的是: null