tmapview - app crash
Delphi Berlin 10.1.2
I have android application with tmapview and sqlite DB. But if i use tmapview component on form then application crash after start.(oncreateform).
I have google maps api ID ,Access network state permission and enabled:map service on project options. But app still crashed on start.
If i start app without form(including tmapview) is it OK.
Where is problem ?
yes , if i test new android application with ttabcontrol and tmapview ,all is ok.
But if i use tmapview (with the same project configuration - permissions + api key ) in my old application then application crashes on startup without any message :-(
I have a couple of questions:
- Did you set the correct permissions? Please check http://docwiki.embarcadero.com/RADStudio/Berlin/en/Mobile_Tutorial:_Using_a_Map_Component_to_Work_with_Maps_(iOS_and_Android)
- Have you tried the maps samples included with RAD Studio? http://docwiki.embarcadero.com/CodeExamples/Berlin/en/FMX.Map_Sample