Skip to content
This repository has been archived by the owner on Jun 25, 2019. It is now read-only.

Additional changes required for android #5

Closed
dragonfax opened this issue Nov 9, 2017 · 4 comments
Closed

Additional changes required for android #5

dragonfax opened this issue Nov 9, 2017 · 4 comments

Comments

@dragonfax
Copy link

In addition to installing NDK bundle, these are the other changes I had to make to my project for map_view to work on Android.

android/build.gradle needed

buildscript
  dependencies
    classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.2-4'

AndroidManifest.xml needed

<activity android:name="com.apptreesoftware.mapview.MapActivity" android:theme="@style/Theme.AppCompat.Light.DarkActionBar"/>

@dragonfax
Copy link
Author

Without these I get a 'no kotlin plugin' error during build, and a runtime error when I try to use the map_view api, about missing activity from the manifest.

@matthewtsmith
Copy link
Member

Thanks for investigating. I should be able to get to updating our README.md tonight. Also, feel free to make a PR for these changes if you're up for it.

@dragonfax
Copy link
Author

dragonfax commented Nov 9, 2017 via email

@matthewtsmith
Copy link
Member

I've updated the documentation to reflect these items.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants