将项目从Eclipse导入Android Studio

时间:2016-09-14 17:24:19

标签: android eclipse

我刚刚将一个Android项目(用Eclipse编写)导入Android Studio。起初,我遇到了一些问题所以我删除了一些依赖项,后来当我将项目重新导入Android Studio时 我必须包含我之前删除的依赖项。我尝试运行该应用程序,但收到以下消息。

Error:Execution failed for task ':app:processDebugManifest'.
Manifest merger failed : Attribute activity#com.google.android.gms.ads.AdActivity@configChanges value=(keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|locale) from AndroidManifest.xml
is also present at [com.google.android.gms:play-services-ads-lite:9.4.0] AndroidManifest.xml value=(keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize).
Suggestion: add 'tools:replace="android:configChanges"' to <activity> element at AndroidManifest.xml to override.

Error:orientation|screenLayout|uiMode|screenSize|smallestScreenSize)

Error:orientation|screenLayout|uiMode|screenSize|smallestScreenSize|locale) from AndroidManifest.xml

我做错了什么?

0 个答案:

没有答案