This is a simple example that demonstrates a recommended method of sharing code and files between B4A, B4i and B4J. It is based on these tips: https://www.b4x.com/android/forum/threads/xui2d-cross-platform-tips.96815/#content The main idea is to implement everything that is possible in one or...
www.b4x.com
I have this line in activity and add it to the public class
javac 1.8.0_201
src\com\dd\aa\m00_bb.java:9: error: package android.support.v7.app does not exist
public class m00_bb extends android.support.v7.app.AppCompatActivity implements BA.SubDelegator{
^
No.
When i want you to uncheck and recheck the library in the librarytab then i would have said it like this.
When i say ReDownload then i mean. Do the download of v4.0 again. The new download also contains a correct androidX artifact.
Use the files from the newdownload. Make sure to place all files from the download in your additional library folder.
REFRESH the librarylist after updated the files.
Clean your project and try again.
Two options:
1. You are using an old Android SDK. Run B4A Sdk Manager and make sure to install all recommended items.
2. You haven't followed DonManfred suggestion.
The problem is that you are still using an unjetified version of AppCompat. My guess is that you have an old copy in the internal libraries folder. Delete it.
Download the library again and copy it to the additional libraries folder.
I don't see any problem, I have AppCompat in the adicional libraries, android-support-v7 file is not in the internal library (I deleted it), I've probe in other app with #Extends: android.support.v7.app.AppCompatActivity in the activities and it works well, but in this case with #Extends: android.support.v7... in the Class doesn't work
Attached an example where you can see the problem, I solved it by creating an activity template which includes #Extends: android.support.v7.app.AppCompatActivity and I removed #Extends from the class, then I load each class on this template, I would like your opinions about this option