Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silent crash using motion-support on Android #44

Open
davetrollope-fsml opened this issue Mar 31, 2019 · 1 comment
Open

Silent crash using motion-support on Android #44

davetrollope-fsml opened this issue Mar 31, 2019 · 1 comment

Comments

@davetrollope-fsml
Copy link

Using @wndxlori PR #42 to resolve relative path issues, trying to require the full motion-support gem causes the app to crash with no error info:

    Create ./build/Development-26/classes.dex
Merged dex #1 (6 defs/1.9KiB)
Merged dex #2 (48 defs/15.1KiB)
Result is 54 defs/20.6KiB. Took 0.0s
    Create ./build/Development-26/Hello.apk
      Sign ./build/Development-26/Hello.apk
     Align ./build/Development-26/Hello.apk
   Install ./build/Development-26/Hello.apk
     Start com.yourcompany.hello/.MainActivity
--------- beginning of main
--------- beginning of system
--------- beginning of crash
(main)>
Remote process has quit.
error: no devices found

Steps:
create a new project: motion create --template=android Hello
Add to Gemfile: gem 'motion-support', git: 'https://github.com/wndxlori/motion-support.git', ref: '3fedd09', require: false
Add to Rakefile: require 'motion-support'
Then run bundle and bundle exec rake
motion --version: 5.17 on mohave

@andrewhavens andrewhavens added this to the Android Support milestone Sep 20, 2019
@andrewhavens
Copy link
Contributor

This gem was originally written prior to RubyMotion Android support, but we can work towards adding Android support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants