---
title: "TheType \"xx\" is already defined"
author: "栀子花_开"
date: "2014-03-18T16:29:56Z"
tags: []
categories: ["移动开发"]
slug: "thetype-xx-is-already-defined"
draft: false
lastmod: "2014-03-18T16:30:30Z"
id: 2032902
url: "https://kaysa.iteye.com/blog/2032902"
---

最近一直在搞python，放了几个月的android项目源码找不到了。于是反编译出来，从新改过。

 

遇到了TheType "BuildConfig" is already defined/TheType "R" is already defined，最后发现是这个问题：

 

在src文件夹下有相同的文件，删除src下的文件即可。

 

marker！![尴尬](http://www.iteye.com/javascripts/tinymce/plugins/emotions/img/smiley-embarassed.gif "尴尬")

 

附带原始地址： 

 

[http://blog.csdn.net/rui\_dlut/article/details/6777899](http://blog.csdn.net/rui_dlut/article/details/6777899)