cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The AppDynamics Community is Migrating this Friday, February 28th.


At 6pm PST, the AppDynamics Community will go into read-only mode and after migration is complete, you will be redirected to community.splunk.com.
Read more here


DexArchiveBuilderException when building APK with Ionic + Cordova

Anonymous
Not applicable

I am getting this error when I try to do the dynamis app installation procedure, after trying to generate the apk build ..
The requirements are ok.

 

**Environment Info:**

@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


**Error:**

> com.android.builder.dexing.DexArchiveBuilderException: Failed to
> process
> ..platforms\android\build\intermediates\transforms\AppDynamics\debug\36
> com.android.builder.dexing.DexArchiveBuilderException: Error while
> dexing
> org/apache/cordova/inappbrowser/InAppBrowser$InAppBrowserClient.class
> com.android.dx.cf.code.SimException: mismatched stack depths

The 'AppDynamics BCI Instrumentation' log seems to be ok.

- 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)

1 REPLY 1

Anonymous
Not applicable

After a lot of builds, adding and removing cordova, cleaning modules, this error stopped. 

Ask the Experts Session: Hybrid Application Monitoring Deployment

Join us on Feb 26 to explore Splunk AppDynamics deployment strategies, SaaS models, agent rollout plans, and expert best practices.


Register Now

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here
Top Kudoed Authors