Skip to content

unable to build tpk on windows #605

@suolongcn

Description

@suolongcn

when execute flutter-tizen build tpk under flutter project:

Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 1384 bytes (99.9% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
The Pant profile is used for signing.
target: tizen_dotnet_tpk
exception:Error: Failed to build .NET application:
F:\flutterdemo\tizen\Runner.csproj : error : Could not resolve SDK "Tizen.NET.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK.
F:\flutterdemo\tizen\Runner.csproj : error : SDK resolver "Microsoft.DotNet.MSBuildWorkloadSdkResolver" returned null.
F:\flutterdemo\tizen\Runner.csproj : error : Unable to resolve 'Tizen.NET.Sdk (= 1.1.7)' for '.NETStandard,Version=v0.0'.
F:\flutterdemo\tizen\Runner.csproj : error MSB4236: The SDK 'Tizen.NET.Sdk/1.1.7' specified could not be found.

Build FAILED.

F:\flutterdemo\tizen\Runner.csproj : error : Could not resolve SDK "Tizen.NET.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK.
F:\flutterdemo\tizen\Runner.csproj : error : SDK resolver "Microsoft.DotNet.MSBuildWorkloadSdkResolver" returned null.
F:\flutterdemo\tizen\Runner.csproj : error : Unable to resolve 'Tizen.NET.Sdk (= 1.1.7)' for '.NETStandard,Version=v0.0'.
F:\flutterdemo\tizen\Runner.csproj : error MSB4236: The SDK 'Tizen.NET.Sdk/1.1.7' specified could not be found.
0 Warning(s)
2 Error(s)

Time Elapsed 00:00:01.18
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 DotnetTpk.build (package:flutter_tizen/build_targets/package.dart:185:7)

#2 _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:891:9)

#3 FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:651:16)

#4 TizenBuilder.buildTpk (package:flutter_tizen/tizen_builder.dart:106:11)

#5 BuildTpkCommand.runCommand (package:flutter_tizen/commands/build.dart:84:5)

#6 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1450:27)

#7 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19)

#8 CommandRunner.runCommand (package:args/command_runner.dart:212:13)

#9 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:421:9)

#10 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19)

#11 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:5)

#12 run.. (package:flutter_tools/runner.dart:131:9)

#13 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19)

#14 main (package:flutter_tizen/executable.da

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions