Samsung / cordova-plugin-toast

Cordova plugin that provides TV Specific functionalities.
Apache License 2.0
122 stars 60 forks source link

NoClassDefFoundError PathUtil when bulild sectv-tizen for toast Samsung #81

Open hvintro opened 6 years ago

hvintro commented 6 years ago

That is what I receive when try to build sectv-tizen with grunt sectv-build:sectv-tizen.

Running "sectv-build:sectv-tizen" (sectv-build) task

Start packaging Samsung Tizen TV Platform...... Tizen CLI 2.4.50

Setting configuration is succeeded....

Exception in thread "main" java.lang.NoClassDefFoundError: org/tizen/core/gputil/PathUtil at org.tizen.common.core.web.BuildWebAppModule.buildResources(BuildWebAppModule.java:132) at org.tizen.ncli.subcommands.build.buildweb.BuildWebCLICommand.call(BuildWebCLICommand.java:95) at org.tizen.ncli.subcommands.build.buildweb.BuildWebCLICommand.call(BuildWebCLICommand.java:52) at org.tizen.ncli.subcommands.AbstractSubCommand.runCommand(AbstractSubCommand.java:76) at org.tizen.ncli.ide.shell.BuildWebCLI.execute(BuildWebCLI.java:86) at org.tizen.ncli.ide.shell.AbstractCLI.execute(AbstractCLI.java:91) at org.tizen.ncli.ide.shell.Main.run(Main.java:183) at org.tizen.ncli.ide.shell.Main.main(Main.java:115) Caused by: java.lang.ClassNotFoundException: org.tizen.core.gputil.PathUtil at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 8 more

Any suggestion?

hvintro commented 6 years ago

Installing Native CLI from Tizen SDK tools in tizen studio package manager, seems solves the issue. I don't know if it is the correct way, but worked for me.