|
Post by fnllc on Oct 25, 2023 11:59:26 GMT
I'm attempting to build for Android 33 using the latest rhodes 7.6dev18 (master branch). I'm on a Mac with Apple Silicone and the build does not complete. See attached. rhobuild.yml --- env: paths: java: "/Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home/bin" android: "/Users/myusername/Library/Android/sdk" android-ndk: "/Users/myusername/Library/Android/sdk/ndk/24.0.8215888" app: "/Users/myusername/Documents/MyApps/MyApp" build: wmpath: platform/wm wp8path: platform/wp8 androidpath: platform/android iphonepath: platform/iphone android: excludedirs: all: - "**/.*.swo" - "**/.*.swn" - "**/.DS_Store" biuild.yml: name: "MyApp 2" extensions: - json - rholang - audiocapture - mediacapture - mediaplayer - rhoconnect-client - fcm-push # - development capabilities: - gps - camera - network_state - vibrate - sdcard - hardware_acceleration - push env: app: "/Users/myusername/Documents/MyApps/MyApp" sdk: "/Users/myusername/GitHub/rhodes" android: minSDK: 33 targetSDK: 33 android_title: 0 manifest_template: "AndroidManifest.erb" abis: - arm - aarch64 # - x86 version: "13.0" emulator: "Pixel_7_Pro_API_33" package_name: "com.myapps.myapp" push: # notifications: always notifications: background build: "debug" applog: "rholog.txt" version: "4.1.8" vendor: "My Apps" sdkversion: "7.6" # app_type: "rhoelements" minify: js: false Attachments:android build.txt (685.65 KB)
|
|
|
Post by Dmitriy Zhigulskiy on Oct 31, 2023 17:46:36 GMT
|
|
|
Post by fnllc on Nov 7, 2023 13:41:50 GMT
I'm getting the following error message now:
** Execute /Users/username/Documents/MyApps/MyApp/bin/target/android/debug/librhodes/lib/aarch64/librhodes.so ** Invoke config:aarch64 llvm stl shared library does not exists -------------------------------------------------------------------------------- PWD: /Users/username/GitHub/rhodes /Users/username/Library/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -v --target=aarch64-linux-android33 -shared -Wl,-shared,-Bsymbolic -Wl,--no-whole-archive -Wl,--no-undefined -Wl,-z,defs -fPIC -Wl,-soname,librhodes.so -o "/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/librhodes/lib/aarch64/librhodes.so" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/RhoClassFactory.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/JNIRhoRuby.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/JNIRhoJS.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/callbacks.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/datetimepicker.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/event.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/fileapi.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/geolocation.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/logconf.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/logger.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/mapview.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/nativebar.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/nativeview.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/navbar.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/phonebook.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/rhoconf.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/rhodes.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/rhodesapp.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/rhodessystem.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/ringtones.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/socketimpl.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/splashscreen.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/sslimpl.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/webview.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/rhocryptimpl.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/extmanager.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/MethodExecutorJni.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/MethodResultJni.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/SecurityTokenGenerator.cpp.o" "/Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/JNIRhoRubyCppWrapper.cpp.o" -L"/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/mediaplayer/aarch64" -L"/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/decryptstub/aarch64" -L"/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/audiocapture/aarch64" -L"/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/fcm-push/aarch64" -L"/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/coreapi/aarch64" -L"/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/mediacapture/aarch64" -L"/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/rhoconnect-client/aarch64" -L"/Users/username/Documents/MyApps/MyApp/bin/tmp/.m2/openssl-1.1.1q-beta-1/prefab/modules/crypto/libs/android.arm64-v8a" -L"/Users/username/Documents/MyApps/MyApp/bin/tmp/.m2/openssl-1.1.1q-beta-1/prefab/modules/ssl/libs/android.arm64-v8a" -L"/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/sqlite/aarch64" -L"/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/curl/aarch64" -L"/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/ruby/aarch64" -L"/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/json/aarch64" -L"/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/rhodb/aarch64" -L"/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/rhocommon/aarch64" -L"/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/rhomain/aarch64" -L"/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/rhosync/aarch64" -L"/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/rholog/aarch64" -Wl,--whole-archive -lmediaplayer -ldecryptstub -laudiocapture -lfcm-push -lcoreapi -lmediacapture -lrhoconnect-client -Wl,--no-whole-archive -lsqlite -lcurl -lruby -ljson -lrhodb -lrhocommon -lrhomain -lrhosync -lrholog -lsqlite -lcurl -lsqlite -lruby -lsqlite -lcurl -ljson -lsqlite -lcurl -lruby -lrhodb -lsqlite -lcurl -lruby -ljson -lrhocommon -lsqlite -lcurl -lruby -ljson -lrhodb -lrhomain -lsqlite -lcurl -lruby -ljson -lrhodb -lrhocommon -lrhosync -lsqlite -lcurl -lruby -ljson -lrhodb -lrhocommon -lrhomain -lrholog -lsqlite -lcurl -lruby -ljson -lrhodb -lrhocommon -lrhomain -lrhosync -landroid -llog -ldl -lz -lstdc++ -lcrypto -lssl -L/Users/username/Library/Android/sdk/ndk/25.2.9519653/sources/cxx-stl/gnu-libstdc++/8.0.0/libs/aarch64 -lc -lm Android (9352603, based on r450784d1) clang version 14.0.7 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0cca074e9238af8b4106c30add4418f6) Target: aarch64-unknown-linux-android33 Thread model: posix InstalledDir: /Users/username/Library/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/darwin-x86_64/bin "/Users/username/Library/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld" -EL --fix-cortex-a53-843419 --warn-shared-textrel -z now -z relro -z max-page-size=4096 --hash-style=gnu --enable-new-dtags --eh-frame-hdr -m aarch64linux -shared -o /Users/username/Documents/MyApps/MyApp/bin/target/android/debug/librhodes/lib/aarch64/librhodes.so /Users/username/Library/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/darwin-x86_64/bin/../sysroot/usr/lib/aarch64-linux-android/33/crtbegin_so.o -L/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/mediaplayer/aarch64 -L/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/decryptstub/aarch64 -L/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/audiocapture/aarch64 -L/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/fcm-push/aarch64 -L/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/coreapi/aarch64 -L/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/mediacapture/aarch64 -L/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/rhoconnect-client/aarch64 -L/Users/username/Documents/MyApps/MyApp/bin/tmp/.m2/openssl-1.1.1q-beta-1/prefab/modules/crypto/libs/android.arm64-v8a -L/Users/username/Documents/MyApps/MyApp/bin/tmp/.m2/openssl-1.1.1q-beta-1/prefab/modules/ssl/libs/android.arm64-v8a -L/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/sqlite/aarch64 -L/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/curl/aarch64 -L/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/ruby/aarch64 -L/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/json/aarch64 -L/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/rhodb/aarch64 -L/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/rhocommon/aarch64 -L/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/rhomain/aarch64 -L/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/rhosync/aarch64 -L/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/rholog/aarch64 -L/Users/username/Library/Android/sdk/ndk/25.2.9519653/sources/cxx-stl/gnu-libstdc++/8.0.0/libs/aarch64 -L/Users/username/Library/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/14.0.7/lib/linux/aarch64 -L/Users/username/Library/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/darwin-x86_64/bin/../sysroot/usr/lib/aarch64-linux-android/33 -L/Users/username/Library/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/darwin-x86_64/bin/../sysroot/usr/lib/aarch64-linux-android -L/Users/username/Library/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/darwin-x86_64/bin/../sysroot/usr/lib -shared -Bsymbolic --no-whole-archive --no-undefined -z defs -soname librhodes.so /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/RhoClassFactory.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/JNIRhoRuby.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/JNIRhoJS.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/callbacks.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/datetimepicker.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/event.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/fileapi.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/geolocation.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/logconf.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/logger.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/mapview.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/nativebar.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/nativeview.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/navbar.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/phonebook.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/rhoconf.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/rhodes.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/rhodesapp.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/rhodessystem.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/ringtones.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/socketimpl.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/splashscreen.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/sslimpl.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/webview.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/rhocryptimpl.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/extmanager.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/MethodExecutorJni.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/MethodResultJni.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/SecurityTokenGenerator.cpp.o /Users/username/Documents/MyApps/MyApp/bin/tmp/librhodes/aarch64/JNIRhoRubyCppWrapper.cpp.o --whole-archive -lmediaplayer -ldecryptstub -laudiocapture -lfcm-push -lcoreapi -lmediacapture -lrhoconnect-client --no-whole-archive -lsqlite -lcurl -lruby -ljson -lrhodb -lrhocommon -lrhomain -lrhosync -lrholog -lsqlite -lcurl -lsqlite -lruby -lsqlite -lcurl -ljson -lsqlite -lcurl -lruby -lrhodb -lsqlite -lcurl -lruby -ljson -lrhocommon -lsqlite -lcurl -lruby -ljson -lrhodb -lrhomain -lsqlite -lcurl -lruby -ljson -lrhodb -lrhocommon -lrhosync -lsqlite -lcurl -lruby -ljson -lrhodb -lrhocommon -lrhomain -lrholog -lsqlite -lcurl -lruby -ljson -lrhodb -lrhocommon -lrhomain -lrhosync -landroid -llog -ldl -lz -lc++ -lcrypto -lssl -lc -lm /Users/username/Library/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/14.0.7/lib/linux/libclang_rt.builtins-aarch64-android.a -l:libunwind.a -ldl -lc /Users/username/Library/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/14.0.7/lib/linux/libclang_rt.builtins-aarch64-android.a -l:libunwind.a -ldl /Users/username/Library/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/darwin-x86_64/bin/../sysroot/usr/lib/aarch64-linux-android/33/crtend_so.o ** Execute link:aarch64
[INFO] Evaluating /Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/audiocapture/adds/AndroidManifest.rb [INFO] Evaluating /Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/fcm-push/adds/AndroidManifest.rb [INFO] Adding template /Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/fcm-push/adds/ApplicationManifestAdds.erb [INFO] Adding template /Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/coreapi/adds/ApplicationManifestAdds.erb [INFO] Adding template /Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/mediacapture/adds/ApplicationFileProvider.erb [INFO] Adding template /Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/mediacapture/adds/ApplicationCameraActivity.erb [INFO] Rendering final AndroidManifest.xml: /Users/username/Documents/MyApps/MyApp/AndroidManifest.erb [INFO] Rendering final AndroidManifest.xml: /Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/fcm-push/adds/ApplicationManifestAdds.erb [INFO] Rendering final AndroidManifest.xml: /Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/coreapi/adds/ApplicationManifestAdds.erb [INFO] Rendering final AndroidManifest.xml: /Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/mediacapture/adds/ApplicationFileProvider.erb [INFO] Rendering final AndroidManifest.xml: /Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/mediacapture/adds/ApplicationCameraActivity.erb [INFO] $$$ try to found MainActivity [INFO] $$$ activity with attr = com.rhomobile.rhodes.RhodesActivity [INFO] $$$ FOUND ! [INFO] $$$ activity with attr = com.rhomobile.rhodes.alert.PopupActivity [INFO] $$$ activity with attr = com.rhomobile.rhodes.ui.FileList [INFO] $$$ activity with attr = com.rhomobile.rhodes.camera.ImageCapture [INFO] $$$ activity with attr = com.rhomobile.rhodes.datetime.DateTimePickerScreen [INFO] $$$ activity with attr = com.rhomobile.rhodes.mapview.MapView [INFO] $$$ activity with attr = com.rhomobile.rhodes.ui.LogViewDialog [INFO] $$$ activity with attr = com.rho.camera.CameraActivity [INFO] AndroidManifest.xml[/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/mediacapture/adds/AndroidManifest.xml] from native extension found ! [INFO] Extension Manifest process application item : [INFO] $$$ process element with attr = com.rhomobile.rhodes.RhodesActivity [INFO] Extension Manifest process root <manifest> item : [INFO] and new item [/manifest/uses-permission[1]] [INFO] and new item [/manifest/uses-permission[1]] [INFO] and new item [/manifest/uses-permission[1]] [INFO] and new item [/manifest/uses-permission] [INFO] delete original manifest [INFO] Manifest updated by extension is saved! [INFO] set_app_name [INFO] EXT: add additional files to project before build [INFO] add resources from extension [/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/fcm-push/adds/res] to [/Users/username/Documents/MyApps/MyApp/bin/tmp] [INFO] add resources from extension [/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/coreapi/adds/res] to [/Users/username/Documents/MyApps/MyApp/bin/tmp] [INFO] add resources from extension [/Users/username/Documents/MyApps/MyApp/bin/target/android/debug/extensions/mediacapture/adds/res] to [/Users/username/Documents/MyApps/MyApp/bin/tmp] [INFO] set_app_name_post [INFO] add resources from application'sresource folder [/Users/username/Documents/MyApps/MyApp/resources/android/res] to [/Users/username/Documents/MyApps/MyApp/bin/tmp] rake aborted! TypeError: no implicit conversion of nil into String /Users/username/GitHub/rhodes/platform/android/build/android.rake:2266:in `join' /Users/username/GitHub/rhodes/platform/android/build/android.rake:2266:in `block (4 levels) in <top (required)>' /Users/username/GitHub/rhodes/platform/android/build/android.rake:2250:in `each' /Users/username/GitHub/rhodes/platform/android/build/android.rake:2250:in `block (3 levels) in <top (required)>' /Users/username/GitHub/rhodes/Rakefile:133:in `execute' /Users/username/GitHub/rhodes/Rakefile:4622:in `invoke' /Users/username/.rvm/gems/ruby-2.7.8/bin/ruby_executable_hooks:22:in `eval' /Users/username/.rvm/gems/ruby-2.7.8/bin/ruby_executable_hooks:22:in `<main>' Tasks: TOP => run:android => run:android:emulator => run:android:emulator:build => device:android:debug => package:android => build:android:all => build:android:rhodes => build:android:resources (See full trace by running task with --trace)
|
|
|
Post by Dmitriy Zhigulskiy on Nov 8, 2023 0:27:14 GMT
|
|
|
Post by fnllc on Nov 8, 2023 15:42:14 GMT
Thank you. This worked.
|
|