Beta [Resolved] B4A v5 Beta 1 Failed to compile

fixit30

Active Member
Licensed User
Just installed the beta and am unable to compile a previously good app in v4.3?





 

lemonisdead

Well-Known Member
Licensed User
Idem

B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="21"/>
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo")
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
AddApplicationText(<activity android:name="anywheresoftware.b4a.objects.preferenceactivity"/>)
AddPermission(android.permission.CALL_PHONE)
AddPermission(android.permission.MODIFY_AUDIO_SETTINGS)
AddPermission(com.android.vending.CHECK_LICENSE)
AddPermission(android.permission.ACCESS_COARSE_LOCATION)
AddPermission(android.permission.INTERNET)
AddPermission(android.permission.ACCESS_FINE_LOCATION)
AddPermission(android.permission.ACCESS_NETWORK_STATE)
AddPermission(android.permission.CHANGE_NETWORK_STATE)
AddPermission(android.permission.ACCESS_COARSE_UPDATES)
AddPermission(android.permission.READ_PHONE_STATE)
AddPermission(android.permission.BLUETOOTH)
Addpermission(android.permission.GET_ACCOUNTS)
AddPermission(android.permission.WAKE_LOCK)
' addpermission(android.permission-group.MICROPHONE)
AddReceiverText(bluetooth, <intent-filter>
<action android:name="android.bluetooth.device.action.ACL_CONNECTED"/>
</intent-filter>)
AddReceiverText(bluetooth, <intent-filter>
<action android:name="android.bluetooth.device.action.ACL_DISCONNECTED"/>
</intent-filter>)
AddReceiverText(sc1, <intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>)
AddApplicationText(<receiver android:name="anywheresoftware.b4a.objects.AdminManager$AdminReceiver"
android:permission="android.permission.BIND_DEVICE_ADMIN">
<meta-data android:name="android.app.device_admin"
android:resource="@xml/device_admin" />
<intent-filter>
<action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
</intent-filter>
</receiver>)
SetActivityAttribute(Main, "android:excludeFromRecents", "true")
 

Massimiliano

Member
Licensed User
Me too inside manifest at:
SetActivityAttribute("myActivity", android:hardwareAccelerated, "false")
Now with beta2 it's working fine!!! :)

Only one answer Erel (or request): since for different projects I'll use different private Keys, it seems that B4A uses always the latest one loaded
Why to not add private Keys per project? Probably I'm thinking wrong .....
 
Top