Post by lothcor on Nov 1, 2021 3:37:32 GMT
Getting 'error interpreting erb' on all my projects that used to build on my machine.
I have cleared out the bin folder and rebuilt multiple times, also switching to older versions of RhoMobile
I am now on Windows 11, not sure if this is the cause of my issue or not at this point.
Rhodes 7.4.0
I am now on Windows 11, not sure if this is the cause of my issue or not at this point.
Rhodes 7.4.0
Ruby 2.5.8
Android Studio Arctic Fox
Android Studio Arctic Fox
Android NDK 20
Android SDK 31
The only thing sticking out in the log to me is
unexpected ucrtbase.dll
Rhosimulator tries to open and closes straight away, same error in log.
Seems to refer to C++ redist which I have re-installed and rebooted the system for.
Any help would be appreciated.
App: hicocomau-my.sharepoint.com/:u:/g/personal/dgorst_hico_com_au/EZvu2Sou_6FKndoNYT2f-FIBe_e1WYKG1mDsoAC5pReQ-g?e=1h4Hvz
Android SDK 31
The only thing sticking out in the log to me is
unexpected ucrtbase.dll
Rhosimulator tries to open and closes straight away, same error in log.
Seems to refer to C++ redist which I have re-installed and rebooted the system for.
Any help would be appreciated.
App: hicocomau-my.sharepoint.com/:u:/g/personal/dgorst_hico_com_au/EZvu2Sou_6FKndoNYT2f-FIBe_e1WYKG1mDsoAC5pReQ-g?e=1h4Hvz
PS D:\Projects\gTreatment> rake device:android:debug
[INFO] Using Rhodes configuration from path: rhobuild.yml
[INFO] Starting rhodes build system using ruby version: 2.5.8
[INFO] Installed versions:
[INFO] ["10", "12"]
[INFO] Found api level 29
[INFO] Set up build API Level: 29, version: 7.0
[INFO] Using Android SDK build-tools: 31.0.0
[INFO] $vendor = rhomobile
[INFO] $app_package_name = com.rhomobile.gtreatment
[INFO] Adding maven dependency for .rho: androidx.annotation:annotation:1.2.0
[INFO] Adding maven dependency for .rho: androidx.lifecycle:lifecycle-common:2.2.0
[INFO] Adding maven dependency for .rho: androidx.lifecycle:lifecycle-runtime:2.2.0
[INFO] Adding maven dependency for .rho: org.conscrypt:conscrypt-android:2.5.1
[INFO] Adding maven dependency for .rho: androidx.core:core:1.3.2
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
"{29=>{:id=>1, :name=>\"android-29\"}, 31=>{:id=>2, :name=>\"android-31\"}}"
[INFO] D:/Projects/gTreatment/bin/tmp/assets
[INFO] D:/Projects/gTreatment/bin/tmp/assets/lib
[INFO] D:/rhodes
[INFO] Init extensions
[INFO] ext - coreapi
[INFO] iter=D:/rhodes/lib/commonAPI/coreapi
[INFO] extyml D:/rhodes/lib/commonAPI/coreapi/ext.yml
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/Application.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/Application.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/Database.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/Database.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/NewORM.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/NewORM.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/NewORMModel.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/NewORMModel.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/system.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/system.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/Network.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/Network.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/sqlite3.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/sqlite3.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/process.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/process.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/webview.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/webview.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/Log.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/Log.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/NativeTabbar.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/NativeTabbar.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/NativeToolbar.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/NativeToolbar.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/Navbar.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/Navbar.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/File.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/File.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/push.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/push.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/Notification.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/Notification.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/NativeMenubar.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/NativeMenubar.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/Intent.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/Intent.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/Timer.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/Timer.xml"
[INFO] start running rhogen with api key for + [D:/rhodes/lib/commonAPI/coreapi/ext/Config.xml]
[INFO] $$$ RUN COMMAND = "D:/rhodes/bin/rhogen" api "D:/rhodes/lib/commonAPI/coreapi/ext/Config.xml"
[INFO] add D:/rhodes/lib/commonAPI/coreapi/public/api/Rho.ORM.js to startJSModules_opt..
[INFO] add D:/rhodes/lib/commonAPI/coreapi/public/api/Rho.ORMHelper.js to startJSModules_opt..
[INFO] add D:/rhodes/lib/commonAPI/coreapi/public/api/Rho.Rhosim.Fix.js to startJSModules_opt..
[INFO] add D:/rhodes/lib/commonAPI/coreapi/public/api/Rho.Ruby.RunTime.js to startJSModules_opt..
[INFO] add_extension - D:/rhodes/lib/commonAPI/coreapi - D:/Projects/gTreatment/bin/tmp/assets/lib
[INFO] chdir path=D:/rhodes/lib/commonAPI/coreapi
[INFO] ext - decryptstub
[INFO] iter=D:/rhodes/lib/extensions/decryptstub
[INFO] extyml D:/rhodes/lib/extensions/decryptstub/ext.yml
[INFO] add_extension - D:/rhodes/lib/extensions/decryptstub - D:/Projects/gTreatment/bin/tmp/assets/lib
[INFO] chdir path=D:/rhodes/lib/extensions/decryptstub
[INFO] ext - json
[INFO] iter=D:/rhodes/lib/extensions/json
[INFO] extyml D:/rhodes/lib/extensions/json/ext.yml
[INFO] add_extension - D:/rhodes/lib/extensions/json - D:/Projects/gTreatment/bin/tmp/assets/lib
[INFO] chdir path=D:/rhodes/lib/extensions/json
[INFO] exts D:/rhodes/platform/shared/ruby/ext/rho/extensions.c
[INFO] extnodejsmodulefiles=["D:/rhodes/lib/commonAPI/coreapi/public/api/rhonodejsapi.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Application.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Config.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Database.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Database.SQLite3.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Intent.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Log.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.NativeMenubar.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.NativeTabbar.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.NativeToolbar.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Navbar.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Network.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.NewORM.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.NewORMModel.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Notification.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Push.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.RhoFile.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.System.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.System.Process.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Timer.js", "D:/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.WebView.js"]
[INFO] Running default.rb
[INFO] res/build-tools/RhoRuby.exe -E UTF-8 -ID:/rhodes/lib/framework D:/Projects/gTreatment/bin/tmp/assets/default.rb
unexpected ucrtbase.dll
[INFO] Feb 15 2019
13:32:55
>>>>> RUNNING RUBY COMPILER
>>>>> WORK DIR
D:\rhodes
>>>>> ARGS:
res\build-tools\RhoRuby.exe
-E
UTF-8
-ID:/rhodes/lib/framework
D:/Projects/gTreatment/bin/tmp/assets/default.rb