Skip to content

Java 13 is not supported, but doctor does not detect it #5242

@rosen-vladimirov

Description

@rosen-vladimirov

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 6.3.3.
  • Cross-platform modules: Not applicable
  • Android Runtime: Not applicable
  • iOS Runtime: Not applicable
  • Plugin(s):Not applicable

Describe the bug
In case you have Java 13 installed, tns doctor says everything is working correctly, but when you try to build for Android, you receive an error - Invalid magic number 57

To Reproduce
Install Java 13 and run tns build android on any project

Expected behavior
tns doctor should detect the current environment is not okay for building Android applications.

Sample project

Additional context

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions