Android Question Overloading JAVA inline functions——onConfigurationChanged

MomoWen

Member
Licensed User
How can I avoid this problem

A compiler error:
B4A version number: 9.00
Parse the code.(0.18 s)
Building folders structure. (0.05 s)
Compile the code.(0.17 s)
Compile the layout file code.(0.02 s)
Manage class library files.(0.00 s)
Generate the R file.(0.00 s)
Compile the generated Java source code.The Error
B4A line: 1261
End Sub
Javac 1.8.0 comes with _141
SRC \b4a\example\main.java:7489: Error: need <Identifier & gt;
Public void onConfigurationChanged(Configuration newConfig)
^
One mistake

Add content:
#if JAVA
[USER=69643]@override[/USER]
Public void onConfigurationChanged(Configuration newConfig)
{
  super.onConfigurationChanged(newConfig);
}

#end if
 

MomoWen

Member
Licensed User
I use an external scan gun when the scan gun is plugged in or unplugged when the program is restarted.It bothers me a lot
 
Upvote 0

Similar Threads

Top