(Error:(17, 2) error: package com.applovin.adview does not exist
Error:(18, 24) error: package com.applovin.sdk does not exist
Error:(19, 24) error: package com.applovin.sdk does not exist
Error:(20, 24) error: package com.applovin.sdk does not exist
Error:(21, 24) error: package com.applovin.sdk does not exist
Error:(22, 24) error: package com.applovin.sdk does not exist
Error:(23, 24) error: package com.applovin.sdk does not exist
Error:(24, 27) error: package com.applovin.adview does not exist
Error:(34, 20) error: cannot find symbol class AppLovinAdView
Error:(35, 20) error: cannot find symbol class AppLovinSdk
Error:(46, 58) error: cannot find symbol class AppLovinAdLoadListener
Error:(46, 81) error: cannot find symbol class AppLovinAdDisplayListener
Error:(50, 27) error: cannot find symbol class AppLovinAd
Error:(55, 24) error: cannot find symbol class AppLovinAd
Error:(67, 26) error: cannot find symbol class AppLovinAd
Error:(49, 6) error: method does not override or implement a method from a supertype
Error:(54, 3) error: method does not override or implement a method from a supertype
Error:(66, 3) error: method does not override or implement a method from a supertype
Error:(93, 3) error: method does not override or implement a method from a supertype
Error:(135, 9) error: cannot find symbol variable AppLovinSdk
Error:(176, 96) error: cannot find symbol variable AppLovinAdSize
Error:(176, 129) error: cannot find symbol class AppLovinAdLoadListener
Error:(176, 17) error: cannot find symbol variable AppLovinSdk)
使用Android Studio我尝试创建一个构建盒游戏的APK时出现此错误。任何帮助表示赞赏。
错误的屏幕截图:
答案 0 :(得分:0)
您应该在应用的build.gradle文件中添加以下依赖项。
compile project(":AppLovin-SdkJar")
compile project(":AppLovin-Android-NativeAdCarousel")
此外,请务必查看此页面,其中有几个示例和指南,介绍如何正确安装AppLovin SDK:
答案 1 :(得分:0)
看起来您的项目无法识别AppLovin库。我们现在在JCenter中有SDK。您应该能够将以下“编译”行添加到“依赖项”部分中的应用级build.gradle文件中,以便将最新的SDK添加到您的项目中:
pred_chunked
如果您有任何问题,也可以发送电子邮件至support@applovin.com。