Hello,
I have a problem. When I compile with realase mode all is ok, but when I compile using Debug mode I obtain the next error. I am using v. 3.82:
Parsing code. 0.00
Compiling code. 0.05
Compiling layouts code. 0.00
Generating R file. 0.03
Compiling generated Java code. Error
javac 1.7.0_65
src\b4a\example\main.java:311: error: method PushSubsStack in class Debug cannot be applied to given types;
Debug.PushSubsStack("Activity_Create (main) ","main",0,mostCurrent.activityBA,mostCurrent,27);
^
required: String,String,int,BA,Object
found: String,String,int,BA,main,int
reason: actual and formal argument lists differ in length
1 error
This is the code of my App (It is a probe):
#Region Project Attributes
#ApplicationLabel: B4A Example
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: False
#End Region
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: True
#End Region
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.
End Sub
Sub Activity_Create(FirstTime AsBoolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
Msgbox("hello","hello")
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed AsBoolean)
End Sub
__________________________________________________
I already uninstall b4a and the SDK manager twice, but It is not the solution. Please, I need your help. My B4A always Works fine.
I have a problem. When I compile with realase mode all is ok, but when I compile using Debug mode I obtain the next error. I am using v. 3.82:
Parsing code. 0.00
Compiling code. 0.05
Compiling layouts code. 0.00
Generating R file. 0.03
Compiling generated Java code. Error
javac 1.7.0_65
src\b4a\example\main.java:311: error: method PushSubsStack in class Debug cannot be applied to given types;
Debug.PushSubsStack("Activity_Create (main) ","main",0,mostCurrent.activityBA,mostCurrent,27);
^
required: String,String,int,BA,Object
found: String,String,int,BA,main,int
reason: actual and formal argument lists differ in length
1 error
This is the code of my App (It is a probe):
#Region Project Attributes
#ApplicationLabel: B4A Example
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: False
#End Region
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: True
#End Region
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.
End Sub
Sub Activity_Create(FirstTime AsBoolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
Msgbox("hello","hello")
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed AsBoolean)
End Sub
__________________________________________________
I already uninstall b4a and the SDK manager twice, but It is not the solution. Please, I need your help. My B4A always Works fine.