我的项目在没有google地图插件的情况下工作得很好,当我安装它并尝试构建时,我得到:
* What went wrong:
Execution failed for task ':transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException:
java.util.concurrent.ExecutionException: com.android.dex.DexE
我目前有困难,使我的Ionic 5和角9项目的工作。
ionic cordova run android工作得很好
但是当我运行ionic cordova run android --prod时,唯一能得到的就是一个空白的屏幕。
来自铬开发工具的输出:
Error: Angular JIT compilation failed: '@angular/compiler' not loaded!
- JIT compilation is discouraged for production use-cases! Consider AOT mode instead.
- Di
我得到了Failed to load resource: The requested URL was not found on this server.错误,当运行应用程序在iOS仿真和设备,它是工作正常的安卓。
我已经更新了iOS平台版本,但仍然收到相同的错误。我已经尝试删除插件,但仍然是相同的错误。检查屏幕截图
我已经设置了新的空白离子4项目,并建立了ios,它工作得很好。
Ionic:
Ionic CLI : 5.4.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework
我正在尝试一个移动应用程序开发与地图集成。我目前正在尝试使用: Node Ionic Cordova Cordova Google Maps插件Windows 10 (build 1803)。
当创建空白模板时,应用程序本身构建正确,并将加载良好。但是,当我添加对google地图插件的引用时,它会导致以下错误:
[INFO] Looks like @ionic/app-scripts isn't installed in this project.
This package is required for this command to work properly.
var exampleApp= angular.module('starter', ['ionic'])
.run(function($ionicPlatform) {
$ionicPlatform.ready(function() {
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
// for form inputs)
if(window.cordova && window
我有一个小型的Ionic android,运行得很好。升级到Android7.1SDK后,运行cordova run --target=emulator-5554 android --verbose时会出现以下错误
Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl444999769.tmp/base.apk (at Binary XML file line #103): <provider> has empty authorit
这个应用运行得很好,但进入首页需要10分钱。我认为问题在于我不能运行ionic cordova build ios/android build --prod来最小化代码或bundels
它给出了这个错误
Error: Metadata version mismatch for module /Users/quanticosolutions/Desktop/myseg/mobile/node_modules/@ionic-native/file/index.d.ts, found version 4, expected 3
at StaticSymbolResolver.getModul
我在我的项目中使用离子和科尔多瓦,但得到上述错误,但当我试图在网上搜索,所有的解决方案包括谷歌防火墙,但我没有使用任何从防火墙。该项目已经建设成功,但错误刚刚从现在起从哪里来。以下是错误:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugGoogleServices'.
> File google-services.json is missing. The Google Services Plugin canno
我对Ionic有个很奇怪的问题。在每个新的构建/服务/实验室中,都会发生以下错误:
typescript: src/providers/city/city.ts, line: 17
Property 'data' does not exist on type 'ArrayBuffer'.
下面是有问题的文件:
import { Injectable } from '@angular/core';
import {JApiProvider} from "../j-api/j-api";
import {Ci