Android Question [Solved] AndroidX SDK / Beta 9.30#3 / issue "package ....widget.RecyclerView does not exist"

fredo

Well-Known Member
Licensed User
Longtime User
After switching to the B4A IDE beta 9.30 including changing the SDK to AndoidX the following error message appears when compiling:

B4X:
B4A Version: 9.30 BETA #3
Java Version: 11
Parsing code.    (0.44s)
Building folders structure.    (0.08s)
Compiling code.    (0.31s)
Compiling layouts code.    (0.02s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Generating R file.    (0.00s)
Compiling generated Java code.    Error
B4A line: 702
RVMain.Adapter = ExpandableAdapter
src\yyyy\ratimestamper.java:2694: error: package android.support.v7.widget.RecyclerView does not exist
parent._rvmain.setAdapter((android.support.v7.widget.RecyclerView.Adapter)(parent._expandableadapter.getObject()));
                                                                 ^



The environment:

2019-07-02_19-00-44.png

The Jetify Message:
2019-07-02_19-25-39.png

Compile tries with and without AppComp lib:
2019-07-02_19-24-05.png

Main #AdditionalJar situation:
2019-07-02_19-28-45.png

RV in SDK:
2019-07-02_19-36-16.png


The author of the Recyclerview lib is not reachable looking into this at the moment,
so how can I restore the "before SDK"?
 
Last edited:

asales

Expert
Licensed User
Longtime User
I got the same error with this library:

B4X:
Compiling generated Java code.    Error
B4A line: 114
Activity.AddView(arv, 0, pnlAB.Height, 100%x, 100
javac 1.8.0_92
src\br\com\as2\vf\vingadores\premios.java:533: error: cannot access RecyclerView
mostCurrent._activity.AddView((android.view.View)(mostCurrent._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7.getObject()),(int) (0),mostCurrent._pnlab.getHeight(),anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA),(int) (anywheresoftware.b4a.keywords.Common.PerYToCurrent((float) (100),mostCurrent.activityBA)-mostCurrent._pnlab.getHeight()));
                                                                                                                                          ^
  class file for android.support.v7.widget.RecyclerView not found
The author of the Recyclerview lib is not reachable at the moment"
@alimanam3386 is not reachable?
 
Upvote 0
Top