- 博客(174)
- 资源 (45)
- 收藏
- 关注
原创 Caused by: ru.yandex.clickhouse.except.ClickHouseException: ClickHouse exception, code: 62, host: 10
Caused by: ru.yandex.clickhouse.except.ClickHouseException: ClickHouse exception, code: 62, host: 10.7.80.58, port: 8123; Code: 62. DB::Exception: Syntax error (Multi-statements are not allowed)
2023-12-06 09:32:46
2622
原创 Flutter 填坑录 (不定时更新)
一,内存爆表 >图片缓存/// State基类class BaseState<T extends StatefulWidget> extends State<T> with AutomaticKeepAliveClientMixin, WidgetHelper, DialogHelper, ...
2023-10-19 14:39:51
692
1
原创 Error:com.android.dx.cf.code.SimException
升级到Android studio 4.1,run失败在项目根目录中的gradle.properties文件中添加:android.enableD8=true
2020-10-23 16:05:09
467
原创 Can't convert to color: type=0x2
java.lang.UnsupportedOperationExceptionCan't convert to color: type=0x2解决方案不支持的操作异常。以下罗列出一些xml抛出该异常的情况:1.Android 4.x及以下的设备使用Android 5.0 以后MD设计引入的colorPrimary等属性造成的异常;2.有些基于Android原生系统再次开发的系...
2020-04-08 14:34:28
967
原创 DSBridge——一套H5代码就能同时与Android和iOS通信
DSBridge 和 WebViewJavascriptBridge相比的主要特点:DSBridge真正跨平台!原版WebViewJavascriptBridge只支持ios,只不过有人在android上也实现了和WebViewJavascriptBridge相同的前端调用协议,所以可以在ios/android上使用同一套js调用协议,但本身来讲,WebViewJavascriptBri...
2020-01-06 16:14:57
1091
原创 flutter_blue 大坑录 #use_frameworks!
While building module 'flutter_blue' imported from /Users/paul/my_app/ios/Runner/GeneratedPluginRegistrant.m:10: In file included from <module-includes>:1: /Users/paul/my_app/build/...
2019-11-05 18:14:06
3432
3
原创 Flutter 常用命令
flutter flutter help flutter doctor flutter doctor -v flutter channel flutter channel stable flutter upgrade flutter package...
2019-06-04 17:56:50
1675
原创 Android Studio实用快捷键汇总
一、代码编写1. Option + ⬆️ / ⬇️ ---------- 扩大缩小选中范围2. Option + Shift + ⬆️ / ⬇️ ---------- 上下移动代码3. Cmd + D---------- 复制当前行到下一行4. Cmd + X---------- 剪切5. Cmd + Delete---------- 删除行6. Cmd + Opti...
2019-05-24 09:26:55
260
原创 Cause: androidx.navigation.safeargs plugin failed.
Cause: androidx.navigation.safeargs plugin failed.Following errors found:/Users/jasonhu/AndroidStudioProjects/TerminalPoststation-And/app/src/main/res/navigation/nav_store_statistic.xml:17:9 (...
2019-05-22 20:13:00
1339
原创 Circular dependency between the following tasks
Circular dependency between the following tasks::app:checkManifestChangesDebug— :app:instantRunMainApkResourcesDebug— :app:transformClassesAndDexWithShrinkResForDebug— :app:transformDexArchiveWith...
2019-04-11 19:48:21
7961
原创 Flutter 图示
指导思想函数式编程响应式框架分层式架构---------------------------------------------------------------------------------------------------------------------------------------DART单线程模型-----------------------...
2019-02-22 20:08:25
222
原创 Flutter 资料
Documentation: https://docs.flutter.io/ Github: https://github.com/flutter/flutter StackOverflow: https://stackoverflow.com/questions/tagged/flutter Gitter: https://gitter.im/flutter/flutter Effec...
2019-02-15 20:42:26
638
原创 A problem occurred evaluating root project ''. > Plugin with id 'com.android.library' not found
17:22:11: Executing task 'assembleRelease'...Executing tasks: [assembleRelease]FAILURE: Build failed with an exception.* Where:Build file '/Users/jasonhu/AndroidStudioProjects/PhoneSDKApp/Phon...
2018-10-11 17:32:38
22523
原创 Program type already present
Q:Program type already present: android.arch.core.util.FunctionMessage{kind=ERROR, text=Program type already present: android.arch.core.util.Function, sources=[Unknown source file], tool name=Optional...
2018-05-28 19:25:15
8448
1
原创 The app.Configuration 'compile' is obsolete and has been replaced with 'implementation'.
For an Android project, the new configurations came with the Android Gradle Plugin 3.0. So unless you are still using the 2.x version of Android Studio / Android Gradle plugin, the use of compile is d...
2018-03-30 13:14:49
29271
原创 Android Studio import Project 的正确姿势
import Project 网络下载的项目经常卡住,常见原因有三个:1、Project自带的gradle与AS当前使用的gradle版本不一致2、Project生成的AS与本机AS版本差别大3、Project所引用的第三方库下载不下来一、针对问题1,修改Project使用本机的gradle版本:1-1、build.gradle// Top-level buil
2018-01-30 22:29:34
11181
原创 【深度学习笔记】(三)Tensorflow on Android
【深度学习笔记】(三)Tensorflow on Android一、准备好Android Studio及预先训练好的模型pb文件二、新建Android项目A并将pb模型放到assets文件夹三、添加libandroid_tensorflow_inference_java.jar到项目A的libs文件夹、添加libtensorflow_inference.so到项目A的libs\armeabi文件夹四
2017-12-05 17:38:30
469
原创 【深度学习笔记】(二)Hello, Tensorflow!
【深度学习笔记】(二)Hello, Tensorflow!一、安装官方安装的方式很多种,本文采用Docker方式。Docker的深入使用文案很长很多,但我们都不需要,我们的主要目的还是Tensorflow,所以只需要基本的使用即可。PS:打开Tensorflow官网是需要翻墙的,所以上面的一些链接不能翻墙的情况下是打不开的,然鹅!Docker不需要翻墙就能打开,所以用Docker来安装Tensorf
2017-11-27 18:50:45
456
原创 【深度学习笔记】(一)Octave
【深度学习笔记】(一)Octave介绍OctaveOctave是一种面向科学数学运算的原型语言,内置了强大的数学函数及图形展示工具。原型prototyping设计的意思是使用ovtave进行算法设计、实现、验证等过程。 推荐Octave快速实现算法原型。安装Octave以mac为例:1、安装Homebrew /usr/bin/ruby -e “$(curl -fsSL https://raw.g
2017-11-07 16:57:36
1314
原创 【python】]SyntaxError: Missing parentheses in call to 'print'
jasondeMacBook-Pro:web.py-0.37 jasonhu$ sudo python3 setup.py installPassword:Traceback (most recent call last): File "setup.py", line 6, in from web import __version__ File "/Users/jasonhu
2017-10-31 17:55:58
727
原创 go开发环境Gogland
1、下载链接: 百度网盘:go1.9.darwin-amd64.pkg 密码: uc9m2、根据安装器提示安装: 3、测试安装结果
2017-10-23 11:16:47
393
原创 EventBus: Could not dispatch event: class com.********.LoginEvent to subscribing class
Could not dispatch event04-18 14:10:11.062 4790-4790/com. E/EventBus: Could not dispatch event: class com..LoginEvent to subscribing class class .**.FragmentMy
2017-04-18 14:29:13
9209
原创 Instant Run is disabled for non-debug variants
Instant Run is disabled for non-debug variantsError running app: Cannot debug application from module app on device huawei-eva_al00-PBV0216708004833. This application does not have the debuggable att
2017-04-07 15:00:58
2488
原创 Android 6.0以下摄像头权限
不可行权限判断API:context.checkCallingPermissioncontext.checkCallingOrSelfPermissioncontext.checkSelfPermissionPermissionChecker.checkSelfPermission使用Camera中的mHasPermissionprivate boolean cameraHasPermission(
2017-03-31 11:37:58
2167
原创 Android 6.0 permission 权限适配
1、获取危险权限列表,每个分组申请其中一个权限即可:bogon:~ hujason$ adb shell pm list permissions -g -dDangerous Permissions:group:com.google.android.gms.permission.CAR_INFORMATION permission:com.google.and
2016-10-12 18:44:58
9620
2
原创 IPA提交APPStore问题记录(二)iOS10
1、上传安装包后提示:此构建无效We have discovered one or more issues with your recent delivery for "米饭公社". To process your delivery, the following issues must be corrected:This app attempts to access privacy
2016-09-18 19:13:05
940
原创 IPA提交APPStore问题记录(一)
1、ERROR ITMS-90032: "Invalid Image Path - No image found at the path referenced under key 'CFBundleIconFiles': '152.png'">在上传IPA、验证资源文件的时候,找不到152.png的icon图标>重新Add File 到工程2、ERROR ITMS-9018
2016-06-21 12:07:33
3228
原创 Android Studio 问题记(一)
1,Error Loading Project: Cannot load module walk解决:close project , import project2,unregistered vcs root detected the directory 解决:add root
2016-06-21 11:57:27
8259
原创 X5、WebViewJavascriptBridge、百度地图网页版 整合注意事项
一 什么是webViewjavascripBridge? WebViewJavascriptBridge是移动UIView和Html交互通信的桥梁,用作者的话来说就是实现java(ios为oc)和js的互相调用的桥梁。替代了WebView的自带的JavascriptInterface的接口,使得我们的开发更加灵活和安全。 WebViewJava
2016-06-16 19:46:56
2440
原创 Execution failed for task ':compileDebugAidl'. java.lang.IllegalStateException: aidl is missing
Execution failed for task ':compileDebugAidl'. java.lang.IllegalStateException: aidl is missing统一所有的module的build tools版本与compile sdk版本
2016-06-13 16:43:35
5982
原创 This can be the result of a merge and the unknown UUID is being discarded.
pod install --verbose出行的问题:[!] `` attempted to initialize an object with an unknown UUID. `46E6C1FD1CEC5B8400E4281E` for attribute: `children`. This can be the result of a merge and the unk
2016-06-02 12:55:22
3147
原创 Unable to find the Xcode project `.xcodeproj` for the target `Pods`
[!] Unable to find the Xcode project `/Users/hujason/Documents/ios/IosWalk/path/to/.xcodeproj` for the target `Pods`.platform:ios,'7.0'pod 'JTCalendar', '~> 2.0'pod 'Toast', '~> 3.0'
2016-04-20 17:00:38
5299
原创 AAPT err(Facade for ): libpng error: Not a PNG file
拓展名改为jpeg即可。WeChatSDK_sample_Android
2016-03-23 11:38:41
5977
原创 ActivityNotFoundException: Unable to find explicit activity class
08-26 10:28:32.383: E/AndroidRuntime(11988): FATAL EXCEPTION: main08-26 10:28:32.383: E/AndroidRuntime(11988): Process: cn.com.vargo.ivargosetupwizard, PID: 1198808-26 10:28:32.383: E/AndroidRunti
2014-08-26 16:05:30
3160
取色工具 android ui color
2012-05-11
开启eclipse代码提示功能
2012-04-13
ksoap2-android-assembly-2.5.4-jar-with-dependencies
2012-03-29
android自动化测试资料
2012-01-11
android感应器开发之加速度、方向传感器
2011-12-19
Use ContentProvider Get Contacts
2011-10-27
android intent 代码
2011-10-27
Google on the Go Using an Android-Powered Mobile Phone.chm
2011-10-17
Deep Learning Networks for Stock Market Analysis and Prediction
2017-11-10
Dynamic Routing Between Capsules
2017-11-07
ios 7 xcode 5 objective-c
2014-05-22
Cocoa.Programming.for.Mac.OS.X.4th.Edition.pdf+源代码.zip
2014-05-15
Mac OS X背后的故事.pdf
2014-05-15
[Programming.iOS.7(4th,2013.12)].Matt.Neuburg.文字版.pdf
2014-02-10
db4o-8.0-java
2012-05-31
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人