-
Notifications
You must be signed in to change notification settings - Fork 79
Closed
Labels
Description
Orb version
version: 5.1.0
config.yml
version: 2.1
orbs:
rn: react-native-community/[email protected]
jobs:
checkout_code:
executor:
name: rn/linux_js
node_version: '12'
steps:
- checkout
- persist_to_workspace:
paths: .
root: .
analyse_js:
executor:
name: rn/linux_js
node_version: '12'
steps:
- attach_workspace:
at: .
- rn/yarn_install
- run:
command: yarn jest
name: Run Tests
workflows:
test:
jobs:
- checkout_code
- analyse_js:
requires:
- checkout_code
- rn/android_build:
name: build_android_release
project_path: 'android'
build_type: release
requires:
- analyse_js
- rn/android_test:
detox_configuration: 'android.emu.release'
device_name: Pixel_2_API_29
platform_version: android-29
build_tools_version: '29.0.3'
yarn_cache: false
requires:
- build_android_release
# Build and test the iOS app in release mode
- rn/ios_build_and_test:
checkout: true
project_path: 'ios/awesomeapp.xcworkspace'
project_type: workspace
device: 'iPhone 11'
pod_install_directory: ios
build_configuration: 'Release'
scheme: 'awesomeapp'
detox_configuration: 'ios.sim.release'
yarn_cache: false
xcodebuild_cache: false
requires:
- analyse_js
What happened
Build fails at step "Install Android Emulator".
Error transcript
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156)
at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75)
at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81)
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73)
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 5 moreExpected behavior
The emulator is installed, the app installed, and the e2e tests running.
