After upgrading to RMS 4.0 and rhodes 4.0.0 and ruby 1.9.3 ..unable to build for android

Hi,

Everything was working before I upgraded RMS4.0, Rhodes 4.0.0, Ruby 1.9.3 and xcode 5.0.2.

Now I am unable to build for Android and can not build using Xcode

Keep getting following error for Android ... am I missing anything.

Thanks

Shri.

Android Error

-------------------------------

cp /Library/Ruby/Gems/1.8/gems/rhodes-4.0.0/res/libs/motorolalicence/android/libMotorolaLicence.a /Users/shrip/Desktop/GIVEBLDv1.2.6/bin/target/android/release/librhodes/libMotorolaLicence.a

--------------------------------------------------------------------------------

/Applications/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc -shared -Wl,--no-whole-archive -Wl,--no-undefined -Wl,-z,defs -fPIC -Wl,-soname,librhodes.so --sysroot /Applications/android-ndk-r9c/platforms/android-19/arch-arm -o

.

.

.

L"/Users/shrip/Desktop/GIVEBLDv1.2.6/bin/target/android/release/ruby" -L"/Users/shrip/Desktop/GIVEBLDv1.2.6/bin/target/android/release/sqlite" -lsqlite -lsqlite -lruby -lsqlite -lruby -lrhosync -lsqlite -lruby -lrhosync -lrhomain -lsqlite -lruby -lrhosync -lrhomain -lrholog -lsqlite -lruby -lrhosync -lrhomain -lrholog -lrhodb -lsqlite -lruby -lrhosync -lrhomain -lrholog -lrhodb -lrhocommon -lsqlite -lruby -lrhosync -lrhomain -lrholog -lrhodb -lrhocommon -lMotorolaLicence -lsqlite -lruby -lrhosync -lrhomain -lrholog -lrhodb -lrhocommon -lMotorolaLicence -ljson -lsqlite -lruby -lrhosync -lrhomain -lrholog -lrhodb -lrhocommon -lMotorolaLicence -ljson -lgcm-push -lsqlite -lruby -lrhosync -lrhomain -lrholog -lrhodb -lrhocommon -lMotorolaLicence -ljson -lgcm-push -lcoreapi -lsqlite -lruby -lrhosync -lrhomain -lrholog -lrhodb -lrhocommon -lMotorolaLicence -ljson -lgcm-push -lcoreapi -lcurl -lsqlite -lruby -lrhosync -lrhomain -lrholog -lrhodb -lrhocommon -lMotorolaLicence -ljson -lgcm-push -lcoreapi -lcurl -llog -ldl -lz -L/Applications/android-ndk-r9c/sources/cxx-stl/stlport/libs/armeabi -L/Applications/android-ndk-r9c/tmp/ndk-digit/build/install/sources/cxx-stl/stlport/libs/armeabi -lstlport_static -L/Applications/android-ndk-r9c/platforms/android-19/arch-arm/usr/lib -Wl,-rpath-link=/Applications/android-ndk-r9c/platforms/android-19/arch-arm/usr/lib /Applications/android-ndk-r9c/platforms/android-19/arch-arm/usr/lib/libstdc++.so /Applications/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/libgcc.a /Applications/android-ndk-r9c/platforms/android-19/arch-arm/usr/lib/libc.so /Applications/android-ndk-r9c/platforms/android-19/arch-arm/usr/lib/libm.so

/Applications/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/shrip/Desktop/GIVEBLDv1.2.6/bin/tmp/librhodes/mapview.cpp.o: in function mapview_close:platform/android/Rhodes/jni/src/mapview.cpp:811: error: undefined reference to 'google_mapview_close'

/Applications/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/shrip/Desktop/GIVEBLDv1.2.6/bin/tmp/librhodes/mapview.cpp.o: in function mapview_create:platform/android/Rhodes/jni/src/mapview.cpp:862: error: undefined reference to 'google_mapview_create'

/Applications/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/shrip/Desktop/GIVEBLDv1.2.6/bin/tmp/librhodes/mapview.cpp.o: in function mapview_state_started:platform/android/Rhodes/jni/src/mapview.cpp:880: error: undefined reference to 'google_mapview_state_started'

/Applications/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/shrip/Desktop/GIVEBLDv1.2.6/bin/tmp/librhodes/mapview.cpp.o: in function mapview_state_center_lat:platform/android/Rhodes/jni/src/mapview.cpp:893: error: undefined reference to 'google_mapview_state_center_lat'

/Applications/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/shrip/Desktop/GIVEBLDv1.2.6/bin/tmp/librhodes/mapview.cpp.o: in function mapview_state_center_lon:platform/android/Rhodes/jni/src/mapview.cpp:908: error: undefined reference to 'google_mapview_state_center_lon'

collect2: ld returned 1 exit status

********* NOTE: You use sdk parameter in build.yml !****************

To use latest Rhodes gem, run migrate-rhodes-app in application folder or comment sdk in build.yml.

************************************************************************

-------------------------------

Robert Galvin
Try upgrading the Android NDK

Try upgrading the Android NDK (min r8e) and the API to the latest (minimum API 10).

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Shri Potdar
Hi Robert,I am using Android

Hi Robert,

I am using Android NDK r9c and API 19

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Fernando Coelho...
Hello had the same problem as

Hello had the same problem as you, make sure you downloaded the Google APIs.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Fernando Coelho...
See this is your build

See this is your build.yml

android:

  mapping: true   //this

  version: "4.4.2"   //this

  android_title: 0

  orientation: "portrait"

  minSDK: 10  //this

  package_name: ""

  production:

    certificate: ""

    password: "1q2w3e"

    alias: ""

  emulator: "Android2.3.3" //this

  capabilities:

    - hardware_acceleration

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Shri Potdar
I have same settings

I have same settings

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Alexey Tikhvinsky
Hi,You need to remove


Hi,

You need to remove "android:mapping: true” or add “android:apikey: <YOUR-GOOGLE-PLAY-API-KEY>” to build.yml

Best regards

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Robert Galvin
Also try to update your

Also try to update your 'Android Support Library' listed in extras. Do a clen build as well.

Screen Shot 2014-01-10 at 9.25.14 AM.jpg

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Shri Potdar
I have updated all API's and

I have updated all API's and Extras ....

Still getting same error.

Screen Shot 2014-01-10 at 10.16.58 AM.png

Screen Shot 2014-01-10 at 10.17.22 AM.png

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Fernando Coelho...
Install API 17 and API 19 and

Install API 17 and API 19 and try again.

Screenshot from 2014-01-14 07:52:14.png

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Shri Potdar
reinstalled API 19 and 17..

reinstalled API 19 and 17...still no luck. same error.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Fernando Coelho...
You could post your build.yml

You could post your build.yml and rhoconfig.txt?

Enjoy to look at the settings in the SDK and NDK in rhobuild.yml

in: c: \ MotorolaRhoMobileSuite4.0.0 \ ruby ​​\ lib \ ruby ​​\ gems \ 1.9.1 \ gems \ rhodes-4.0.0

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments