GithubHelp home page GithubHelp logo

courses-rps-conference-app's Introduction

Hi there ๐Ÿ‘‹

This is pretty cool

courses-rps-conference-app's People

Contributors

alexziskind1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

courses-rps-conference-app's Issues

Android build error

Still getting this error.

Unlike iOS which shows the error in the terminal, Android shows the error in the genymotion emulator device.

An uncaught Exception occurred on "main" thread.
java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException:

Error calling module function

Error calling module function

Error calling module function

Error: java.lang.ClassNotFoundException: com.tns.FragmentClass
java.lang.Class.classForName(Native Method)
java.lang.Class.forName(Class.java:309)
java.lang.Class.forName(Class.java:273)
com.tns.Runtime.getClassForName(Runtime.java:1107)
com.tns.ClassResolver.resolveClass(ClassResolver.java:57)
com.tns.Runtime.resolveClass(Runtime.java:649)
com.tns.Runtime.runModule(Native Method)
com.tns.Runtime.runModule(Runtime.java:580)
com.tns.Runtime.run(Runtime.java:574)
com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17)
android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
android.app.ActivityThread.handleBindApplication(ActivityThread.java:4553)
android.a

Error running iOS still

With a fresh clone, using the latest version of NativeScript, running npm install and then tns run ios --emulator I'm getting the following errors on build.

Executing before-watch hook from /Users/mac/Desktop/conference/courses-rps-conference-app/rps-conf/hooks/before-watch/nativescript-dev-typescript.js
Found peer TypeScript 1.8.10
1 0x109f2733c -[TNSRuntime executeModule:referredBy:]
2 0x109a933b9 main
3 0x10b08768d start
4 0x1
file:///app/tns_modules/tns-core-modules/utils/utils.js:182:72: JS ERROR TypeError: UIDevice.currentDevice is not a function. (In 'UIDevice.currentDevice()', 'UIDevice.currentDevice' is an instance of UIDevice)
Feb 9 20:30:54 MacBook-Pro com.apple.CoreSimulator.SimDevice.27C353ED-13D5-4C0C-9F26-73D88337DB52.launchd_sim[30307] (UIKitApplication:com.nuvious.rpsconf[0x3554][31156]): Service exited due to Segmentation fault: 11
app/pages/session-page/session-page.ts(54,26): error TS2304: Cannot find name 'android'.

app/pages/session-page/session-page.ts(54,49): error TS2304: Cannot find name 'android'.

app/pages/session-page/session-page.ts(56,25): error TS2304: Cannot find name 'android'.

app/pages/session-page/session-page.ts(57,25): error TS2304: Cannot find name 'android'.
app/pages/session-page/session-page.ts(60,32): error TS2304: Cannot find name 'android'.
app/pages/session-page/session-page.ts(65,30): error TS2304: Cannot find name 'UIActivityViewController'.

app/pages/session-page/session-page.ts(67,11): error TS2304: Cannot find name 'UIViewController'.

app/services/favorites-service.ts(39,30): error TS2304: Cannot find name 'java'.
app/services/favorites-service.ts(39,66): error TS2304: Cannot find name 'java'.

app/services/favorites-service.ts(42,29): error TS2304: Cannot find name 'android'.

app/services/favorites-service.ts(58,28): error TS2304: Cannot find name 'java'.

app/services/favorites-service.ts(63,30): error TS2304: Cannot find name 'android'.
app/services/favorites-service.ts(66,35): error TS2304: Cannot find name 'java'.
app/services/favorites-service.ts(67,33): error TS2304: Cannot find name 'java'.

app/services/favorites-service.ts(70,46): error TS2304: Cannot find name 'android'.
app/services/favorites-service.ts(75,38): error TS2304: Cannot find name 'android'.
app/services/favorites-service.ts(76,44): error TS2304: Cannot find name 'java'.

app/services/favorites-service.ts(76,67): error TS2304: Cannot find name 'java'.
app/services/favorites-service.ts(77,42): error TS2304: Cannot find name 'java'.

app/services/favorites-service.ts(78,43): error TS2304: Cannot find name 'java'.

