Android Question FirebaseAdMob2 Error - unpacked-core-1.9.0\res\values\values.xml:112: error: resource android:attr/lStar not found.

hasexxl1988

Active Member
Licensed User
Longtime User
Hello everyone,

I have recently encountered the following error when compiling the project (android-28):

B4X:
B4A Version: 12.80
Parse den Code.    (0.00s)
    Java Version: 8
Building folders structure.    (0.02s)
Kompiliere den Code.    (0.01s)
Kompiliere Layoutcode.    (0.00s)
Organisiere Libraries.    (0.00s)
    (AndroidX SDK)
Ressourcen zusammenstellen    (0.16s)
Ressourcen verknüpfen    Error
c:\android\tools\..\extras\b4a_remote\androidx\core\core\1.9.0\unpacked-core-1.9.0\res\values\values.xml:112: error: resource android:attr/lStar not found.
error: failed linking references.

That's the Error with android-33:

B4X:
B4A Version: 12.80
Parse den Code.    (0.01s)
    Java Version: 8
Building folders structure.    (0.01s)
Kompiliere den Code.    (0.02s)
Kompiliere Layoutcode.    (0.00s)
Organisiere Libraries.    (0.01s)
    (AndroidX SDK)
Ressourcen zusammenstellen    (0.16s)
Ressourcen verknüpfen    (0.53s)
Kompiliere generierten Java Code.    (1.13s)
Suchen von Bibliotheken, die dexiert werden müssen.    (0.01s)
Dex code    (1.23s)
Dex merge    Error
Error: Cannot fit requested classes in a single dex file (# methods: 74907 > 65536). Try supplying a main-dex list
Compilation failed
Exception in thread "main" java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, position: null
    at com.android.tools.r8.internal.vj.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:98)
    at com.android.tools.r8.D8.main(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:4)
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, position: null
    at Version.fakeStackEntry(Version_3.3.20-dev+aosp1.java:0)
    at com.android.tools.r8.internal.vj.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:75)
    at com.android.tools.r8.internal.vj.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:28)
    at com.android.tools.r8.internal.vj.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:27)
    at com.android.tools.r8.internal.vj.b(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:2)
    at com.android.tools.r8.D8.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:22)
    at com.android.tools.r8.D8.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:17)
    at com.android.tools.r8.internal.vj.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:85)
    ... 1 more
Caused by: com.android.tools.r8.internal.f: Cannot fit requested classes in a single dex file (# methods: 74907 > 65536)
    at com.android.tools.r8.internal.YS.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:14)
    at com.android.tools.r8.internal.YS.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:22)
    at com.android.tools.r8.internal.v20.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:565)
    at com.android.tools.r8.internal.r20.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:7)
    at com.android.tools.r8.internal.D2.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:335)
    at com.android.tools.r8.internal.D2.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:412)
    at com.android.tools.r8.D8.d(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:794)
    at com.android.tools.r8.D8.c(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:1)
    at com.android.tools.r8.internal.vj.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:24)
    ... 5 more

The error is caused by FirebaseAdMob2 (step by step error sources searched).

I have already installed B4A and performed all steps again (Java, Android download).

Does anyone else have an idea? :(

EDIT - i have createt a new Project. Here works. I search the Error in my Codes :)
 
Last edited:
Top