Here is the error when I try to run an android build.
e: file:///C:/Users/braga/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_sharing_intent-1.1.1/android/src/main/kotlin/com/techind/flutter_sharing_intent/FlutterSharingIntentPlugin.kt:136:30 Unresolved reference: MyFileDirectory
e: file:///C:/Users/braga/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_sharing_intent-1.1.1/android/src/main/kotlin/com/techind/flutter_sharing_intent/FlutterSharingIntentPlugin.kt:144:16 Overload resolution ambiguity:
public open fun put(p0: String!, p1: Any!): JSONObject! defined in org.json.JSONObject
public open fun put(p0: String!, p1: Boolean): JSONObject! defined in org.json.JSONObject
public open fun put(p0: String!, p1: Double): JSONObject! defined in org.json.JSONObject
public open fun put(p0: String!, p1: Int): JSONObject! defined in org.json.JSONObject
public open fun put(p0: String!, p1: Long): JSONObject! defined in org.json.JSONObject
e: file:///C:/Users/braga/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_sharing_intent-1.1.1/android/src/main/kotlin/com/techind/flutter_sharing_intent/FlutterSharingIntentPlugin.kt:154:22 Unresolved reference: MyFileDirectory
e: file:///C:/Users/braga/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_sharing_intent-1.1.1/android/src/main/kotlin/com/techind/flutter_sharing_intent/FlutterSharingIntentPlugin.kt:160:14 Overload resolution ambiguity:
public open fun put(p0: String!, p1: Any!): JSONObject! defined in org.json.JSONObject
public open fun put(p0: String!, p1: Boolean): JSONObject! defined in org.json.JSONObject
public open fun put(p0: String!, p1: Double): JSONObject! defined in org.json.JSONObject
public open fun put(p0: String!, p1: Int): JSONObject! defined in org.json.JSONObject
public open fun put(p0: String!, p1: Long): JSONObject! defined in org.json.JSONObject
FAILURE: Build failed with an exception.
Here is the error when I try to run an android build.