Android Question Parsing the package - error

daniedb

Active Member
Licensed User
Hi Guys

Working through Erel's Tutorial on google Maps V2

When compile and upload to Phone (B4A Bridge, Wireless) I get a error on the Phone:
Parse Error
There is a Problem parsing the Package

Tried on 2 Different phones with the same error.
Even Copied the APK and try to inatall Manually on the phone with the same error

Ideas?

Thanks
Danie
 

daniedb

Active Member
Licensed User
Yes I did. All other packages install fine.
I start with Erel's Google Map Tutorial V2, and when I try that install it give me the error
 

Andrew (Digitwell)

Active Member
Licensed User
Hi.
I know this is a bit of an old thread, but I ran into exactly this same Parse error problem when I tried the map example.

I found a solution here: https://stackoverflow.com/questions/14832911/android-map-v2-why-maps-receive-permission

I commented out the reference in the manifest to MAP_RECIEVE and it worked.

B4X:
'AddManifestText( <permission
'  android:name="$PACKAGE$.permission.MAPS_RECEIVE"
'  android:protectionLevel="signature"/>
'  <uses-feature android:glEsVersion="0x00020000" android:required="true"/>)

AddApplicationText(<meta-data
  android:name="com.google.android.maps.v2.API_KEY"
  android:value="AIzaSyBZ6F5XXXXXXXXXXXXXXXXXXXX"/>
   <meta-data android:name="com.google.android.gms.version"
   android:value="@integer/google_play_services_version" />)
I hope this helps some other newbies.

Andrew
 

ibs06t

Member
Licensed User
hi

im using lenovo vibe k5 5.1.1 phone
and complie the code and i get an error (There is a Problem parsing the Package)
but android version 6.0 working correctly.

how to solve the problem....?
 
Top