我正在尝试添加MoPub,我使用的是Android Studio.我尝试将说明应用于此处:
https://github.com/mopub/mopub-android-sdk/wiki/Getting-Started
我猜标题为“ Adding as Compiled .aar”之后,我无法应用它们.
项目中的一切似乎都很好,但是我正在获取未使用的导入,并且无法解析符号,这些错误遍布文件夹mop-sdk / java / mobileads / util中的文件“ Millennialinterstitial”“ MillennialBanner”
我试图手动导入千禧一代的罐子,我注册并从此处下载资源:
http://docs.millennialmedia.com/android-SDK/
提前谢谢了
我想我也不能成功.如果可能有帮助,这里是我的错误的副本.
Error:(7, 35) error: package com.millennialmedia.androID does not existError:(8, 35) error: package com.millennialmedia.androID does not existError:(9, 35) error: package com.millennialmedia.androID does not existError:(10, 35) error: package com.millennialmedia.androID does not existError:(11, 35) error: package com.millennialmedia.androID does not existError:(12, 35) error: package com.millennialmedia.androID does not existError:(23, 13) error: cannot find symbol class MMAdVIEwError:(122, 5) error: cannot find symbol class MMAdVIEwError:(87, 54) error: cannot find symbol class RequestListenerError:(89, 47) error: cannot find symbol class MMAdError:(95, 45) error: cannot find symbol class MMAdError:(101, 48) error: cannot find symbol class MMAdError:(104, 44) error: cannot find symbol class MMAdError:(110, 41) error: cannot find symbol class MMAdError:(110, 58) error: cannot find symbol class MMExceptionError:(116, 39) error: cannot find symbol class MMAdError:(47, 9) error: cannot find symbol variable MMSDKError:(49, 33) error: cannot find symbol class MMAdVIEwError:(58, 13) error: cannot find symbol variable MMRequestError:(61, 44) error: cannot find symbol class MMRequestError:(62, 33) error: cannot find symbol variable MMSDKError:(88, 9) error: method does not overrIDe or implement a method from a supertypeError:(94, 9) error: method does not overrIDe or implement a method from a supertypeError:(100, 9) error: method does not overrIDe or implement a method from a supertypeError:(103, 9) error: method does not overrIDe or implement a method from a supertypeError:(109, 9) error: method does not overrIDe or implement a method from a supertypeError:(115, 9) error: method does not overrIDe or implement a method from a supertype/Users/ugur/AndroIDStudioProjects/xxx/mopub-sdk/src/main/java/com/mopub/mobileads/Millennialinterstitial.javaError:(7, 35) error: package com.millennialmedia.androID does not existError:(8, 35) error: package com.millennialmedia.androID does not existError:(9, 35) error: package com.millennialmedia.androID does not existError:(10, 35) error: package com.millennialmedia.androID does not existError:(11, 35) error: package com.millennialmedia.androID does not existError:(12, 35) error: package com.millennialmedia.androID does not existError:(24, 13) error: cannot find symbol class MMInterstitialError:(77, 60) error: cannot find symbol class RequestListenerError:(79, 47) error: cannot find symbol class MMAdError:(85, 45) error: cannot find symbol class MMAdError:(90, 58) error: cannot find symbol class MMAdError:(93, 44) error: cannot find symbol class MMAdError:(104, 41) error: cannot find symbol class MMAdError:(104, 58) error: cannot find symbol class MMExceptionError:(118, 39) error: cannot find symbol class MMAdError:(41, 9) error: cannot find symbol variable MMSDKError:(45, 13) error: cannot find symbol variable MMRequestError:(48, 39) error: cannot find symbol class MMInterstitialError:(50, 50) error: cannot find symbol class MMRequestError:(78, 9) error: method does not overrIDe or implement a method from a supertypeError:(84, 9) error: method does not overrIDe or implement a method from a supertypeError:(90, 9) error: method does not overrIDe or implement a method from a supertypeError:(92, 9) error: method does not overrIDe or implement a method from a supertypeError:(103, 9) error: method does not overrIDe or implement a method from a supertypeError:(107, 39) error: cannot find symbol variable MMExceptionError:(117, 9) error: method does not overrIDe or implement a method from a supertypeNote: Some input files use or overrIDe a deprecated API.Note: Recompile with -Xlint:deprecation for details.Note: Some input files use unchecked or unsafe operations.Note: Recompile with -Xlint:unchecked for details.Error:Execution Failed for task ':mopub-sdk:compileReleaseJava'.> Compilation Failed; see the compiler error output for details.
解决方法:
我解决了这个问题:
我使用的是我实际上不需要的MoPub的“完整SDK”.当我再次在此链接中使用“基本SDK”时:
https://github.com/mopub/mopub-android-sdk/wiki/Getting-Started
一切顺利完成本文中的步骤
Android Studio won’t let me import SDK
我希望我可以在周末拯救另一个人:)
总结以上是内存溢出为你收集整理的Mopub Android Studio MillennialMedia无法解析全部内容,希望文章能够帮你解决Mopub Android Studio MillennialMedia无法解析所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)