diff --git a/android/build.gradle b/android/build.gradle index 0a599ce4a..1eb430977 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -4,7 +4,7 @@ version '1.0-SNAPSHOT' buildscript { repositories { google() - jcenter() + mavenCentral() } dependencies { @@ -19,7 +19,6 @@ rootProject.allprojects { } repositories { google() - jcenter() mavenCentral() maven { url 'https://api.mapbox.com/downloads/v2/releases/maven' diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml index 32dd13477..865c8648e 100644 --- a/example/android/app/src/main/AndroidManifest.xml +++ b/example/android/app/src/main/AndroidManifest.xml @@ -5,7 +5,7 @@ diff --git a/example/android/app/src/main/java/com/mapbox/mapboxglexample/EmbeddingV1Activity.java b/example/android/app/src/main/java/com/mapbox/mapboxglexample/EmbeddingV1Activity.java deleted file mode 100644 index 790679e49..000000000 --- a/example/android/app/src/main/java/com/mapbox/mapboxglexample/EmbeddingV1Activity.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.mapbox.mapboxglexample; - -import android.os.Bundle; - -import com.mapbox.mapboxgl.MapboxMapsPlugin; - -import io.flutter.app.FlutterActivity; - -public class EmbeddingV1Activity extends FlutterActivity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - MapboxMapsPlugin.registerWith(registrarFor("com.mapbox.mapboxgl.MapboxMapsPlugin")); - } -} \ No newline at end of file diff --git a/example/android/build.gradle b/example/android/build.gradle index c0a595846..8ae8ba30a 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -1,7 +1,7 @@ buildscript { repositories { google() - jcenter() + mavenCentral() } dependencies { @@ -12,7 +12,7 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() } }