Post by newbie on Nov 30, 2017 18:29:42 GMT
Hi all, first serious post as a complete newbie so bear with me.
Our new team has been hacking around in RhoStudio 6.0.11, with r9 NDK and the latest Android SDK (built with the latest Android Studio). The Dev. Environment is running on Win7 32bit utilizing Java 8.151 and Java SDK 8.151.
Everything is working out excellent from a coding point of view and we have been learning loads through a number of small 'hello world' type test applications but everyone has failed at the same problem point. Just to be sure it was not a coding issue, we downloaded the 'KitchenSinkJS-Master' (again the latest from GIT) and repeated the process of trying for a 'Production Build', but we always fail with the same issue each time. The following is a snippet from the console output ...
///--- Snippet Begins Here! ---///
[INFO] Using Android SDK build-tools: 27.0.1
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.375 s
[INFO] Finished at: 2017-11-30T15:40:36+00:00
[INFO] Final Memory: 10M/26M
[INFO] ------------------------------------------------------------------------
mkdir -p C:/Programming/workspace/KitchenSinkJS/bin/tmp/include
[INFO] Extracting dependencies
[INFO] Extracting dependencies to C:/Programming/workspace/KitchenSinkJS/bin/tmp/.m2
[INFO] {"audio"=>false, "camera"=>false, "gps"=>false, "network_state"=>true, "phone"=>false, "pim"=>false, "record_audio"=>false, "vibrate"=>false, "bluetooth"=>false, "calendar"=>false, "sdcard"=>false, "read_sdcard"=>false, "push"=>false, "shared_runtime"=>false, "hardware_acceleration"=>false}
[INFO] Need to regenerate genconfig.h
mkdir -p C:/Programming/workspace/KitchenSinkJS/bin/target/android/release/extensions/coreapi
mkdir -p C:/Programming/workspace/KitchenSinkJS/bin/tmp/coreapi
rake aborted!
Extension build failed: C:/RhoMobileSuite6.0.11/ruby/lib/ruby/gems/1.9.1/gems/rhodes-6.0.11/lib/commonAPI/coreapi/ext/platform/android
Tasks: TOP => build:android:extensions
(See full trace by running task with --trace)
///--- Snippet Ends Here! ---///
I did note that the 'Production Build' is skipping our build.ml->android:version: "7.0" and instead uplifting to the "27.0.1" SDK and I am not really sure why? or how we can add the '--trace' to the 'Production Build' as a command using RhoStudio.
Anyone have any ideas why all our projects are failing to produce a 'Production Build'?
Anyone help us understand were the '--trace' needs to go?
Finally, does anyone have any idea why the '"network_state"=>true' when we did not 'Add' it as a 'build.yml' capability?
The project was downloaded and unchanged from that currently available on GIT, so could really use anyone's help at this point
Our new team has been hacking around in RhoStudio 6.0.11, with r9 NDK and the latest Android SDK (built with the latest Android Studio). The Dev. Environment is running on Win7 32bit utilizing Java 8.151 and Java SDK 8.151.
Everything is working out excellent from a coding point of view and we have been learning loads through a number of small 'hello world' type test applications but everyone has failed at the same problem point. Just to be sure it was not a coding issue, we downloaded the 'KitchenSinkJS-Master' (again the latest from GIT) and repeated the process of trying for a 'Production Build', but we always fail with the same issue each time. The following is a snippet from the console output ...
///--- Snippet Begins Here! ---///
[INFO] Using Android SDK build-tools: 27.0.1
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.375 s
[INFO] Finished at: 2017-11-30T15:40:36+00:00
[INFO] Final Memory: 10M/26M
[INFO] ------------------------------------------------------------------------
mkdir -p C:/Programming/workspace/KitchenSinkJS/bin/tmp/include
[INFO] Extracting dependencies
[INFO] Extracting dependencies to C:/Programming/workspace/KitchenSinkJS/bin/tmp/.m2
[INFO] {"audio"=>false, "camera"=>false, "gps"=>false, "network_state"=>true, "phone"=>false, "pim"=>false, "record_audio"=>false, "vibrate"=>false, "bluetooth"=>false, "calendar"=>false, "sdcard"=>false, "read_sdcard"=>false, "push"=>false, "shared_runtime"=>false, "hardware_acceleration"=>false}
[INFO] Need to regenerate genconfig.h
mkdir -p C:/Programming/workspace/KitchenSinkJS/bin/target/android/release/extensions/coreapi
mkdir -p C:/Programming/workspace/KitchenSinkJS/bin/tmp/coreapi
rake aborted!
Extension build failed: C:/RhoMobileSuite6.0.11/ruby/lib/ruby/gems/1.9.1/gems/rhodes-6.0.11/lib/commonAPI/coreapi/ext/platform/android
Tasks: TOP => build:android:extensions
(See full trace by running task with --trace)
///--- Snippet Ends Here! ---///
I did note that the 'Production Build' is skipping our build.ml->android:version: "7.0" and instead uplifting to the "27.0.1" SDK and I am not really sure why? or how we can add the '--trace' to the 'Production Build' as a command using RhoStudio.
Anyone have any ideas why all our projects are failing to produce a 'Production Build'?
Anyone help us understand were the '--trace' needs to go?
Finally, does anyone have any idea why the '"network_state"=>true' when we did not 'Add' it as a 'build.yml' capability?
The project was downloaded and unchanged from that currently available on GIT, so could really use anyone's help at this point