Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6839] Android: Missing jars in the .classpath of the Mobile Modules project

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-03-27T22:54:29.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sRelease 2.0.0, Release 2.1.0, Sprint 2012-07
ComponentsAndroid
Labelsqe-testadded
ReporterShalom Gibly
AssigneeNeeraj Gupta
Created2011-12-21T19:37:19.000+0000
Updated2013-01-21T22:39:04.000+0000

Description

When creating a new Mobile Module project from the Studio we see compilation errors. These errors are resolved after manually adding *kroll-apt* and *kroll-common* Jars from the SDK. Seems like they are missing for the initial generated .classpath file. To fix:

Right-click on a project

Choose *Properties*

Select *Java Build Path > Libraries* and click on *External JARs*

Navigate to your Titanium SDK installation directory (Default locations are at the bottom of here https://wiki.appcelerator.org/display/tis/Downloading+Titanium+SDKs+in+Titanium+Studio, or look in *Preferences > Titanium Studio > Titanium*)

Navigate further to /mobilesdk/_yourOS_/_SDKversion_/andorid

Select the kroll-* JAR files

Save and exit out of the dialogs.

Comments

  1. Shalom Gibly 2012-03-26

    Pull request submitted
  2. Marshall Culpepper 2012-03-26

    @Shalom I've followed up with a quick question about functional review on your PR
  3. Shalom Gibly 2012-03-27

    @Marshall Replied on https://github.com/appcelerator/titanium_mobile/pull/1852 Thanks
  4. Neeraj Gupta 2012-03-27

    Studio will improve the user experience by making sure that JDT is installed before being able to create a Android module project.
  5. Shalom Gibly 2012-03-27

    Yep. Ti-Studio will improve the project creation process - see TISTUD-1442
  6. Michael Pettiford 2012-03-28

    Tested with Ti Studio build 2.0.0.201203271933 Ti Mobile SDK 2.0.0.v20120328000206 hash r7985dee6 OSX Lion 10.7.3 Verified that the jars are present in the created module *Keeping open to confirm in 2.1.0 before closing* *Note to QE, To verify fix, install the JDT eclipse plugin*
  7. Olga Romero 2013-01-21

    Closing as fixed. Tested and verified with: Titanium Studio, build: 3.0.1.201212181159 Titanium SDK, build: 3.0.0.GA Windows7,64bit The jars are present in the created module.

JSON Source