DX Application Performance Management

Expand all | Collapse all

Import of  com.ca.mdo.CAMobileDevOps package is not successful

  • 1.  Import of  com.ca.mdo.CAMobileDevOps package is not successful

    Posted Jul 16, 2015 03:01 PM

    Hi All,

     

    I using CA Mobile App Analytics 15.2.2 and want to analyze one android app but when i import com.ca.mdo.CAMobileDevOps it gives error that mdo can not be recognized. I have tried the wrapper utility also but it is also not sending data.

     

    What should i do please guide me.

     

    Regards,

    Vinay



  • 2.  Re: Import of  com.ca.mdo.CAMobileDevOps package is not successful
    Best Answer

    Posted Jul 16, 2015 04:49 PM

    On Android, you can only wrap.  There is no SDK integration.  Please attach the device logs so that we can figure out why wrapped app is not sending data.  Also, when you wrap, use -d option as well so that the wrapped app produces more logs



  • 3.  Re: Import of  com.ca.mdo.CAMobileDevOps package is not successful

    Posted Nov 11, 2015 02:33 AM

    Hello Suman,

    I was looking for info on how to integrate sdk on an Android App and I found your answer; in 15.1 i remember there was the possibility to integrate the sdk in the source code ..

    Was this possibility removed in 15.2 version ?

    Why ?

    The Use CA MAA Advanced and Custom Features "mode" implies the need to wrap the resulting apk ?

     

    Thanks



  • 4.  Re: Import of  com.ca.mdo.CAMobileDevOps package is not successful

    Broadcom Employee
    Posted Jul 17, 2015 06:35 AM

    are you familiar with how to view the logcat logs on an adroid device. You need to install Android studio and connect your device via USB with USB debugging enabled in the developer options

    Note: On Android 4.2 and newer, Developer options is hidden by default. To make it available, go to Settings > About phone and tap Build number seven times. Return to the previous screen to find Developer options.

     

    create a new project in android studio

    go to View - Tool Windows - Android

     

    from the Android pane you can see the logcat logs

     

    If you can provide this we can see if the app is trying to send data and to where

     

    Rich

     

     



  • 5.  Re: Import of  com.ca.mdo.CAMobileDevOps package is not successful

    Broadcom Employee
    Posted Jul 20, 2015 07:24 AM

    hi

     

    do you still require assistance on this?

    regards

    Rich



  • 6.  Re: Import of  com.ca.mdo.CAMobileDevOps package is not successful

    Posted Jul 22, 2015 05:07 AM

    Hi Richard,

     

    Thanks for your response.

    I am working on a sample app and there is some issue with my system , i will send you logs tomorrow. I have tried on another apk it was sending data but that sample hello world not sending data and when i have tried to import it there was error.

     

    Regards,,

    Vinay



  • 7.  Re: Import of  com.ca.mdo.CAMobileDevOps package is not successful

    Posted Jul 27, 2015 03:48 AM

    Hi Richard,

     

    I have attached logs of running sample app and after closing the emulator also , Please find them.

     

    Regards,

    Vinay

    Attachment(s)

    rtf
    logs 1.rtf   17 KB 1 version
    rtf
    logs 2.rtf   442 KB 1 version


  • 8.  Re: Import of  com.ca.mdo.CAMobileDevOps package is not successful

    Posted Jul 27, 2015 11:35 AM

    I don't see any evidence of MAA in the logs.  Are you wrapping or still trying to import?



  • 9.  Re: Import of  com.ca.mdo.CAMobileDevOps package is not successful

    Posted Jul 29, 2015 12:19 AM

    Hi Suman,

     

    I have tried it by downloading sdk and trying to import the package of CA MAA but it was not successful. Another method i have used by uploading apk on administration console but it was also not sending data.

     

    Regards,

    Vinay



  • 10.  Re: Import of  com.ca.mdo.CAMobileDevOps package is not successful

    Posted Jul 29, 2015 12:40 AM

    Vinay,

     

    There is no SDK integration on android.  Please take a look at this documentation and follow the steps to wrap your app - https://wiki.ca.com/display/MAA/.Collect+Data+From+Your+Android+App+v15.2

     

    If you still don't see the data getting uploaded, wrap with -d option, run the app and send us the logs.



  • 11.  Re: Import of  com.ca.mdo.CAMobileDevOps package is not successful

    Broadcom Employee
    Posted Aug 13, 2015 10:36 AM

    Hi Vinay

     

    Have you been able to wrap your android app?

    regards

    Rich



  • 12.  Re: Import of  com.ca.mdo.CAMobileDevOps package is not successful

    Broadcom Employee
    Posted Aug 17, 2015 08:30 AM

    HI vinay.chaudhary

     

    Have you been able to wrap your app?

    regards

    Rich



  • 13.  Re: Import of  com.ca.mdo.CAMobileDevOps package is not successful

    Posted Aug 21, 2015 02:25 AM

    Hi Richard,

     

    For one application it is wrapped successfully by using administration console. But another sample app was not wrapped. Hey i want to know can we wrap the app through wrapper utility and PLIST file in its code in the free trial version of CA MAA?



  • 14.  Re: Import of  com.ca.mdo.CAMobileDevOps package is not successful

    Broadcom Employee
    Posted Oct 14, 2015 07:40 AM

    Hi Vinay,

     

    You can wrap the app using the wrapper utility available on the SaaS version  http://mdo.mobility.ca.com

     

    Ensure you have the JAVA_HOME variable set. Also If you are wrapping a Cordova app, back up the android.xml file. Rename the android-cordova.xml to android.xml to ensure that this file is used while wrapping the Cordova app.



  • 15.  Re: Import of  com.ca.mdo.CAMobileDevOps package is not successful

    Posted Oct 14, 2015 09:48 AM

    You don’t need to backup and rename xml files.  There is “-i” option on wrap.sh and you can pass the android-cordova.xml file.  For example;

     

    ./wrap.sh –a <apk file> -p <plist file> -i emm/conf/android-cordova.xml

     

    —Suman