[ 0% 69/27068] Ensuring Jack server is installed and started
Jack server already installed in "/home/brenzi/.jack-server"
Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Xmx6g -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/brenzi/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
[ 0% 149/27068] target Package: Camera2 (out/target/product/lilac/obj/APPS/Camera2_intermediates/package.apk)
warning: no entries written for bool/only_use_portrait (0x7f0b0001)
warning: no entries written for bool/picker_is_dialog (0x7f0b0002)
warning: no entries written for dimen/category_panel_height (0x7f0d00ac)
warning: no entries written for dimen/category_panel_icon_size (0x7f0d00ad)
warning: no entries written for dimen/category_panel_text_size (0x7f0d00ae)
warning: no entries written for dimen/category_panel_margin (0x7f0d00af)
warning: no entries written for style/DialogPickerTheme (0x7f0f0028)
nothing matches overlay file ic_refocus_disabled.png, for flavor xxhdpi-v4
nothing matches overlay file ic_refocus_normal.png, for flavor xxhdpi-v4
[ 0% 214/27068] Building with Jack: out/target/common/obj/APPS/CompanionDeviceManager_intermediates/with-local/classes.dex
FAILED: out/target/common/obj/APPS/CompanionDeviceManager_intermediates/with-local/classes.dex
/bin/bash -c "(rm -f out/target/common/obj/APPS/CompanionDeviceManager_intermediates/with-local/classes.dex ) && (rm -f out/target/common/obj/APPS/CompanionDeviceManager_intermediates/classes.jack ) && (rm -rf out/target/common/obj/APPS/CompanionDeviceManager_intermediates/jack-rsc ) && (mkdir -p out/target/common/obj/APPS/CompanionDeviceManager_intermediates/with-local/ ) && (mkdir -p out/target/common/obj/APPS/CompanionDeviceManager_intermediates/ ) && (mkdir -p out/target/common/obj/APPS/CompanionDeviceManager_intermediates/jack-rsc ) && (rm -f out/target/common/obj/APPS/CompanionDeviceManager_intermediates/jack-rsc/java-source-list ) && (touch out/target/common/obj/APPS/CompanionDeviceManager_intermediates/jack-rsc/java-source-list ) && (echo -n 'frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java ' >> out/target/common/obj/APPS/CompanionDeviceManager_intermediates/jack-rsc/java-source-list ) && (if [ -d \"out/target/common/obj/APPS/CompanionDeviceManager_intermediates/src\" ]; then find out/target/common/obj/APPS/CompanionDeviceManager_intermediates/src -name '*.java' >> out/target/common/obj/APPS/CompanionDeviceManager_intermediates/jack-rsc/java-source-list; fi ) && (tr ' ' '\\n' < out/target/common/obj/APPS/CompanionDeviceManager_intermediates/jack-rsc/java-source-list | build/tools/normalize_path.py | sort -u > out/target/common/obj/APPS/CompanionDeviceManager_intermediates/jack-rsc/java-source-list-uniq ) && (echo -basedirectory /home/brenzi/tmp/sony-android8.0 > out/target/common/obj/APPS/CompanionDeviceManager_intermediates/with-local/classes.dex.flags; echo -forceprocessing -include build/core/proguard.flags -dontobfuscate -dontoptimize -printmapping out/target/common/obj/APPS/CompanionDeviceManager_intermediates/jack_dictionary -include out/target/common/obj/APPS/CompanionDeviceManager_intermediates/proguard_options -include out/target/common/obj/APPS/CompanionDeviceManager_intermediates/proguard_options >> out/target/common/obj/APPS/CompanionDeviceManager_intermediates/with-local/classes.dex.flags ) && (if [ -s out/target/common/obj/APPS/CompanionDeviceManager_intermediates/jack-rsc/java-source-list-uniq ] ; then export tmpEcjArg=\"@out/target/common/obj/APPS/CompanionDeviceManager_intermediates/jack-rsc/java-source-list-uniq\"; else export tmpEcjArg=\"\"; fi; JACK_VERSION=4.31.CANDIDATE out/host/linux-x86/bin/jack @build/core/jack-default.args -g -D jack.java.source.version=1.8 --classpath out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.jack -D jack.android.min-api-level=o-b1 -D jack.import.resource.policy=keep-first -D jack.import.type.policy=keep-first --output-jack out/target/common/obj/APPS/CompanionDeviceManager_intermediates/classes.jack --output-dex out/target/common/obj/APPS/CompanionDeviceManager_intermediates/jack-rsc --config-proguard out/target/common/obj/APPS/CompanionDeviceManager_intermediates/with-local/classes.dex.flags \$tmpEcjArg || ( rm -rf out/target/common/obj/APPS/CompanionDeviceManager_intermediates/classes.jack; exit 41 ) ) && (mv out/target/common/obj/APPS/CompanionDeviceManager_intermediates/jack-rsc/classes*.dex out/target/common/obj/APPS/CompanionDeviceManager_intermediates/with-local/ ) && (rm -f out/target/common/obj/APPS/CompanionDeviceManager_intermediates/jack-rsc/java-source-list ) && (mv out/target/common/obj/APPS/CompanionDeviceManager_intermediates/jack-rsc/java-source-list-uniq out/target/common/obj/APPS/CompanionDeviceManager_intermediates/jack-rsc.java-source-list )"
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:19.15: The import android.companion cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:20.15: The import android.companion cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:22.15: The import com.android.internal cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:23.15: The import com.android.internal cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:24.15: The import com.android.internal cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:26.8: The import android.annotation cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:27.8: The import android.annotation cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:28.8: The import android.app cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:29.8: The import android.app cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:30.8: The import android.bluetooth cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:31.8: The import android.bluetooth cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:32.8: The import android.bluetooth cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:33.8: The import android.bluetooth cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:34.8: The import android.bluetooth cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:35.8: The import android.bluetooth cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:36.8: The import android.bluetooth cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:37.8: The import android.bluetooth cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:38.8: The import android.companion cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:39.8: The import android.companion cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:40.8: The import android.companion cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:41.8: The import android.companion cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:42.8: The import android.companion cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:43.8: The import android.companion cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:44.8: The import android.companion cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:45.8: The import android.companion cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:46.8: The import android.content cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:47.8: The import android.content cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:48.8: The import android.content cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:49.8: The import android.content cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:50.8: The import android.graphics cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:51.8: The import android.graphics cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:52.8: The import android.net cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:53.8: The import android.os cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:54.8: The import android.os cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:55.8: The import android.os cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:56.8: The import android.text cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:57.8: The import android.util.Log cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:58.8: The import android.view cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:59.8: The import android.view cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:60.8: The import android.widget cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:61.8: The import android.widget cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:63.8: The import com.android.internal cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:64.8: The import com.android.internal cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:65.8: The import com.android.internal cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:71.45: Service cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:78.13: BluetoothAdapter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:79.13: WifiManager cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:80.6: Nullable cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:80.23: BluetoothLeScanner cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:81.13: ScanSettings cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:81.53: ScanSettings cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:83.18: DeviceFilter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:84.18: BluetoothLeDeviceFilter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:85.18: BluetoothDeviceFilter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:86.18: WifiDeviceFilter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:87.18: ScanFilter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:89.5: AssociationRequest cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:93.5: IFindDeviceCallback cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:95.5: ICompanionDeviceDiscoveryServiceCallback cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:97.19: ICompanionDeviceDiscoveryService cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:98.17: ICompanionDeviceDiscoveryService cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:100.36: AssociationRequest cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:102.17: IFindDeviceCallback cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:103.17: ICompanionDeviceDiscoveryServiceCallback cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:105.17: Log cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:110.13: IFindDeviceCallback cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:111.13: ICompanionDeviceDiscoveryServiceCallback cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:116.13: ScanCallback cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:121.12: IBinder cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:121.27: Intent cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:122.20: Log cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:123.16: ICompanionDeviceDiscoveryService cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:127.17: The method onCreate() of type DeviceDiscoveryService must override or implement a supertype method
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:128.9: Service cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:130.20: Log cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:132.9: BluetoothAdapter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:132.29: The method getSystemService(Class<BluetoothManager>) is undefined for the type DeviceDiscoveryService
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:132.46: BluetoothManager cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:133.9: BluetoothLeScanner cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:133.23: BluetoothAdapter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:134.9: WifiManager cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:134.24: The method getSystemService(Class<WifiManager>) is undefined for the type DeviceDiscoveryService
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:134.41: WifiManager cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:142.33: AssociationRequest cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:143.29: AssociationRequest cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:144.13: AssociationRequest cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:146.13: DeviceFilter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:147.13: WifiDeviceFilter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:147.28: CollectionUtils cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:147.51: DeviceFilter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:147.61: WifiDeviceFilter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:148.13: BluetoothDeviceFilter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:148.33: CollectionUtils cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:148.56: DeviceFilter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:148.66: BluetoothDeviceFilter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:149.13: BluetoothLeDeviceFilter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:149.27: CollectionUtils cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:149.50: DeviceFilter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:149.60: BluetoothLeDeviceFilter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java:150.51: BluetoothLeDeviceFilter cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:19.15: The import android.companion cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:21.8: The import android.app cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:22.8: The import android.companion cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:23.8: The import android.content cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:24.8: The import android.content cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:25.8: The import android.content cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:26.8: The import android.database cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:27.8: The import android.os cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:28.8: The import android.text cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:29.8: The import android.util.Log cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:30.8: The import android.view cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:31.8: The import android.view cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:32.8: The import android.widget cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:33.8: The import android.widget cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:34.8: The import android.widget cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:37.8: The import com.android.internal cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:39.44: Activity cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:44.13: ListView cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:45.13: View cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:46.13: View cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:49.26: Bundle cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:52.20: Log cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:52.60: The method getIntent() is undefined for the type DeviceChooserActivity
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:55.13: Log cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:58.13: AssociationRequest cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:59.13: The method setContentView(int) is undefined for the type DeviceChooserActivity
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:61.22: Html cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:61.36: The method getString(int, CharSequence, String) is undefined for the type DeviceChooserActivity
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:67.13: The method setContentView(int) is undefined for the type DeviceChooserActivity
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:68.22: Html cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:68.36: The method getString(int, CharSequence) is undefined for the type DeviceChooserActivity
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:69.13: ListView cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:69.31: The method findViewById(int) is undefined for the type DeviceChooserActivity
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:71.13: ListView cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:72.21: The method registerDataSetObserver(new DataSetObserver(){}) is undefined for the type DeviceDiscoveryService.DevicesAdapter
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:72.49: DataSetObserver cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:74.29: The method onChanged() of type new DataSetObserver(){} must override or implement a supertype method
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:78.13: ListView cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:78.43: The method getProgressBar() from the type DeviceChooserActivity refers to the missing type ProgressBar
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:81.9: View cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:81.23: The method findViewById(int) is undefined for the type DeviceChooserActivity
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:82.9: View cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:85.9: View cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:85.25: The method findViewById(int) is undefined for the type DeviceChooserActivity
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:86.9: View cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:91.19: RESULT_CANCELED cannot be resolved to a variable
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:92.9: The method finish() is undefined for the type DeviceChooserActivity
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:96.20: The method onStop() of type DeviceChooserActivity must override or implement a supertype method
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:97.9: Activity cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:98.14: The method isFinishing() is undefined for the type DeviceChooserActivity
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:98.32: The method isChangingConfigurations() is undefined for the type DeviceChooserActivity
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:105.19: PackageManager cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:105.51: The method getPackageManager() is undefined for the type DeviceChooserActivity
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:106.37: Preconditions cannot be resolved
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:107.21: The method getCallingPackage() is undefined for the type DeviceChooserActivity
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:111.18: PackageManager cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:117.17: The method setTitle(CharSequence) of type DeviceChooserActivity must override or implement a supertype method
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:118.15: TextView cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:118.36: The method findViewById(int) is undefined for the type DeviceChooserActivity
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:119.40: The method getResources() is undefined for the type DeviceChooserActivity
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:125.13: ProgressBar cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:126.15: ProgressBar cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:126.45: ProgressBar cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:127.42: Gravity cannot be resolved to a variable
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:128.40: The method getResources() is undefined for the type DeviceChooserActivity
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:133.27: Resources cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:138.9: View cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:147.17: The method getCallingPackage() is undefined for the type DeviceChooserActivity
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:147.58: Parcelable cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:148.19: RESULT_OK cannot be resolved to a variable
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:149.21: Intent cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:149.39: CompanionDeviceManager cannot be resolved to a variable
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:149.76: Parcelable cannot be resolved to a type
ERROR: /home/brenzi/tmp/sony-android8.0/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceChooserActivity.java:150.9: The method finish() is undefined for the type DeviceChooserActivity
[ 0% 215/27068] AAPT2 compile out/target/product/lilac/obj/APPS/DeskClock_intermediates...g.flat <- packages/apps/DeskClock/res/drawable-nodpi/appwidget_digital_clock_preview.png
ninja: build stopped: subcommand failed.
00:45:49 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
#### make failed to build some targets (15:15 (mm:ss)) ####
build fails with the following errer:
build setup: