---
title: "Description\tResource\t"
author: "lemo"
date: "2013-06-07T00:16:45Z"
tags: []
categories: ["移动开发"]
slug: "description-resource"
draft: false
lastmod: "2013-06-07T00:16:45Z"
id: 1883505
url: "https://lemo.iteye.com/blog/1883505"
---

android要求所有的程序必须有签名，否则就不会安装该程序。在我们开发过程中，adt使用debug keystore，在 preference->android->buid中设置。debug的keystore默认有效期为一年，如果你是从一年前开始开发 android程序，那么很可能出现debug keystore过期，导致你无法生成 apk文件。   
解决办法：
 进入 C:\Documents and Settings\Administrator\.android\  删除文件debug.keystore 然后重新运行工程，即可重新生成。