Post by charlyr on Mar 31, 2021 3:28:24 GMT
I have installed RMS 7.3 in other computer. I am getting errors building the app in rhostudio.
The problem is related with barcode extension and EMDK with the extension building.
Configuration:
Windows 10
jdk1.8.0_281
RMS: v7.3
Android Studio 4.1.3
Android SDK 30
Android Build Tools 30.0.3
version: 6
targetSDK: 29
minSDK: 23
abis:
- x86
- aarch64
- arm
android_title: 0
targetSDK: 29
minSDK: 23
abis:
- x86
- aarch64
- arm
android_title: 0
[INFO] Using Rhodes configuration from path: rhobuild.yml
[INFO] Starting rhodes build system using ruby version: 2.3.3
[INFO] Installed versions:
[INFO] ["11"]
[INFO] Found api level 30
[INFO] Set up build API Level: 30, version: 6.0
[INFO] Using Android SDK build-tools: 30.0.3
-------
[WARN] No Android SDK add-on found: Google APIs; API level: 30
[INFO] Adding maven dependency for .rho: com.android.support:support-v4:25.2.0
[INFO] Adding maven dependency for .rho: org.conscrypt:conscrypt-android:2.5.1
[INFO] Starting rhodes build system using ruby version: 2.3.3
[INFO] Installed versions:
[INFO] ["11"]
[INFO] Found api level 30
[INFO] Set up build API Level: 30, version: 6.0
[INFO] Using Android SDK build-tools: 30.0.3
-------
[WARN] No Android SDK add-on found: Google APIs; API level: 30
[INFO] Adding maven dependency for .rho: com.android.support:support-v4:25.2.0
[INFO] Adding maven dependency for .rho: org.conscrypt:conscrypt-android:2.5.1
-------
[INFO] Compile extensions java code
[INFO] /bin/target/android/release/extensions/coreapi/coreapi.jar is uptodate: true
[INFO] Compiling java sources: ["AppData/Local/Temp/emdk3-managerSRC_build20210331-12424-tpzywi"]
[INFO]
[INFO] Compiling java sources: ["AppData/Local/Temp/fcm-pushSRC_build20210331-12424-3ki19a"]
[INFO]
[INFO] Compiling java sources: ["AppData/Local/Temp/barcodeSRC_build20210331-12424-1t8rykv"]
D:\RMS7.3\ruby\lib\ruby\gems\2.3.0\gems\rhodes-7.3\lib\commonAPI\barcode\ext\platform\android\src\com\rho\barcode\BarcodeSingleton.java:117: error: cannot access AbstractSafeParcelable
String resultText = barcodes.valueAt(0).toString();
^
class file for com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable not found
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
rake aborted!
Error compiling java code
Tasks: TOP => device:android:production => package:android => build:android:all => build:android:extensions_java
[INFO] /bin/target/android/release/extensions/coreapi/coreapi.jar is uptodate: true
[INFO] Compiling java sources: ["AppData/Local/Temp/emdk3-managerSRC_build20210331-12424-tpzywi"]
[INFO]
[INFO] Compiling java sources: ["AppData/Local/Temp/fcm-pushSRC_build20210331-12424-3ki19a"]
[INFO]
[INFO] Compiling java sources: ["AppData/Local/Temp/barcodeSRC_build20210331-12424-1t8rykv"]
D:\RMS7.3\ruby\lib\ruby\gems\2.3.0\gems\rhodes-7.3\lib\commonAPI\barcode\ext\platform\android\src\com\rho\barcode\BarcodeSingleton.java:117: error: cannot access AbstractSafeParcelable
String resultText = barcodes.valueAt(0).toString();
^
class file for com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable not found
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
rake aborted!
Error compiling java code
Tasks: TOP => device:android:production => package:android => build:android:all => build:android:extensions_java
Thanks in advance