一、問題描述
今天在將一個內部SDK集成到一個新的apk時候,編譯報錯,如下所示:
下午 03:48 Gradle sync failed: Cannot convert a null value to an object of type Dependency.
The following types/formats are supported:
- Instances of Dependency.
- String or CharSequence values, for example 'org.gradle:gradle-core:1.0'.
- Maps, for example [group: 'org.gradle', name: 'gradle-core', version: '1.0'].
- FileCollections, for example files('some.jar',