S susu Well-Known Member Licensed User Longtime User Jun 2, 2016 #1 @Erel is talking about next version of B4A. So I wish MultiDex support as many guys need it https://www.b4x.com/android/forum/threads/error-in-compilation-too-many-method-references.59040/ Thank you.
@Erel is talking about next version of B4A. So I wish MultiDex support as many guys need it https://www.b4x.com/android/forum/threads/error-in-compilation-too-many-method-references.59040/ Thank you.
Erel B4X founder Staff member Licensed User Longtime User Jun 5, 2016 #2 multi dex will not be supported in the next version. I'm not familiar with any project that reached this limit and wasn't able to solve it with #ExcludeClass. The next version will make it simpler as the compiler will take Google libraries (firebase, support and play services) directly from the local Maven repositories and will only include the classes required.
multi dex will not be supported in the next version. I'm not familiar with any project that reached this limit and wasn't able to solve it with #ExcludeClass. The next version will make it simpler as the compiler will take Google libraries (firebase, support and play services) directly from the local Maven repositories and will only include the classes required.
S susu Well-Known Member Licensed User Longtime User Jun 7, 2016 #5 Erel said: I'm not familiar with any project that reached this limit and wasn't able to solve it with #ExcludeClass Click to expand... I'm using Appodeal and AdtoApp, they included many ad network jar files into my app so I always face this problem. Erel said: The next version will make it simpler as the compiler will take Google libraries (firebase, support and play services) directly from the local Maven repositories and will only include the classes required. Click to expand... It's great! Thank you.
Erel said: I'm not familiar with any project that reached this limit and wasn't able to solve it with #ExcludeClass Click to expand... I'm using Appodeal and AdtoApp, they included many ad network jar files into my app so I always face this problem. Erel said: The next version will make it simpler as the compiler will take Google libraries (firebase, support and play services) directly from the local Maven repositories and will only include the classes required. Click to expand... It's great! Thank you.
cambopad Active Member Licensed User Longtime User Jul 31, 2016 #6 I wish there should be a multi-dex support function in B4A soon. I also experienced issue like @susu as I used Appodeal and AdToApp. These two companies includes many jars of other ad networks, and when I compiled, B4A also show DEX error and want me to use multi-dex option. If you could add this support to B4A, it would be a great addition!
I wish there should be a multi-dex support function in B4A soon. I also experienced issue like @susu as I used Appodeal and AdToApp. These two companies includes many jars of other ad networks, and when I compiled, B4A also show DEX error and want me to use multi-dex option. If you could add this support to B4A, it would be a great addition!
Erel B4X founder Staff member Licensed User Longtime User Jul 31, 2016 #7 If you weren't able to solve it then please start a new thread and post the error message. I'm pretty sure that it is solvable with #ExcludeClasses.
If you weren't able to solve it then please start a new thread and post the error message. I'm pretty sure that it is solvable with #ExcludeClasses.
cambopad Active Member Licensed User Longtime User Aug 1, 2016 #8 Thanks Erel! I will try #ExcludeClasses and inform you if my project still get dex error!
johndb Active Member Licensed User Longtime User Jan 28, 2017 #9 It would appear that MultiDex support is essential for future B4A development given the size of modern applications and availability of a greater number of libraries for inclusion into the application.
It would appear that MultiDex support is essential for future B4A development given the size of modern applications and availability of a greater number of libraries for inclusion into the application.
Erel B4X founder Staff member Licensed User Longtime User Jan 29, 2017 #10 https://www.b4x.com/android/forum/threads/libraries-with-internal-resources.75566/#post-479675
Erel B4X founder Staff member Licensed User Longtime User Feb 21, 2017 #11 It is available in v6.80: MultiDex - Solves the too many methods error