What happens if you connect to the device with USB debug mode?
When I run in USB Debug, the compile and debug dialog says :
B4A version: 5.20
Parsing code. (0.00s)
Compiling code. (0.12s)
Compiling layouts code. (0.00s)
Generating R file. (1.02s)
Compiling generated Java code. (2.26s)
Convert byte code - optimized dex. (6.27s)
Packaging files. (1.46s)
Copying libraries resources (0.06s)
Signing package file (private key) (1.18s)
ZipAlign file. (0.18s)
Installing file to device. Error
pkg: /data/local/tmp/WheelerCranesMapUtility_DEBUG.apk
Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]
Logcat
LogCat connected to: 015d43635d2c2410
--------- beginning of system
--------- beginning of main
Installing file.
Installing file.
android.system.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
sending message to waiting queue (CallSubDelayed - UpdateStatus)
Connected to B4A-Bridge (Wifi)
sending message to waiting queue (CallSubDelayed - UpdateStatus)
Installing file.
Installing file.
android.system.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
sending message to waiting queue (CallSubDelayed - UpdateStatus)
Connected to B4A-Bridge (Wifi)
sending message to waiting queue (CallSubDelayed - UpdateStatus)
** Activity (main) Create, isFirst = false **
running waiting messages (4)
** Activity (main) Resume **
Installing file.
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
Installing file.
** Activity (main) Pause, UserClosed = false **
android.system.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
sending message to waiting queue (CallSubDelayed - UpdateStatus)
running waiting messages (1)
** Activity (main) Resume **
Connected to B4A-Bridge (Wifi)
Installing file.
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
Installing file.
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
Installing file.
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
android.system.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
** Service (service1) Destroy **
** Service (service1) Create **
** Service (service1) Start **
** Activity (main) Pause, UserClosed = false **
PackageAdded: package:googlemapsapi.wheelercranes.au.wheelercranesmaputility
Manifest Editor:
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="14"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo")
AddManifestText( <permission
android:name="$PACKAGE$.permission.MAPS_RECEIVE"
android

rotectionLevel="signature"/>
<uses-feature android:glEsVersion="0x00020000" android:required="true"/>)
AddApplicationText(<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="AIzaSyBhPHBaHenFlRjsE1tZuGZKlUCOGZs3-Ko"/>
<meta-data android:name="com.google.android.gms.version"
android:value="
@Integer/google_play_services_version"/>)
AddPermission(android.permission.ACCESS_NETWORK_STATE)
'End of default text.
Main Module
#Region Project Attributes
#ApplicationLabel: Utility
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: Landscape
#CanInstallToExternalStorage: False
#AdditionalRes: C:\correct_Path_ to_google-play-services_lib\res, com.google.android.gms
#End Region
Thanks for your quick response