Android Question GoogleMaps tutorial v2 problems.

GiovanniPolese

Well-Known Member
Licensed User
Longtime User
I am trying to get a first step inside GoogleMaps tutorial. I think to have done all the steps indicated. I have google-play-services.jar in the c:\Program Files (x86)\B4A\Additional Libraries. Actually this file is only there, not in other folders of Android SDK.
Also, I have to comment out the line:

#AdditionalRes: $AndroidSDK$\extras\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms

because such folders don't exist, despite I downloaded last Android SDK.. (this is another problem..) as shown in the attached picture Maps.png. Having no idea about this problem, I commented the line. After this, I get :
B4A version: 6.31
Parsing code. (0.01s)
Compiling code. (0.15s)
Compiling layouts code. (0.02s)
Organizing libraries. (0.00s)
Generating R file. Error
AndroidManifest.xml:15: error: Error parsing XML: not well-formed (invalid token)
In the attached "manifest_copy.xml", i substituted my app key only.
Any idea?
Thanks in advance
 

Attachments

  • AndroidManifest _copy.xml
    2.4 KB · Views: 167
  • maps.png
    maps.png
    101.6 KB · Views: 175

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

GiovanniPolese

Well-Known Member
Licensed User
Longtime User
"Unluckily" MS Edge is the default and much probably I used it to copy the code. Of course not easy to imagine such things.. I will try with different browser. Thanks again.
 
Upvote 0

GiovanniPolese

Well-Known Member
Licensed User
Longtime User
Yes, for benefit of someone else who had Edge as editor, I confirm Erel's indication: it was the copy with MS Edge. As a matter of fact I copied the manifest to NotePad, erased everything, and copied again from NotePad to Manifest editor; the problem disappeared. Normally Notepad eliminated strange chars, in my experience. No comment...
 
Upvote 0
Top