03-21-2011 07:46 AM
Hi All,
Today i have used Analytics service for my application with the help of sample code given at here.
i put the config.xml file in my src folder, and add AnalyticsServicev0.9Beta.jar file also.
and i found run time error. after that i have debug my application and i found this type of error.
Error!905: Descriptor duplicate attribute mismatch: 'MIDlet-Version' old value: '1.0' new value: '0.0'
there are two MANIFEST.MF files are there in my project folder.
first one is in JRE System Library Folder.
Here is the description of the file MANIFEST.MF
Manifest-Version: 1.0
Created-By: 1.5.0_04 (Sun Microsystems Inc.)
Second one is in Referenced Library folder which contain AnalyticsServicev0.9Beta.jar file.
Here is the description of the file MANIFEST.MF
Manifest-Version: 1.0
RIM-MIDlet-Flags-1: 0
MIDlet-Vendor: WebTrends
MIDlet-Version: 1.1.0.100
MicroEdition-Configuration: CLDC-1.1
MIDlet-1: WebTrends Blackberry Lib v1.1.0.100,,
Created-By: 1.6.0_20 (Sun Microsystems Inc.)
MIDlet-Jar-URL: WebtrendsRIMClientLib1.1.0.100.jar
MIDlet-Name: WebtrendsRIMClientLib1.1.0.100
Build-Time: 20110218-1938
MIDlet-Description: WebTrends Blackberry Lib v1.1.0.100
MIDlet-Jar-Size: 0
can any buddy help me to short out this problem???
03-25-2011 12:13 PM
Did you create a BlackBerry Application or Midlet?
Did you remember to export the Analytics Jar with your project?
Did you install the JAD/COD file or the JAR file to your device?
03-29-2011 01:39 AM - edited 03-29-2011 01:42 AM
hello twindsor,
I have not create any blackberry project nor create any Midlet.
I have just add jar file of analytics sdk in my existing project and also add config.xml file into the project with the required changes.
One more thing,
I had run the sample project Analytics Demo (Referance Link). it can run successfully but i cant get any result into web portal?
i was add the application into web portal and get DCSID and i have put that DCSID into config.xml file and add that file into project.
i have tested that project into the simulator 8520 with 5.0 OS.
what might be the problem there?
can you help me??
Regards,
Albert Anks
03-29-2011 06:32 PM
There was another topic on this forum where we found the simulator will not connect without either the MDS Simulator running, or a Simulated Wifi connection set up. That could be the cause of what you are seeing. Also, there is a 24 hour delay before results are seen in the dashboard.
What kind of existing project do you have? I have not seen the error that you are reporting, but it seems to me that there is some kind of configuration step you've missed. Can you show me a screen shot of your project outline, and confirm that you have checked the Export option for the SDK jar?
03-31-2011 04:56 AM
Hello twindsor,
Please suggest me the steps to implement analytics services into any application?
Right now i have followed step from this link.
also suggest me about the most important changes, i have to remember when i will change in config.xml file.
Regards,
Albert Anks
04-04-2011 02:38 PM
Albert,
Those instructions are exactly what I would suggest following. I followed them and so did many others.
Many people are forgetting to export the library with their application.
You haven't said wether the application you are building is a Midlet or a BlackBerry UI application. Also, what version of the Plugin or other tools are you using?
04-17-2012 02:51 AM
There must be some JAD file included anywhere in your project which was created on last run of your application. The version of application in that JAD file conflicts while building JAD file for current application as you have changed the current application version.