Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-9070

Studio: Default android mobile module has errors with Java 9

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: Release 5.1.0
    • Fix Version/s: None
    • Component/s: Modules
    • Labels:
      None
    • Environment:

      Mac OS 10.13.4
      Appc Studio: 5.1.0.201804120427
      Ti SDK: 7.1.1.v20180412101616
      Appc CLI: 7.0.2
      Node.js: 8.9.1
      JDK: 9.0.4

    • Story Points:
      5

      Description

      When a default android mobile module is created in Studio while having JDK 9 on the system the project shows errors in code.
      This happens when the compliance level is set to 9. If the Java compliance level is set to 1.8 then there are no errors. However on a new workspace the Studio sets compliance level to 9 by default if JDK 9 is installed.

      Steps to Reproduce:
      1. On a system with JDK 9 installed, launch Studio
      2. Create a new default mobile module project for Android platform

      Actual Result:
      Errors are shown in the code related to "The type java.lang.String is ambiguous"

      Expected Result:
      The default project should not have errors

        Attachments

          Activity

            People

            • Assignee:
              kkolipaka Kondal Kolipaka (Inactive)
              Reporter:
              ssekhri Satyam Sekhri
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: