java.io.IOException: Error running exec(). Commands: [cd, sdcard/.yasmin] Working Directory: null Environment: null

前端 未结 4 1499
刺人心
刺人心 2021-02-06 07:40

I try to access to my folder in sdcard and install myapp.apk, i use this code:

 Runtime.getRuntime().exec(\"cd sdcard/.yasmin\");
 Runtime.getRuntime().exec(\"ad         


        
4条回答
  •  礼貌的吻别
    2021-02-06 07:45

    You can get the file generated with log as follows:

    command - "your command" Environment - null Directory - null

    Runtime.getRuntime().exec("your command",null,null);

提交回复
热议问题