Android Question [RESOLVED] AppCompatToolbar1 - Error when compiling

Jmu5667

Well-Known Member
Licensed User
Longtime User
Hi

I get the following error when compiling:

B4X:
B4A Version: 8.80
Parsing code.    (0.00s)
Building folders structure.    (0.06s)
Compiling code.    (0.03s)
  
ObfuscatorMap.txt file created in Objects folder.
Compiling layouts code.    (0.03s)
Organizing libraries.    (3.37s)
Generating R file.    (0.92s)
Compiling generated Java code.    Error
javac 1.8.0_181
src\de\amberhome\appcompat\toolbarexample1\main.java:332: error: cannot find symbol
public de.amberhome.objects.appcompat.AppCompatBase _v6 = null;
                                     ^
  symbol:   class AppCompatBase
  location: package de.amberhome.objects.appcompat
1 error

AppCompay Lib v4.0
Core v 8.80
XmlLayoutBuilder V1.0

Any ideas.

J.
 

corwin42

Expert
Licensed User
Longtime User
Are you sure that you have copied all 3 files of appcompat library to your additional libraries folder?

AppCompat.xml
AppCompat.jar
AppCompat.aar

Be sure that AppCompat.jar is only 1kB in size and try to open it with a zip utility. It should be totally empty.

Do you have an old version of AppCompat library in your internal libraries folder?

It seems that all AppCompat objects are missing.
 
Upvote 0

Jmu5667

Well-Known Member
Licensed User
Longtime User
Are you sure that you have copied all 3 files of appcompat library to your additional libraries folder?

AppCompat.xml
AppCompat.jar
AppCompat.aar

Be sure that AppCompat.jar is only 1kB in size and try to open it with a zip utility. It should be totally empty.

Do you have an old version of AppCompat library in your internal libraries folder?

It seems that all AppCompat objects are missing.


I found a AppCompat.aar file in the internal libraries folder :oops:
 
Upvote 0
Top