# CompileSdkSpec()

> Initializes a new instance of the CompileSdkSpec class.

## Definition

* **Type:** Constructor
* **Namespace:** [Unity.Android.Gradle](/engine/6000.7/script-reference/unity/android/gradle.md)
* **Assembly:** Unity.Android.Gradle

```csharp
public CompileSdkSpec()
```

### Remarks

The new instance has no compile SDK version set. Use [CompileSdkSpec.Set](/engine/6000.7/script-reference/unity/android/gradle/compilesdkspec/set.md) to assign a major and minor API level before Unity writes this element to the Gradle file.
