Unable to open stack trace file '/data/anr/traces.txt/: Permission denied

后端 未结 3 605
予麋鹿
予麋鹿 2021-01-15 05:59

I am novice android developer & i am learning android from this book http://www.informit.com/store/product.aspx?isbn=9780321673350

I am on chapter 10.

3条回答
  •  野的像风
    2021-01-15 06:13

    Make sure adb is in you system path or cd to it first.
    Then try the following:

    adb shell
    cd \data
    chmod 777 anr
    

    Then try again.
    Don't ask me why the permissions go wonky, but I've had this too.

提交回复
热议问题