我已添加gradle依赖项,如下所示并运行gradle build命令,但仍然收到以下错误
包导入语句中的以下代码出错
import com.amazonaws.auth.BasicAWSCredentials;
import com.amazonaws.regions.Region;
import com.amazonaws.regions.Regions;
import com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient;
import com.amazonaws.services.dynamodbv2.document.DynamoDB;
dependencies {
compile group: 'com.amazonaws', name: 'aws-java-sdk', version: '1.10.29'
}
Below error getting in File -> Project Structure ->Module
我尝试添加gradle apply插件的想法,但这对我没有帮助,如下面的代码
申请插件:'想法'