
Você precisa escrever isto: apply plugin: "com.android. difference between the two methods, you can use the one you prefer.Ĭlasspath ":gradle:1.2.3.+"Ĭompile ":support-v4:22.0.0"Ĭompile ":support-annotations:22.0.0"Ĭompile ":mopub-volley:1.1.0" (still in lib module) But then you have to do the following: Expose the same SDK versions in Gradle files for both modules. Alternatively, you can set an environment variable called ANDROID_HOME. Yes, in library module, it can't use the apply plugin: statement in the module definition, yes, use apply plugin: instead.

way that the existing SDK requires, using the sdk.dir property. Note: You will also need a local.properties file to set the location of the SDK in the same

ProguardFiles getDefaultProguardFile("proguard-android.txt"), file("proguard.txt") ĮDIT: Todo o adle // This buildscript will assemble the MoPub SDK into an AAR. Mas ele ainda não funciona, mas diz: Error:(7, 0) Plugin with id "android-library" not found.Įu até tentei adicionar: classpath ":gradle:1.2.3.+" A linha específica em adle que dá esse erro é apply plugin: ""Įu até tentei mudar para apply plugin: "android-library"

Estou recebendo esse erro quando tento usar um projeto de biblioteca no Android Studio.
