Код: Выделить всё
m framework -j32
m framework-minus-apex -j32
Код: Выделить всё
~/path_to/aosp/out/target/product/emulator_car64_x86_64/obj/JAVA_LIBRARIES/framework-sdkextensions.com.android.sdkext_intermediates.
Код: Выделить всё
dependencies {
implementation(files("libs/javalib.jar"))
...
}
Код: Выделить всё
source build/evnsetup.sh
lunch sdk_car_x86_64-userdebug
emulator
Код: Выделить всё
FATAL EXCEPTION: pool-2-thread-1
Process: com.example.myapp, PID: 2889
java.lang.IncompatibleClassChangeError: Class 'android.app.PendingIntent$$ExternalSyntheticLambda0' does not implement interface 'java.util.concurrent.Executor' in call to 'void java.util.concurrent.Executor.execute(java.lang.Runnable)' (declaration of 'androidx.profileinstaller.DeviceProfileWriter' appears in /data/app/~~ZGDppP5xMSrCMkinJtMDMQ==/com.example.myapp-asn8RdWTnUGeZXOezq_-iA==/base.apk!classes14.dex)
at androidx.profileinstaller.DeviceProfileWriter.result(DeviceProfileWriter.java:87)
at androidx.profileinstaller.DeviceProfileWriter.deviceAllowsProfileInstallerAotWrites(DeviceProfileWriter.java:140)
at androidx.profileinstaller.ProfileInstaller.transcodeAndWrite(ProfileInstaller.java:440)
at androidx.profileinstaller.ProfileInstaller.writeProfile(ProfileInstaller.java:575)
at androidx.profileinstaller.ProfileInstaller.writeProfile(ProfileInstaller.java:515)
at androidx.profileinstaller.ProfileInstaller.writeProfile(ProfileInstaller.java:479)
at androidx.profileinstaller.ProfileInstallerInitializer.lambda$writeInBackground$2(ProfileInstallerInitializer.java:145)
at androidx.profileinstaller.ProfileInstallerInitializer$$ExternalSyntheticLambda2.run(D8$$SyntheticClass:0)
Код: Выделить всё
FATAL EXCEPTION: pool-2-thread-1
Process: com.example.dummyproject, PID: 3761
java.lang.NoSuchMethodError: No direct method ()V in class Landroid/app/PendingIntent$$ExternalSyntheticLambda0; or its super classes (declaration of 'android.app.PendingIntent$$ExternalSyntheticLambda0' appears in /system/framework/framework.jar)
at androidx.profileinstaller.ProfileInstaller.writeProfile(ProfileInstaller.java:479)
at androidx.profileinstaller.ProfileInstallerInitializer.lambda$writeInBackground$2(ProfileInstallerInitializer.java:145)
at androidx.profileinstaller.ProfileInstallerInitializer$$ExternalSyntheticLambda2.run(D8$$SyntheticClass:0)
Подробнее здесь: https://stackoverflow.com/questions/787 ... -from-aosp