I followed the installation guide but the build fails when I run react-native run-android, and the command line gives me this error:
You need to add import com.airbnb.android.react.maps.MapsPackage;
to your MainApplication.java file. It isn't mentioned in the documentation so the manual installation of the module will fail if this import line isn't present.
Thank you! it solved the cannot find symbol problem.
Documentation updated in #439.
Most helpful comment
You need to add
import com.airbnb.android.react.maps.MapsPackage;
to your MainApplication.java file. It isn't mentioned in the documentation so the manual installation of the module will fail if this import line isn't present.