Android Question b4a error about src\b4a\example\starter.java:85: 错误: 找不到符号

yonko

New Member
Dear all,
There is a error when I run software b4a-trial, the codes is from the b4a-trial example.All softwares are downloaded from https://www.b4x.com/b4a.html

The codes are following,
#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 As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
Msgbox("Welcome to B4A!", "")
End Sub

Sub Activity_Resume

End Sub

Sub Activity_Pause (UserClosed As Boolean)

End Sub

The error,
B4A version: 6.50
Parsing code. (0.00s)
Compiling code. (0.34s)
Compiling layouts code. (0.01s)
Organizing libraries. (0.00s)
Generating R file. (0.31s)
Compiling debugger engine code. (3.64s)
Compiling generated Java code. Error
javac 1.8.0_111
src\b4a\example\starter.java:85: 错误: 找不到符号
super.onTaskRemoved(rootIntent);
^
符号: 方法 onTaskRemoved(Intent)
1 个错误

"错误: 找不到符号" means "error:not found symbol"
 
Last edited:
Top