Skip to content

Issue with v1.1.1 when building on android #56

@Devenom1

Description

@Devenom1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions