Skip to content

Navigation Menu

Sign in
Sign up

Compilation of latest sources fails. #1

Open

Description

./gradlew assembleDist fails when using the newest sources.

> Task :tools:base:vector-drawable-tool:compileJava FAILED
/Users/mruno/Projects/vd-tool/tools/base/vector-drawable-tool/src/main/java/com/android/ide/common/vectordrawable/VdCommandLineTool.java:226: error: incompatible types: Path cannot be converted to File
 String error = Svg2Vector.parseSvgToXml(inputSVGFile.toPath(), byteArrayOutStream);
 ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error

This seems to be related to Google's last commit - changed Svg2Vector user to new API (commit link). I'm not sure if there's something else we need on the classpath now in order to compile vd-tool?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /