Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

BlackBerry Analytics Service

Reply
Trusted Contributor
Albert_Anks
Posts: 151
Registered: ‎06-17-2010
My Carrier: Vodafone

Descriptor duplicate attribute mismatch Error

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

Please use plain text.
BlackBerry Development Advisor
twindsor
Posts: 539
Registered: ‎07-15-2008
My Carrier: Bell

Re: Descriptor duplicate attribute mismatch Error

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?

Tim Windsor
Application Development Consultant
Please use plain text.
Trusted Contributor
Albert_Anks
Posts: 151
Registered: ‎06-17-2010
My Carrier: Vodafone

Re: Descriptor duplicate attribute mismatch Error

[ Edited ]

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

Please use plain text.
BlackBerry Development Advisor
twindsor
Posts: 539
Registered: ‎07-15-2008
My Carrier: Bell

Re: Descriptor duplicate attribute mismatch Error

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?

Tim Windsor
Application Development Consultant
Please use plain text.
Trusted Contributor
Albert_Anks
Posts: 151
Registered: ‎06-17-2010
My Carrier: Vodafone

Re: Descriptor duplicate attribute mismatch Error

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

Please use plain text.
BlackBerry Development Advisor
twindsor
Posts: 539
Registered: ‎07-15-2008
My Carrier: Bell

Re: Descriptor duplicate attribute mismatch Error

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?

Tim Windsor
Application Development Consultant
Please use plain text.
New Contributor
janak_rajyaguru
Posts: 7
Registered: ‎12-14-2011
My Carrier: Vodafone In

Re: Descriptor duplicate attribute mismatch Error

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.

Please use plain text.