
问题
海无垠
好高骛远要不得,心动不如手动!
展开
-
逗比问题,特此留念
最近在看接口cloneable时,突然想到类要是没有继承到Object怎么重写clone()方法呢,纠结在于如果子类继承到非Object父类,就无法重写了,毕竟单根继承吗。。。。。后来想到你继承的父类不也继承了Object类吗,然后孙子辈也就有了,,汗颜,特此记录,思考问题仔细点。 另附:虽说所有的类都隐式的继承Object类,但是当你显示的继承他类时就不再继承Obje原创 2015-07-11 21:19:25 · 357 阅读 · 0 评论 -
INSTALL_FAILED_USER_RESTRICTED错误
Installation failed with message INSTALL_FAILED_USER_RESTRICTED. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing. WA原创 2017-09-12 10:57:26 · 423 阅读 · 0 评论 -
Invoke-customs are only supported starting with Android O (--min-api 26)
只需要在 gradle.build中添加以下内容: compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 }原创 2019-06-13 11:58:11 · 1763 阅读 · 0 评论 -
couldn't find "libflutter.so" --flutter
由于 libflutter.so 的问题,或者说是安卓编译架构的问题,在编译运行后打开flutter显示的那个页面可能会出现 couldn’t find libflutter.so 的问题,解决办法是只使用 armeabi-v7a, 具体配置是修改 app/build.gradle 文档,如下: android{ defaultConfig{ ndk { abiFilters “armeabi-v...原创 2019-06-13 12:01:41 · 2071 阅读 · 0 评论 -
Manifest merger failed : Attribute application@appComponentFactory value=
问题: Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91...原创 2019-06-14 11:54:02 · 2932 阅读 · 0 评论