Answer:
Mix scraps of meat (the older, the better) with something sweet. Lots of people swear by using rotten fish or shrimp, which probably work best because they smell so much. Bait for Fruit Flies: Use fruit (the riper, the better), apple cider vinegar, fruit juice, syrup, wine, beer, or any combination