B4A Question Building app bundle Error [BT:1.5.0] Error: Invalid dex file indices, expecting file 'classes?.dex' but found 'classes2.dex'. - AlfaizDev (first post)    Aug 18, 2024   (1 reaction)
Making sure - you changed the locale back to Arabic, right?
yes
156161... B4A Library [class] FileProvider - share files - Erel    Aug 16, 2021   (47 reactions)   tags: B4A Class FileProvider, share email file, share, File provider, email, WP SHARE Edit: FileProvider is included as an internal library now. After investigating several issues with the current FileProvider code that you can find in the forum, I decided to make some improvements and implement it in a class. Starting from Android 7 (API 24) you cannot directly share file uris with other applications. You need to use FileProvider. The FileProvider class should work on all Android versions (4+). Instructions: 1. Add a reference to FileProvider library. 2. Add to... B4J Library [B4X] BalConverter - Convert the layouts files to JSON (and vice versa) - Erel    Sep 11, 2025   (30 reactions)   tags: Eshe, files, convert, bal, layouts the designer layout files and JSON format. This allows you to edit the layout with a text editor. Note that the format is not so simple as the layout files were not designed to be edited this way. The converter app is simple. You choose a folder and it will convert all layout files from one format to another. The original files are not deleted. It filters the files based on the extension (bal or bal.json... this section. The LayoutHeader element holds other information about the layout file. Note that all... B4A Question Build APP Bundle Error - Mehrzad238    Jul 9, 2021   (1 reaction) why I get this error: Building app bundle Error Error: Invalid dex file indices, expecting file 'classes?.dex' but found 'classes2.dex'. com.android.tools.build.bundletool.model.exceptions.InvalidBundleException: Invalid dex file indices, expecting file 'classes?.dex'....DexFilesValidator.validateDexNames(DexFilesValidator.java:78) at com.android.tools.build.bundletool.validation.DexFilesValidator.validateModule(DexFilesValidator.java:63) at com.android.tools... B4A Question Building app bundle Error - alirezahassan    Oct 9, 2021 )
Building app bundle Error
Error: Invalid dex file indices, expecting file 'classes?.dex'....InvalidBundleException: Invalid dex file indices, expecting file 'classes?.dex' but found 'classes2...(UserExceptionBuilder.java:58)
at com.android.tools.build.bundletool.validation.DexFilesValidator... B4A Tutorial [B4X] TextEditor - Save and load external files - Erel    Sep 10, 2023   (38 reactions) This is a B4i and B4A example, which demonstrates various external files related tasks. 116714.... B4A Load external files, including online files, using ContentChooser. Save to an external target...-list-of-other-related-methods.129897/#content Allow other apps to view text files using this app... external files, including online files, using DocumentPickerViewController: https://www.b4x.com...-with-activityviewcontroller.73159/#content This also allows saving the text with the Files app. Allow... B4A Question Convert byte code - optimized dex. Error - Need Help Pls :( - Joel Fonseca    Jul 25, 2011 . 3.84
Generating R file. 0.00
Compiling generated Java code. 26.37
Convert byte code - optimized dex. Error
UNEXPECTED TOP-LEVEL ERROR:
java.lang...:99)
at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:73)
at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:269)
at com.android.dx.dex.cf.CfTranslator.translate0... B4A Code Snippet [B4X] Bytes To File - Erel    May 24, 2020   (19 reactions)   tags: Image, Share Images, Bytes, B4X, B4X Bytes To File This code is no longer needed. Use File.WriteBytes / ReadBytes. Write an array of bytes to a file and read a file into an array of bytes. Sub BytesToFile (Dir As String, FileName As String, Data() As Byte) Dim out As OutputStream = File.OpenOutput(Dir, FileName, False) out.WriteBytes(Data, 0, Data.Length) out.Close End Sub Sub FileToBytes (Dir As String, FileName As String) As Byte() Return Bit.InputStreamToBytes(File.OpenInput(Dir, FileName)) End Sub Note that you can convert... B4A Question Share txt files - Sergio GermánRassino    Nov 17, 2016 Hello. Thank you for your help for new users. I need to share a txt file by bluetooth and other aps in my phone, and I been reading all about it and couldn't find a solution. I found... As MESShareLibrary share.sharebinary("file://" & File.DirRootExternal & "/SipAsistencia... to share, but it sends an html file with the txt file name included, instead of the txt file Dim share As Intent Dim archivo As String = "file://" & File.DirRootExternal &"... B4A Tutorial Download huge files with HttpUtils2 - Erel    Jul 25, 2021   (18 reactions)   tags: download, erel, download with progress Better to use: https://www.b4x.com/android/forum/threads/simple-progress-http-download.127214/#post-796463 The attached project includes a slightly modified version of HttpUtils2 and a new service named DownloadService. The purpose of DownloadService is to make it simple to download files of any... multiple files at once and track the progress of each one of them. The following libraries...) RandomAccessFile As this is a modified version of OkHttpUtils2 you should not reference OkHttpUtils2... Page: 1   2   3   4   5   6   7   |