I solved the problem. Jim was right, i did not have the correct target API. For the next person who has this problem and finds this thread, the solution is that you have to make sure that the build.gradle files for your project and your openCV match. Thanks to everyone who helped me, and Merry Christmas!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…