Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3183] Problem with Google Maps Android API v2 Module

GitHub Issuen/a
TypeNew Feature
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2013-03-19T17:59:29.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator Modules, Studio
Labelsandroid, api
Reporterelvira pompili
AssigneeShak Hossain
Created2013-03-19T10:57:06.000+0000
Updated2016-03-08T07:57:35.000+0000

Description

Dear Sirs, I just tried to install and use the newly released Google Maps Android API v2 Module, but my application crashes. I added the module both in the Titanium SDK directory, .../Library/Application Support/Titanium/modules/android, and inside the /Resources/modules/android folder. Then I followed all the steps and tested the examples shown at the link http://docs.appcelerator.com/titanium/latest/#!/guide/Google_Maps_v2_for_Android. With adb -d logcat | grep -G '(TiAPI)|(TiApp)' I have got the following result: ... E/TiApplication(31782): (main) [525,1213] Sending event: exception on thread: main msg:java.lang.NoClassDefFoundError: ti.map.TiUIMapView; Titanium 2.1.3,2012/10/02 16:16,15997d0 E/TiApplication(31782): java.lang.NoClassDefFoundError: ti.map.TiUIMapView .... Can you help me please? You can find enclosed all the elements involved: my tiapp.xml file and the app.js file. I tried it on my LG-P700. Thank you very much. Kind regards, Elvira

Attachments

FileDateSize
app.js2013-03-19T10:57:06.000+0000861
tiapp.xml2013-03-19T10:57:06.000+00004208

Comments

  1. Carter Lathrop 2013-03-19

    Elvira, Please refer to http://docs.appcelerator.com/titanium/latest/#!/api/Modules.Map "Unpack the module to your Titanium SDK home directory, for example, /Users/.../Library/Application Support/Titanium, which make the module available to all your projects. Alternatively, you can copy the ZIP file to your Resources folder, which makes the module available to a single project." You have your module in the wrong location. If you place the module zip folder in the Root titanium folder, this problem should be fixed. Also, for future reference, Jira is supposed to be used for bug reporting. If you would like to have personal customer support for any and all problems you may run into in the future, I would suggest signing up for a professional support plan. Hope this helps, let me know if you need info on signing up. Regards, Carter
  2. Shak Hossain 2013-12-27

    Closing this since we have not heard from from the reporter in a while. Besides, we can't reproduce it using our default sample.

JSON Source