Android Question Generating R file error

Izmirov.Yaminovich

Member
Licensed User
Longtime User
Generating R file. Error
Number must be either non-negative and less than or equal to Int32.MaxValue or -1.
Parameter name: millisecondsTimeout


those are the error that I got. what is happening? dll problem?
 

DonManfred

Expert
Licensed User
Longtime User
upload your project. without seeing your code it is hard to answer
 
Upvote 0

Izmirov.Yaminovich

Member
Licensed User
Longtime User
B4X:
Sub Process_Globals
    'These global variables will be declared once when the application starts.
    'These variables can be accessed from all modules.

End Sub

Sub Globals
    'These global variables will be redeclared each time the activity is created.
    'These variables can only be accessed from this module.
    Private gmap As GoogleMap
    Private MapFragment1 As MapFragment
End Sub

Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
    'Activity.LoadLayout("Layout1")
    Activity.LoadLayout("1")
    If MapFragment1.IsGooglePlayServicesAvailable = False Then
     ToastMessageShow("Nope", True)
    End If
End Sub

Sub MapFragment1_Ready
   gmap = MapFragment1.GetMap
   Dim m1 As Marker = gmap.AddMarker(10, 30, "test")
   m1.Snippet = "Trololol"
End Sub

Sub Activity_Resume

End Sub

Sub Activity_Pause (UserClosed As Boolean)

End Sub

Basically I was just trying out the map options. Weird that it is not working.
 
Upvote 0
Top