phonegap插件无法编译[附件插件]

时间:2014-04-05 14:52:29

标签: cordova plugins

我的插件GitHub:https://github.com/keglevich3/Notificationplugin

当我尝试编译我的项目时,我得到了下一个错误,我不知道它是什么。 我不知道为什么编译器无法找到calss,尽管面对它将它复制到android文件夹:

-compile:
    [javac] Compiling 2 source files to G:\phonegao\phomegapme\platforms\android
\ant-build\classes
    [javac] G:\phonegao\phomegapme\platforms\android\src\com\vendrov\plugins\Not
ificationManager.java:1: error: class, interface, or enum expected
    [javac] com.vendrov.plugins.NotificationManager;
    [javac] ^
    [javac] 1 error

BUILD FAILED`enter code here`
C:\Program Files\Android\adt-bundle-windows-x86_64-20140321\sdk\tools\ant\build.
xml:720: The following error occurred while executing this line:
C:\Program Files\Android\adt-bundle-windows-x86_64-20140321\sdk\tools\ant\build.
xml:734: Compile failed; see the compiler error output for details.

Total time: 2 seconds
Error code 1 for command: cmd with args: /s,/c,ant,debug,-f,G:\phonegao\phomegap
me\platforms\android\build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen
   [error] cmd: Command failed with exit code 2

0 个答案:

没有答案