|
Post by Alex Epifanov on Nov 28, 2017 16:37:26 GMT
For everyone's information: NDK16 was published by Google. We have confirmed issues building Rhodes aps with it, so it is not supported at the moment. We are working to find/fix issues. NDK 15 and below should work OK.
|
|
|
Post by tripodrob on Nov 28, 2017 19:16:57 GMT
That helped getting it compiled, but now I get this error:
[INFO] Creating AVD image: echo no | "/Users/iath/Library/Android/sdk/tools/android" create avd --name rhoAndroid511 --target 2 --abi --sdcard 512M Error: Flag '--target' is not valid for 'create avd'.
|
|
|
Post by Alex Epifanov on Nov 28, 2017 21:19:25 GMT
Yes, this is known issue, since Google messed up command line arguments in recent SDK updates. We still use older notation for backward compat reasons and because or CI works with older SDKs. As a workaround you may rollback your builds tools ( guess v25.x.x would work ) or make an APK with 'rake device:android:debug' and install it to the emulator manually. Launching emulator manually before building should also workaround the issue since build scripts would use running emulator if there is one.
|
|
|
Post by fixzonebrian on Dec 19, 2017 11:45:43 GMT
Hi Alex, I'm trying an Android build and I am now getting "LoadError: cannot load such file -- openssl.so" is this an incompatible version ? Which versions of JDK, SDK & NDK would you recommend as being compatible with RhoMobile 6.0.11 ? Thanks in advance b,.
|
|
|
Post by Alex Epifanov on Dec 19, 2017 14:08:44 GMT
Hi Brian, NDK 15, SDK up to level 27, build tools v27.x and JDK 1.8 should do. openssl should work OK, and we are actually going to update it before new year. when do you get this error, could you share a sample app to reproduce the issue.
|
|
|
Post by fixzonebrian on Dec 20, 2017 15:12:38 GMT
Hi Alex This happens on our main app... but also on a previous RhoMobileApplication1 project that I have just for checking the build is working. So this is literally just a new mobile app project I created before. However I just tried creating a new RhoMobile application in the IDE and I get "Cannot find Rhodes, need version equal or greater 3.2.0"
|
|
|
Post by Alex Epifanov on Dec 21, 2017 11:33:23 GMT
|
|
|
Post by Alex Epifanov on Sept 5, 2018 21:15:24 GMT
Support for latest NDK (16, 17) is now available in master. Will be added to official RMS7 release.
|
|