2014-09-29 153 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>