Missing or invalid 'android' section in rhobuild.yml

1,747 views
Skip to first unread message

racye

unread,
Dec 14, 2010, 3:52:34 PM12/14/10
to rhomobile
Hi, I am getting this error in trying to do the tutorial and not sure
how to fix it, i've searched the discussions but all of the posts that
are close to this reference either the ndk or sdk and my error is just
'android'. how can I fix it? Thanks.

C:\Users\racy\rhodes\bin\storemanager>rake run:android
(in C:/Users/racy/rhodes/bin/storemanager)
cd C:/Users/racy/rhodes
Missing or invalid 'android' section in rhobuild.yml

Dmitry Soldatenkov

unread,
Dec 14, 2010, 6:44:13 PM12/14/10
to rhom...@googlegroups.com, racy.e...@gmail.com
Hi

You do not setup rhodes for Android development - Rhodes need path to Android SDK in Rhodes config.
Use (Rhodes root)/bin/rhodes-setup.bat (under windows)
and (Rhodes root)/bin/rhodes-setup (under other OS)

See doc :

--
You received this message because you are subscribed to the Google Groups "rhomobile" group.
To post to this group, send email to rhom...@googlegroups.com.
To unsubscribe from this group, send email to rhomobile+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rhomobile?hl=en.




--

Best regards,
  Dmitry A. Soldatenkov
  E-mail: dmi...@rhomobile.com
  Skype: soldatenkoff


racye

unread,
Dec 15, 2010, 3:23:44 PM12/15/10
to rhomobile
ok, i fixed the path as per your instructions, but now I get this,
what am i doing wrong?

C:\Users\racy\storemanager>rake run:android
(in C:/Users/racy/storemanager)
cd C:/Ruby192/lib/ruby/gems/1.9.1/gems/rhodes-2.2.3
rake aborted!
undefined method `+' for nil:NilClass
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rhodes-2.2.3/platform/android/
build/androidc
ommon.rb:51:in `eval'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rhodes-2.2.3/platform/android/
build/androidc
ommon.rb:51:in `eval'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rhodes-2.2.3/platform/android/
build/androidc
ommon.rb:51:in `block in setup_ndk'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rhodes-2.2.3/platform/android/
build/androidc
ommon.rb:49:in `each'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rhodes-2.2.3/platform/android/
build/androidc
ommon.rb:49:in `setup_ndk'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rhodes-2.2.3/platform/android/
build/android.
rake:438:in `block (2 levels) in <top (required)>'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:634:in `call'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:634:in `block in execute'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:629:in `each'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:629:in `execute'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:595:in `block in
invoke_with_call_chain'
C:/Ruby192/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:605:in `block in
invoke_prerequisites'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:602:in `each'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:602:in `invoke_prerequisites'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:594:in `block in
invoke_with_call_chain'
C:/Ruby192/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:605:in `block in
invoke_prerequisites'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:602:in `each'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:602:in `invoke_prerequisites'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:594:in `block in
invoke_with_call_chain'
C:/Ruby192/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:605:in `block in
invoke_prerequisites'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:602:in `each'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:602:in `invoke_prerequisites'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:594:in `block in
invoke_with_call_chain'
C:/Ruby192/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:605:in `block in
invoke_prerequisites'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:602:in `each'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:602:in `invoke_prerequisites'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:594:in `block in
invoke_with_call_chain'
C:/Ruby192/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:605:in `block in
invoke_prerequisites'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:602:in `each'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:602:in `invoke_prerequisites'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:594:in `block in
invoke_with_call_chain'
C:/Ruby192/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:605:in `block in
invoke_prerequisites'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:602:in `each'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:602:in `invoke_prerequisites'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:594:in `block in
invoke_with_call_chain'
C:/Ruby192/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:581:in `invoke'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:2041:in `invoke_task'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:2019:in `block (2 levels) in
top_level'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:2019:in `each'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:2019:in `block in top_level'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:2058:in
`standard_exception_handling'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:2013:in `top_level'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:1992:in `run'
C:/Ruby192/bin/rake:31:in `<main>'

C:\Users\racy\storemanager>


Thanks,
Racy


On Dec 14, 3:44 pm, Dmitry Soldatenkov <dmit...@rhomobile.com> wrote:
> Hi
>
> You do not setup rhodes for Android development - Rhodes need path to
> Android SDK in Rhodes config.
> Use (Rhodes root)/bin/rhodes-setup.bat (under windows)
> and (Rhodes root)/bin/rhodes-setup (under other OS)
>
> See doc :http://wiki.rhomobile.com/index.php/BuildingRhodes#Prerequisites_-_Al...
> <http://wiki.rhomobile.com/index.php/BuildingRhodes#Prerequisites_-_Al...>http://wiki.rhomobile.com/index.php/BuildingRhodes#Android
>
>
>
>
>
>
>
>
>
> On Tue, Dec 14, 2010 at 11:52 PM, racye <racy.estin...@gmail.com> wrote:
> > Hi, I am getting this error in trying to do the tutorial and not sure
> > how to fix it, i've searched the discussions but all of the posts that
> > are close to this reference either the ndk or sdk and my error is just
> > 'android'. how can I fix it? Thanks.
>
> > C:\Users\racy\rhodes\bin\storemanager>rake run:android
> > (in C:/Users/racy/rhodes/bin/storemanager)
> > cd C:/Users/racy/rhodes
> > Missing or invalid 'android' section in rhobuild.yml
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "rhomobile" group.
> > To post to this group, send email to rhom...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > rhomobile+...@googlegroups.com<rhomobile%2Bunsubscribe@googlegroups .com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/rhomobile?hl=en.
>
> --
>
> Best regards,
>   Dmitry A. Soldatenkov
>   E-mail: dmit...@rhomobile.com
>   Skype: soldatenkoff

Dmitry Moskalchuk

unread,
Dec 16, 2010, 7:14:42 AM12/16/10
to rhom...@googlegroups.com
1. Please update rhodes to the latest (2.2.5 as for now).
2. Looks like problem with your NDK installation. Check is it unpacked
correctly and is it pointed right in rhobuild.yml located in
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rhodes-X.X.X folder.


Dmitry Moskalchuk

ALMLAB

unread,
Dec 16, 2010, 10:12:50 AM12/16/10
to rhomobile
Hi! I work on Rhomobile for 2 month, so, i'm a begginer. First, sorry
for my very bad english, (I'm French, and everybody knows our global
level in English x) ).

For your first problem, the problem is in your build file in your Gems
source. So, if you re-have this problem, you've just to modify your
file, you have two lines I think to modify. The build will be work on
android.
This problem is a problem with the SDK.

But after, your second problem is a problem of NDK, I think. I'have
seen recently that existed problem with the NDK r4b.
The solution si to modify the links by r5b.
But I don't know if it work fine...
> > > "rhomobile" group.> > To post to this group, send email torho...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages