Dim rp As RuntimePermissions
For Each permission As String In Array(rp.PERMISSION_GET_ACCOUNTS,rp.PERMISSION_READ_CONTACTS)
rp.CheckAndRequest(permission)
Wait For B4XPage_PermissionResult (permission As String, Result As Boolean)
If Result = False Then
Log(permission & " denied")
Return
End If
Next
In B4XPages, above code works fine if we don't grant it, Log(permission & " denied") fired.
If we grant it and call it again, code crash & through error:
You don't need it. To be safe delete your SDK, uninstall B4A, and ensure that there are no remaining files left in the internal libraries folder and then follow the instructions exactly. It should just work and you don't need any extra files.
B4A includes all the features needed to quickly develop any type of Android app. B4A is used by tens of thousands of developers from all over the world, including companies such as NASA, HP, IBM and others.
I don't like that, because I have a lot of old projects, so I don't want to enter in a collateral war here & there such us missed, maven, artifact, config, ...etc
I don't like that, because I have a lot of old projects, so I don't want to enter in a collateral war here & there such us missed, maven, artifact, config, ...etc
Unluckily you would risk it anyway.
It looks like your installation has some problems.
Even if we supply you with the file you requested now then it could happen with another and another.
Your projects should be external to the B4A installation folder, as it should be the Additional Libraries.
Take the time to save all the necessary files and then start from a clean B4A install and SDK.
You won't regret it.
logic answer: may be related to B4A update installer who missed that files or can't update them, or they was used by another process while b4a update process!