Giter Club home page Giter Club logo

cordova-plugin-template's People

Contributors

hirtenfelder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cordova-plugin-template's Issues

Android compiler error if plugin is added to cordova app

I have added the plugin as it is to an empty default cordova project and I get the following error when compiling:

-pre-compile:
     [echo] Set jars path to: /home/paul/Downloads/test/platforms/android/CordovaLib/ant-build/classes.jar

-compile:
    [javac] Compiling 4 source files to /home/paul/Downloads/test/platforms/android/ant-build/classes
    [javac] /home/paul/Downloads/test/platforms/android/src/cordova/plugin/Template.java:1: error: illegal character: \65279
    [javac] package cordova.plugin;
    [javac] ^
    [javac] /home/paul/Downloads/test/platforms/android/src/cordova/plugin/Template.java:1: error: class, interface, or enum expected
    [javac] package cordova.plugin;
    [javac]          ^
    [javac] 2 errors

BUILD FAILED
/home/paul/Android/Sdk/tools/ant/build.xml:716: The following error occurred while executing this line:
/home/paul/Android/Sdk/tools/ant/build.xml:730: Compile failed; see the compiler error output for details.

Total time: 3 seconds

/home/paul/Downloads/test/platforms/android/cordova/node_modules/q/q.js:126
                    throw e;
                          ^
Error code 1 for command: ant with args: debug,-f,/home/paul/Downloads/test/platforms/android/build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen
Error: /home/paul/Downloads/test/platforms/android/cordova/run: Command failed with exit code 8
    at ChildProcess.whenDone (/usr/lib/node_modules/cordova/src/superspawn.js:112:23)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:743:16)
    at Process.ChildProcess._handle.onexit (child_process.js:810:5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.