Uploaded image for project: 'Documentation'
  1. Documentation
  2. TIDOC-2633

Document how to recompile Android native modules for 6.0.0

    Details

    • Type: Story
    • Status: Closed
    • Priority: None
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Release 7.0.0
    • Component/s: Guides
    • Labels:
    • Sprint:
      Future (unforeseeable), Sprint 43 - 2016: Bishop, Sprint 44 - 2016: HELPeR

      Description

      Description

      Upgrading V8 means recompiling native android modules, We updated our core set in TIMOB-19794 but as the community will need to do this too we should document how to do it.

      From Chris' comment on that ticket it's basically the below, all of the below refer to properties in the manifest file. The user must be using NDK11 (NDK12 might work but I think NDK11 is what we're going with), and either set that in Studio or by using ti config android.ndkPath

      bump the module's version up to the next major (i.e. 2.3.1 -> 3.0.0)
      bump the module's apiversion to 3 (for Android)
      bump the minsdk to 6.0.0 (for Android)
      

      Also there is a change documented in this commit https://github.com/appcelerator/titanium_mobile/pull/8306/commits/6580b5ee080cbd9cfd96f0dbdc6e31390c72a20d I think this isn't a new in 6 thing but seeing as the templates were only updated there might be a few modules still using the old code

      import org.appcelerator.titanium.util.Log;		 
      import org.appcelerator.titanium.util.TiConfig;
      

      import org.appcelerator.kroll.common.Log;
      import org.appcelerator.kroll.common.TiConfig;
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bimmel-defective (deactived) Brian Immel (Inactive)
                Reporter:
                eharris Ewan Harris
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Source Code