Android Question Error out of the blue

brianwiz12

Active Member
Licensed User
Longtime User
Hello,

I have been working to validate my database which has thirty tables. have had no issue until now.

Getting the following

B4X:
B4A Version: 9.90
Java Version: 11
Parsing code.    (0.12s)
Building folders structure.    (0.04s)
Compiling code.    (0.41s)
Compiling layouts code.    (0.01s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Generating R file.    (0.00s)
Compiling generated Java code.    (0.01s)
Convert byte code - optimized dex.    (1.63s)
Packaging files.    Error
Unable to add 'classes.dex' to 'bin\temp.ap_'

Tried cleaning project
Tried rebooting then cleaning project, deleting everything in the objects/bin folder

Still getting this all of a sudden.
 

drgottjr

Expert
Licensed User
Longtime User
try deleting the bin folder. the compiler should create it the next time you build.
 
Upvote 0

brianwiz12

Active Member
Licensed User
Longtime User
Tried just deleting the bin fold. opened the program back up and compiled it and get

Packaging files. Error
Unable to add 'classes.dex' to 'bin\temp.ap_'

Other programs compile with no issue.
 
Upvote 0

drgottjr

Expert
Licensed User
Longtime User
type this into the search box above:
Unable to add 'classes.dex' to 'bin\temp.ap_'
besides seeing your own post, the next 2 might provide some clue. basically, we've done what normally needs to be done to resolve a not totally unusual error. see if they help.
 
Upvote 0

brianwiz12

Active Member
Licensed User
Longtime User
I have gone through them disabled my anti-virus/firewall no changes.

All Libraries i have are up to date from what i can tell.

I will do more research and watch this thread also
 
Upvote 0

Alex_197

Well-Known Member
Licensed User
Longtime User
Did you try to create a simple project? Something with 1 activity and 1 button?
If the error will not come up - that means that something wrong with your big project.
 
Upvote 0

Similar Threads

Replies
1
Views
2K
  • Locked
  • Question
Android Question Where the error
Replies
9
Views
1K
Replies
2
Views
1K
Top