제가 어플을 만드는도중

액티비티를 파일이 만약에 있으면 1번 액티비티로가고

만약에 파일이 없으면 2번 액티비티로 가는걸 하고있습니다 ㅠㅠ

경로는 /raw/폴더를 따로 생성하였구요 여기서

파일유무를 검사해서 있으면 1번 없으면 2번일케 할려고하는데

String Path = "/raw/test.txt";
            File file = new File(Path);
            if (file.exists() == true) {
             Toast.makeText(this, "파일있어", 2000).show();
             Intent intent5 = new Intent(this, FlowerGallery.class);
       startActivity(intent5);
         }else if(file.exists() == false){  
          Toast.makeText(this, "파일없어", 2000).show();
          Intent intent2 = new Intent(this, FlowerView.class);
          startActivity(intent2);
         }

자꾸 오류가 납니다 ㅠㅠ
오류가 난다기보다 파일이 있는데 없다고 뜨고 view.class로 넘어갑니다 ㅠㅠ

좀 봐주시겠어요?ㅠㅠ

sdcard경로는 제가 알고있어서 sdcard에는 잘되드라구여 ㅠㅠ

근데 그냥 sdcard쓰지않고 폴더하나생성하고 저장을 시켜놨는데 안됍니다 봐주십셔 ㅠㅠ