|
Post by Alex Epifanov on Sept 9, 2024 23:51:06 GMT
Using latest master (7.7.dev) with SDK34/NDK26/build-tools34/JDK18 should be working config.
|
|
|
Post by jacecen on Sept 9, 2024 23:54:59 GMT
|
|
|
Post by jacecen on Sept 10, 2024 0:25:58 GMT
Thank you very much for the help. I will reconfigure my system and try a new clean build.
|
|
|
Post by Alex Epifanov on Sept 10, 2024 0:41:59 GMT
|
|
|
Post by jacecen on Sept 10, 2024 13:31:51 GMT
Using latest master (7.7.dev) with SDK34/NDK26/build-tools34/JDK18 should be working config. Using this configuration, the build gives an error error: Source option 6 is no longer supported. Use 7 or later. This error is fixed by modifying the androidcommon.rb file by replacing 1.6 with 1.7 on lines 495 and 497. With this, the build completes correctly and the app worksperfectly. The build continues to give the error Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema after running config:android:app_config, but this does not affect the final result out.rar (38.12 KB)
|
|
|
Post by Alex Epifanov on Sept 10, 2024 13:38:20 GMT
Yes, the issue you mentioned ( v6/7 ) is known and was fixed in master and backported to 7-6-stable, it will be available in the next builds ( this week ). Setting to override it was added ( android/java_version ). Default is 7.
|
|
|
Post by jacecen on Sept 10, 2024 17:06:27 GMT
The build:android:upgrade_package, with this same configuration, continues giving me the error NoMethodError: undefined method `[]' for nil:NilClass C:/RhoMobileSuite7.7.0.dev6/ruby/lib/ruby/gems/2.5.0/gems/rhodes-7.7.0.dev6/platform/android/build/android.rake:568:in `select_aapt2' because it does not find the version of the android sdk used, as you can see in the output line [INFO] config:android| Set up build API Level: , version: . out.txt (13.02 KB)
|
|