Update Android.bp

Test: TH
Bug: 330586494
Change-Id: I29be214476819056a253d391e33791f3e0935040
Merged-In: I29be214476819056a253d391e33791f3e0935040
(cherry picked from commit 5b6a599727845581dc6935ec2f83c0f01b63543e)
diff --git a/Android.bp b/Android.bp
index 67ac91c..d6c6f8d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -6,6 +6,10 @@
     common_srcs: ["core/commonMain/src/kotlinx/serialization/**/*.kt"],
     kotlincflags: [
         "-Xmulti-platform",
+        "-Xexpect-actual-classes",
+        "-opt-in=kotlin.ExperimentalStdlibApi",
+        "-opt-in=kotlin.ExperimentalMultiplatform",
+        "-opt-in=kotlinx.serialization.internal.CoreFriendModuleApi",
         "-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
         "-opt-in=kotlinx.serialization.InternalSerializationApi",
     ],
@@ -23,6 +27,11 @@
     common_srcs: ["formats/json/commonMain/src/kotlinx/serialization/**/*.kt"],
     kotlincflags: [
         "-Xmulti-platform",
+        "-Xexpect-actual-classes",
+        "-opt-in=kotlin.ExperimentalStdlibApi",
+        "-opt-in=kotlin.ExperimentalMultiplatform",
+        "-opt-in=kotlinx.serialization.internal.CoreFriendModuleApi",
+        "-opt-in=kotlinx.serialization.json.internal.JsonFriendModuleApi",
         "-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
         "-opt-in=kotlinx.serialization.InternalSerializationApi",
     ],