Interestingly, I had a very similar situation recently, but had the opposite experience. Took 4+ years of Spanish in high school and undergrad, ~20 years ago. Had a trip to Costa Rica and I spent about 2 to 3 months using Duolingo, and I felt it didn't help much at all, other than as a refresher for very basic vocabulary.
I ended using Google translate towards the end of the trip, which was disappointing for me.
I ended using Google translate towards the end of the trip, which was disappointing for me.