ericyzhu / cordova-plugin-bytedance-union-ad Goto Github PK
View Code? Open in Web Editor NEW穿山甲广告 Cordova 插件。
穿山甲广告 Cordova 插件。
你好,
感谢提供了穿山甲的插件,第一次使用,我的环境是cordova 9 + cordova-android 10.0 全新空项目,使用了其他插件没有问题,但加了这个插件,就会碰到以下问题,不知道该怎么解决,先谢谢了~
/Users/apple/WebstormProjects/test/platforms/android/app/src/main/java/cordova/plugins/bytedanceunionad/SplashActivity.java:17: 错误: 找不到符号
import androidx.annotation.MainThread;
^
符号: 类 MainThread
位置: 程序包 androidx.annotation
/Users/apple/WebstormProjects/test/platforms/android/app/src/main/java/cordova/plugins/bytedanceunionad/SplashActivity.java:104: 错误: 找不到符号
@mainthread
^
符号: 类 MainThread
/Users/apple/WebstormProjects/test/platforms/android/app/src/main/java/cordova/plugins/bytedanceunionad/SplashActivity.java:113: 错误: 找不到符号
@mainthread
^
符号: 类 MainThread
/Users/apple/WebstormProjects/test/platforms/android/app/src/main/java/cordova/plugins/bytedanceunionad/SplashActivity.java:122: 错误: 找不到符号
@mainthread
^
符号: 类 MainThread
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
4 个错误
FAILURE: Build failed with an exception.
由于历史的原因,我只能使用cordova6.5、java8、android27
我尝试改一下你的插件,发现跑不起来,希望你能改改
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.