使用Ionic + Cordova构建APK时出现DexArchiveBuilderException

时间:2018-08-29 20:35:44

标签: android cordova ionic-framework appdynamics

在尝试生成动态APK应用程序后,尝试生成动态应用程序安装过程时出现此错误。 要求还可以。

环境信息:

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0
global packages:
    cordova (Cordova CLI) : 8.0.0
    Gulp CLI              : CLI version 3.9.1 Local version 3.9.1
local packages:
    @ionic/app-scripts : 3.1.11
    Cordova Platforms  : none
    Ionic Framework    : ionic-angular 3.5.3
System:
    Android SDK Tools : 26.1.1
    Node              : v8.11.3
    npm               : 6.4.0
    OS                : Windows 10

错误:

  

com.android.builder.dexing.DexArchiveBuilderException:失败   处理   ..platforms \ android \ build \ intermediates \ transforms \ AppDynamics \ debug \ 36
  com.android.builder.dexing.DexArchiveBuilderException:时出错   德兴   org / apache / cordova / inappbrowser / InAppBrowser $ InAppBrowserClient.class   com.android.dx.cf.code.SimException:堆栈深度不匹配

“ AppDynamics BCI工具”日志似乎正常。

     - Total number of classes visited                                       (#3773  classes)
     - Total number of classes instrumented                                  (#39    classes)
     - Total number of classes failed to instrument                          (#0     classes)
     - Total number of features discovered                                   (#6)

The following features were discovered in your application by Appdynamics:
     - Network calls using Square's OkHttp                                   (#2     classes)
     - Inject JS agent into WebView                                          (#1     classes)
     - Detect Application not responding                                     (#6     classes)
     - Network calls using apache's HttpClient                               (#1     classes)
     - Network calls using java.net.HttpURLConnection                        (#11    classes)
     - Detect calls from View                                                (#20    classes)

0 个答案:

没有答案