B4A Library AppCompat - Make Material Design apps compatible with older Android versions

jayel

Active Member
Licensed User
hey,

The same here, I update the library and i get following error when compiling :
Compiling generated Java code. Error
javac 1.7.0_75
src\be\robotronic\roboprojectnew\werkmodule.java:368: error: cannot find symbol
public de.amberhome.objects.appcompat.ACToolbarLightWrapper _toolbar = null;
^
symbol: class ACToolbarLightWrapper
location: package de.amberhome.objects.appcompat
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
Any help?
 

Erel

Administrator
Staff member
Licensed User
The same here, I update the library and i get following error when compiling :
Please start a new thread in the questions forum and if possible include a project that demonstrates the issue.
 

R0BERT0

Member
Licensed User
Hello.
I have a problem... I'm trying compile my old project, but i can't.
When try compile the ide say me:

Cannot find: C:\Program Files (x86)\Anywhere Software\Basic4android\libraries\com.android.support:appcompat-v7.jar

how can i do?
thanks.
 

corwin42

Expert
Licensed User
You need to install Android support repository with the Android sdk manager.

Edit: Which B4A version are you using? This error sounds like you use a B4A version prior to 6.0.
 

R0BERT0

Member
Licensed User
Hello corwin, thanks for reply.

I have android installed Android support repository, rev 44

My b4a is v5.2
 

R0BERT0

Member
Licensed User
But... i use this library in the past with my b4a version...

Can you pass me the old library please?
Thanks.
 

R0BERT0

Member
Licensed User
Please sir... i need update my app quickly.

I'm not sure if i update b4a another library not work.. please is very urgent to me.
Thanks.
 

corwin42

Expert
Licensed User
I highly recommend to update to the latest B4A version and AppCompat version.

There is no current support library version as a jar file anymore. Google switched over to the maven repositories which can only be used with B4A 6.0 and above. B4A 5.2 is more than 1.5 years old. It is time to update.

I sent you the 2.0 AppCompat library by PM. Be aware that I can't give any support for such an old version anymore.
 

Croïd

Active Member
Licensed User
I'm running out of ideas.

Try the following:
- Check if the only existing folder in <SDK>\build-tools is the 23.0.3 folder.
- If nothing helps post the project and I will try it here but I guess it will work when I compile it.
If i delete all sdk except 23.0.3 it works fine ! but I need sdk 25 and 26 for different project !

What is the solution to be able to preserve the others Build-Tools in the folder ?

Thanks for reply
 

victormedranop

Well-Known Member
Licensed User
hi. I am trying to use appcompat. but no mater what example I use I got this error.
I change the build-tool to 25, please some help.

C:\Users\victo\Desktop\AppCompatBase\Objects\bin\extra\res2\res\values-v23\values-v23.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
 

Urishev

Member
Licensed User
Thank you corwin42 for the detailed explanation. I have b4a 5.5.
I stopped at first item. Where and how to download files AppCompat.aar ? Where to get V3.51 of this library?
 
Last edited:

Urishev

Member
Licensed User
Please give an answer.
Is it possible to use AppCompat library to B4A less than 6.0 (with modifications) or it is absolutely impossible?
 
Top