2014-09-29 213 views
1

我得到了下面的錯誤,而運行gradle這個build.I想我錯過了一些的build.gradle其中,Android的搖籃項目

  • 出了什麼問題: 一個問題被發現任務的配置「 :checkFreeDebugManifest」。

    prope rty'manifest'指定的文件'E:\ MyWorkspace \ android \ src \ main \ AndroidManifest.xml'不存在。

在此先感謝。

回答

1

在「主」文件夾中創建一個AndroidManifest.xml文件。它缺失。 一個例子可以是:

<?xml version="1.0" encoding="utf-8"?> 
<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
    package="com.example.android.something" > 

    <application 
     android:allowBackup="true" 
     android:icon="@drawable/ic_launcher" 
     android:label="@string/app_name"> 

     <!-- Define your activities and other stuffs here. --> 
    </application> 

</manifest>