Error creating final archive: validity period of debug certificate

I know how to fix this problem, but the fact is that my .android directory has become invisible and I do not know how to delete it. I tried from the command line, for example: rmdir / S.android, and this did not work. I am on a mac.

+4
source share
2 answers

Ok, I found it:

On the OSX platform, if you manually delete the ~ / .android directory using rm -rf ~ / .android, try to run the emulator, it will work. This is because the emulator does not create a new .android directory before trying to create a child directory SDK1.0. To work around this problem, manually create a new .android directory using mkdir ~ / .android, then run the emulator. The emulator creates the SDK1.0 directory and starts normally.

And I had to recreate the AVD, that's all.

+6
source

Remove debug.keystore from the directory of your Android device.

+14
source

Source: https://habr.com/ru/post/1402557/


All Articles