Android Question class not found ...b4xfloattextfield

Rusty

Well-Known Member
Licensed User
Longtime User
*** Service (starter) Create ***
Using FileProvider? true
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
Splash shown...
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (mainpgm) Create, isFirst = true **
CREATE ACTIVITY
Class not found: b4a.example.b4xfloattextfield, trying: b4a.myapp.b4xfloattextfield
Class not found: b4a.example.swiftbutton, trying: b4a.myapp.swiftbutton
Class not found: b4a.example.swiftbutton, trying: b4a.myapp.swiftbutton
Class not found: b4a.example.swiftbutton, trying: b4a.myapp.swiftbutton

For those who find this Class not found error, I discovered it was because I had copied views from an EXAMPLE app and pasted them into myapp.
I replaced the views in the .bal with "locally created" ones and the issue went away.
 

RJB

Active Member
Licensed User
Longtime User
For those who find this Class not found error, I discovered it was because I had copied views from an EXAMPLE app and pasted them into myapp.
I replaced the views in the .bal with "locally created" ones and the issue went away.
I've often found that you get problems if you cut/ paste from examples. It's easier to re-type them. Obviously a shame if it's a long section of code.
 
Upvote 0
Top