Android Question B4A Beta Compiler errors

jimmyF

Active Member
Licensed User
Longtime User
Until now I am using the Google AppCompat v7 support library.
#Extends: android.support.v7.app.ActionBarActivity

The B4A SDK Manager shows it as being installed.

I now get this error when compiling.

Any help would be appreciated.
Thanks
 

jimmyF

Active Member
Licensed User
Longtime User
Thanks for your response.
I HAVE followed those tutorials and I have had this working very well for quite a few months.
It was only since I installed the Beta version 7.80 that I had this error.
 
Upvote 0

Peter Simpson

Expert
Licensed User
Longtime User
Hello @jimmyF,

Replace this line
B4X:
#Extends: android.support.v7.app.ActionBarActivity
With this line
B4X:
#Extends: android.support.v7.app.AppCompatActivity

It's written in the very first post in the link that @DonManfred posted above.

Enjoy...
 
Upvote 0

jimmyF

Active Member
Licensed User
Longtime User
Thank you Peter. Works fine now.
Very much appreciated!
Is this documented somewhere?
 
Upvote 0

Peter Simpson

Expert
Licensed User
Longtime User
Thank you Peter. Works fine now.
Very much appreciated!
Is this documented somewhere?

Yes it's documented in the first post in the first link that @DonManfred posted above.

A quote by @corwin42 in that post using the link.
To use the AppCompat library your activities MUST extend android.support.v7.app.AppCompatActivity (extending the old android.support.v7.app.ActionBarActivity still works.)

Enjoy...
 
Upvote 0

jimmyF

Active Member
Licensed User
Longtime User
Interesting...
Originally, I simply copied and pasted this value from the sample code attached to the tutorial.

B4X:
#Extends: android.support.v7.app.ActionBarActivity

And it has worked until now.
EDIT: Okay, Now I see that note that was attached.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…