Hi There,
I'm trying to *backport* the *updater_sample* system app to a platform
build running *Android 9 / API 28*. This updater_sample app uses advanced
Java features such as lambda functions which are not supported in the JDK
of the platform build. So the platform build is failing when it attempts to
compile the backported app.
If I was compiling the app via Android Studio I would add something like
the following to the gradle config file:
android {
compileOptions {
// change compatibility to Java 8 to get Java 8 IDE support
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
But I'm not sure where to add this in the platform build.
Is there a way to configure the build of this system app in the platform
build (perhaps via its Android.bp file) to use the JDK 1.8?
Thank you,
Donal
--
The content of this e-mail, including any attachments it may contain, is
intended only for the recipient(s) named above. It may contain information
that is confidential, subject to copyright, or otherwise legally protected
against disclosure. If you have received this e-mail in error please notify
the author and delete it from your system.
--
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
---
You received this message because you are subscribed to the Google Groups
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-porting/733a07fd-dc5e-4b0f-bea9-6abd0f8d28b2%40googlegroups.com.