Skip to content

Silent crash using motion-support on Android #44

@davetrollope-fsml

Description

@davetrollope-fsml

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions