Other B4A v12.0 has been released

Erel

B4X founder
Staff member
Licensed User
Longtime User
I'm happy to release a new version of B4A. This version brings an updated Android, Google, AndroidX and Firebase SDKs.
You must download an updated Android SDK + additional resources, in order to use the new version.

SDK instructions:

1. Download Windows command line tools: https://developer.android.com/studio#command-line-tools-only
2. Download additional components: https://b4xfiles-4c17.kxcdn.com/b4a/resources_11_22.zip
It is recommended to use a tool such as 7zip to unpack the zip files.
The folders should look like this:




3. Download B4A v12.0: https://www.b4x.com/b4a.html
4. Tools - Configure Paths. Set the path to android.jar to android-33: <android sdk>\platforms\android-33\android.jar

Improvements:

  1. Updated Android, Google, AndroidX and Firebase SDKs.
  2. Updated libraries: B4XTable v1.23, B4XPages template, FirebaseAdmob2 v3.0, FirebaseAnalytics v3.0, FirebaseAuth v3.0, FirebaseStorage v3.0, FirebaseNotifications v3.0, AppCompat v4.02, USB v1.01, BCTextEngine v1.94, Phone v2.53, GooglePlayBilling v5.0, Core v11.81, NFC v2.02, DesignerUtils v1.04, Facebook v2.01 (external library.
  3. Bug fixes and minor improvements.
 

agraham

Expert
Licensed User
Longtime User
Managed to targetSdkVersion="31" as well after changing my GPS code.
See the bold paragraph
 
Upvote 0

netsistemas

Active Member
Licensed User
Longtime User
how solve this problem:

B4A Versión: 12.00
Parseando código. (0.50s)
Java Versión: 11
Building folders structure. (0.08s)
Corriendo accion personalizada. (0.04s)
Compilando código. (0.31s)
Compilado códigos de diseños. (0.04s)
Organizando librerías. Error
Artefacto de Maven no encontrado: androidx.webkit/webkit
Source: gassetloader
 
Upvote 0

netsistemas

Active Member
Licensed User
Longtime User
solved:
 
Upvote 0
Dear Real and other B4A developers. Very very well done. MR Real, you are belonging among The most elite Android developers around The world. Thank you for this big improvement. B4A is making a very big joy to Me. And it is very probably The onlyone stable and so easy to learn Basic language dialect for Android platform. The biggest evidence of your professional programmers work is The big amount of active B4A forum users, who are sharing apps, who are discussing and who are helping to each others. So thqank you for your complex programmers work on B4A and all required libraryes and components.
 
Upvote 0

bijan2010

New Member
hello i have this error after compile :


Dex merge Error
Error in c:\sdk\tools\..\extras\b4a_local\unpacked-appcompat-63804274956000\jars\classes.zip:classes.dex:
Type de.amberhome.objects.appcompat.ACActionBar is defined multiple times: c:\sdk\tools\..\extras\b4a_local\unpacked-appcompat-63804274956000\jars\classes.zip:classes.dex, C:\SDK\tools\..\extras\b4a_local\unpacked-appcompat.androidx-63804704329200\dex_v1\appcompat.zip:classes.dex
Compilation failed
Exception in thread "main" java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: c:\sdk\tools\..\extras\b4a_local\unpacked-appcompat-63804274956000\jars\classes.zip:classes.dex
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, origin: c:\sdk\tools\..\extras\b4a_local\unpacked-appcompat-63804274956000\jars\classes.zip:classes.dex
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: Type de.amberhome.objects.appcompat.ACActionBar is defined multiple times: c:\sdk\tools\..\extras\b4a_local\unpacked-appcompat-63804274956000\jars\classes.zip:classes.dex, C:\SDK\tools\..\extras\b4a_local\unpacked-appcompat.androidx-63804704329200\dex_v1\appcompat.zip:classes.dex
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.cN.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:36)
at com.android.tools.r8.internal.cN.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:10)
at java.util.concurrent.ConcurrentHashMap.merge(ConcurrentHashMap.java:1990)
at com.android.tools.r8.internal.cN.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:6)
at com.android.tools.r8.graph.E2$a.e(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:4)
at com.android.tools.r8.dex.b.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:105)
at com.android.tools.r8.dex.b.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:28)
at com.android.tools.r8.D8.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:25)
at com.android.tools.r8.D8.d(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:609)
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
what's the problem and how can i solve it?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…