Code Monkey home page Code Monkey logo

jsartoolkit5-cordova-app's Introduction

Cordova JSARToolKit5 App - Example

works only on browser and android JSARToolKit5, Three.js, Adapter.js

Getting started

  • cordova add browser android Add platforms

  • cordova plugin add cordova-plugin-camera or add to your AndroidManifest.xml.

  • cordova plugin add crosswalk-webview replace WebView

  • cordova plugin add cordova-plugin-iosrtc iOS-Safari WebRTC support.

  • cordova plugin add https://github.com/apache/cordova-plugin-splashscreen.git add Splashscreen.

  • cordova prepare update-prepare platforms

  • cordova run android run project on android or different platform

Try this app on your android device*: /test-apk/.apk

*requires installation of non-Market applications.

jsartoolkit5-cordova-app's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rko-ionic

jsartoolkit5-cordova-app's Issues

can't build or run on android

I'm trying to follow the instructions at https://github.com/Roli21/jsartoolkit5-cordova-app/blob/master/README.md.

I am able to deploy and run your test-apk on android lollipop on a Samsung S5 and LG G4.

However, when trying to build the project from your github project, I get:

BUILD FAILED

Total time: 1.161 secs
Error: /Users/.../android/gradlew: Command failed with exit code 1 Error output:
/Users/.../android/src/org/crosswalk/engine/XWalkWebViewEngine.java:55: error: XWalkWebViewEngine is not abstract and does not override abstract method evaluateJavascript(String,ValueCallback<String>) in CordovaWebViewEngine
public class XWalkWebViewEngine implements CordovaWebViewEngine {
       ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileArmv7DebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

here is my config:

$ cordova plugin ls
cordova-plugin-camera 2.4.0 "Camera"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-crosswalk-webview 1.7.2 "Crosswalk WebView Engine"
cordova-plugin-iosrtc 3.0.1 "iosrtc"
cordova-plugin-splashscreen 4.0.3-dev "Splashscreen"
cordova-plugin-whitelist 1.3.2 "Whitelist"
$

$ cordova platform ls
Installed platforms:
  android 6.2.1
  browser 4.1.0
  ios 4.1.1
Available platforms: 
  amazon-fireos ~3.6.3 (deprecated)
  blackberry10 ~3.8.0
  firefoxos ~3.6.3
  osx ~4.0.1
  webos ~3.7.0
$ 

$ cordova -v
6.5.0
$ 

Any pointers greatly appreciated!

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.