eclipse工程迁移到android studio生成的import-summary文件

一般eclipse中的工程迁移到android studio中都会自动生成这个文件,以告诉用户迁移过程都发生了什么。
下面这个是一个带library工程导入后该文件示例,工程实际路径和jar包改为abc之类的:
import-summary.txt
ECLIPSE ANDROID PROJECT IMPORT SUMMARY
======================================

Manifest Merging:
-----------------
Your project uses libraries that provide manifests, and your Eclipse
project did not explicitly turn on manifest merging. In Android Gradle
projects, manifests are always merged (meaning that contents from your
libraries' manifests will be merged into the app manifest. If you had
manually copied contents from library manifests into your app manifest
you may need to remove these for the app to build correctly.

Ignored Files:
--------------
The following files were *not* copied into the new Gradle project; you
should evaluate whether these are still needed in your project and if
so manually move them:

From XXXLibrary:
* aaa.pro
* ic_launcher-web.png
* proguard-project.txt
From XXX:
* error
* error.txt
* ic_launcher-web.png
* proguard-project.txt
* result

Replaced Jars with Dependencies:
--------------------------------
The importer recognized the following .jar files as third party
libraries and replaced them with Gradle dependencies instead. This has
the advantage that more explicit version information is known, and the
libraries can be updated automatically. However, it is possible that
the .jar file in your project was of an older version than the
dependency we picked, which could render the project not compileable.
You can disable the jar replacement in the import wizard and try again:

android-support-v4.jar => com.android.support:support-v4:19.1.0

Moved Files:
------------
Android Gradle projects use a different directory structure than ADT
Eclipse projects. Here's how the projects were restructured:

In PCardPlungeInShanxi:
* AndroidManifest.xml => XXX\src\main\AndroidManifest.xml
* assets\ => XXX\src\main\assets\
* libs\aaa.jar => XXX\libs\aaa.jar
* lint.xml => XXX\lint.xml
* proguard.cfg => XXX\proguard.cfg
* res\ => XXX\src\main\res\
* src\ => XXX\src\main\java\
* AndroidManifest.xml => XXX\src\main\AndroidManifest.xml
* assets\ => XXX\src\main\assets\
* libs\eee.jar => XXX\libs\eee.jar
* libs\def.jar => XXX\libs\def.jar
* libs\ggg.jar => XXX\libs\ggg.jar
* res\ => XXX\src\main\res\
* src\ => XXX\src\main\java\

Next Steps:
-----------
You can now build the project. The Gradle project needs network
connectivity to download dependencies.

Bugs:
-----
If for some reason your project does not build, and you determine that
it is due to a bug or limitation of the Eclipse to Gradle importer,
please file a bug at http://b.android.com with category
Component-Tools.

(This import summary is for your information only, and can be deleted
after import once you are satisfied with the results.)

-----------------------------------分割线--------------------------------------------- 
下面是一个单独工程导入后该文件示例:
ECLIPSE ANDROID PROJECT IMPORT SUMMARY
======================================

Ignored Files:
--------------
The following files were *not* copied into the new Gradle project; you
should evaluate whether these are still needed in your project and if
so manually move them:

* ic_launcher-web.png
* proguard-project.txt

Replaced Jars with Dependencies:
--------------------------------
The importer recognized the following .jar files as third party
libraries and replaced them with Gradle dependencies instead. This has
the advantage that more explicit version information is known, and the
libraries can be updated automatically. However, it is possible that
the .jar file in your project was of an older version than the
dependency we picked, which could render the project not compileable.
You can disable the jar replacement in the import wizard and try again:

android-support-v4.jar => com.android.support:support-v4:19.1.0

Moved Files:
------------
Android Gradle projects use a different directory structure than ADT
Eclipse projects. Here's how the projects were restructured:

* AndroidManifest.xml => app\src\main\AndroidManifest.xml
* res\ => app\src\main\res\
* src\ => app\src\main\java\

Next Steps:
-----------
You can now build the project. The Gradle project needs network
connectivity to download dependencies.

Bugs:
-----
If for some reason your project does not build, and you determine that
it is due to a bug or limitation of the Eclipse to Gradle importer,
please file a bug at http://b.android.com with category
Component-Tools.

(This import summary is for your information only, and can be deleted
after import once you are satisfied with the results.)

简单说来就是说:
1:导入后忽视了一些文件,如果确实需要可以手动从原来的eclipse项目中拷贝过来。 
2:如果使用了jar包,则因为androd studio用Dependencies方式做了替换,因此可能发生一个现象就是之前用的旧版本能用,但现在在网上发现了更新的版本,
但使用新的版本可能编译出错,如果这样则可以禁止对jar进行替换,这样可以保证编译正确。
3:因为eclipse和android studio工程结构不同,因此列出二者的文件存放目录对比迁移。
4:导入后就可以编译工程,如果发现bug可以提上去。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值