Damion Clarke was the man police had charged with illegal possession of firearm, illegal possession of ammunition and shooting with intent.
He pleaded not guilty to all three counts.
The charges stemmed from allegations that on April 5, 2015, Clarke used an illegal firearm and shot a man at a dance with the intent to cause grievous bodily harm.
The wounded man was later hospitalised.
However, Crown Counsel Cadeen Barnett told High Court judge Justice Viviene Harris that there was a difficulty in linking Clarke to the crime.