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

I cannot change app icon when "motion-flow" is added to the Rakefile (android app) #36

Open
ulversson opened this issue Jul 31, 2016 · 1 comment

Comments

@ulversson
Copy link

ulversson commented Jul 31, 2016

Without require "motion-flow" in the Rakefile my android project seems to be compiling fine.
After adding require "motion-flow".I'm getting an error like the one below. I'm specifying

app.icon in the Rakefile it compiles ok with this icon (located in drawable directory).
With require "motion-flow" crashes with the following message:

`build/android/Development-22/AndroidManifest.xml:4: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/icon').

rake aborted!
Command failed with status (1): ["/Users/ulversson/.rubymotion-android/sdk/...]
/Library/RubyMotion/lib/motion/project/template/android.rb:578:in block in <top (required)>' /Library/RubyMotion/lib/motion/project/template/android.rb:786:inblock (2 levels) in <top (required)>'
/Users/ulversson/.rvm/gems/ruby-2.3.0/gems/rake-11.2.2/exe/rake:27:in <top (required)>' /Users/ulversson/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:ineval'
/Users/ulversson/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in <main>' Tasks: TOP => build (See full trace by running task with --trace)

@davetrollope
Copy link

I just ran in to this same problem in a non-flow app because I added flow for its JSON module. The suggested work around in #64 fixed the problem for me. This is likely to trip up many new apps and would be really good to address. 2c

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