app/services/favorites-service.ts(79,36): error TS2304: Cannot find name 'android'.
app/services/favorites-service.ts(84,25): error TS2304: Cannot find name 'EKEventStore'.
app/services/favorites-service.ts(85,55): error TS2304: Cannot find name 'EKEntityTypeEvent'.
app/services/favorites-service.ts(85,100): error TS2304: Cannot find name 'NSError'.

app/services/favorites-service.ts(90,29): error TS2304: Cannot find name 'EKEvent'.
app/services/favorites-service.ts(92,34): error TS2304: Cannot find name 'NSTimeZone'.

app/services/favorites-service.ts(93,35): error TS2304: Cannot find name 'NSDate'.
app/services/favorites-service.ts(94,33): error TS2304: Cannot find name 'NSDate'.

app/services/favorites-service.ts(97,32): error TS2304: Cannot find name 'EKAlarm'.
app/services/favorites-service.ts(99,26): error TS2304: Cannot find name 'NSError'.

app/services/favorites-service.ts(100,68): error TS2304: Cannot find name 'EKSpan'.
app/services/favorites-service.ts(129,29): error TS2304: Cannot find name 'android'.

app/services/favorites-service.ts(129,72): error TS2304: Cannot find name 'android'.

app/services/favorites-service.ts(132,25): error TS2304: Cannot find name 'EKEventStore'.
app/services/favorites-service.ts(133,55): error TS2304: Cannot find name 'EKEntityTypeEvent'.

app/services/favorites-service.ts(133,100): error TS2304: Cannot find name 'NSError'.
app/services/favorites-service.ts(140,69): error TS2304: Cannot find name 'EKSpan'.

app/shared/navigation.ts(39,59): error TS2304: Cannot find name 'UIColor'.

Error running on iOS emulator

Just tried running the app on iOS emulator after fresh download, everything seems okay from nativescript side, but when I run ios emulator I get the following error....

Feb 9 01:22:37 MacBook-Pro logd[20141]: Failed to harvest strings for pathless uuid '00000000-0000-0000-0000-000000000000'
Feb 9 01:22:37 MacBook-Pro com.apple.CoreSimulator.SimDevice.27C353ED-13D5-4C0C-9F26-73D88337DB52.launchd_sim[20130] (UIKitApplication:com.nuvious.rpsconf[0xe5d2][20698]): Service exited due to Segmentation fault: 11
file:///app/tns_modules/utils/utils.js:182:72: JS ERROR TypeError: UIDevice.currentDevice is not a function. (In 'UIDevice.currentDevice()', 'UIDevice.currentDevice' is an instance of UIDevice)

The attempts to open but is instantly shut down and then terminal hangs and has to be manually quit.

I also get an error building to Android which I'll post as a separate issue.

Not able to run the app after npm install on android.

Hi @alexziskind1 , i cloned this repo, installed dependencies and tried running the app on android device.
Am running on windows and deploying app to android device.
I see that java, android and some other things are not recognized in the ts files.

I am evaluating nativescript vs ionic2 and want to see a live app on my device for doing it.
Can you please look into this issue. I just want to deploy the conference app on my phone and feel the nativeness of it.

error

Error building to Android

I'm using Genymotion as the emulator. The project builds and the following errors are displayed on the app screen....

An uncaught Exception occurred on "main" thread.
java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException:

Error calling module function

Error calling module function

Error calling module function

Error: java.lang.ClassNotFoundException: com.tns.FragmentClass
java.lang.Class.classForName(Native Method)
java.lang.Class.forName(Class.java:309)
java.lang.Class.forName(Class.java:273)
com.tns.Runtime.getClassForName(Runtime.java:1107)
com.tns.ClassResolver.resolveClass(ClassResolver.java:57)
com.tns.Runtime.resolveClass(Runtime.java:649)
com.tns.Runtime.runModule(Native Method)
com.tns.Runtime.runModule(Runtime.java:580)
com.tns.Runtime.run(Runtime.java:574)
com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17)
android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
android.app.ActivityThread.handleBindApplication(ActivityThread.java:4553)

it wouldn't allow me to copy more than that.

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.